Now when PyPi has disabled XMLRPC, is there another way to install python packages?

Hi,

We are trying to use python scripts in our dev xwiki. But we try to use the python packet requests and now when PyPi has disabled the XMLRPC search we don’t have any way of “installing it in our wiki” » https://status.python.org/

I tried to read up on how to do this manually » Python Macro (XWiki.org)

But I can’t really understand the:

Once you have the proper location, you can install your libraries through your normal means (pip, dnf, apt-get, etc), and copy the library to the classpath/pyclasspath locations respectively. After installation, a restart is required to load the new library/libraries .

If this is my classpath?
['/usr/lib/xwiki/WEB-INF/lib/Lib', '/usr/lib/xwiki/WEB-INF/lib/jython-slim-2.7.2.jar/Lib', '<ins>classpath</ins>', '<ins>pyclasspath</ins>/']

Do I copy the the manually pip’ed library to where?


Regars Falk

It’s not very clear to me what you are referring to. Is it https://extensions.xwiki.org/xwiki/bin/edit/Extension/Extension%20Repository%20Connector%20-%20Pypi/WebHome ?

Note that a growing problem with Python in XWiki is that Python support is based on Jython (Java implementation of Python) and Jython support of Python does not go higher than 2.7 currently, unfortunately.