When I install this package with yay, the papis
module is installed into /usr/lib/python3.7/site-packages/papis
. I have python 3.8 installed though.
Oddly, all dependencies are installed into /usr/lib/python3.8/site-packages/
. My /usr/lib/python3.7/site-packages
folder only contains papis
and papis-0.9-py3.7.egg-info
after install.
Of course this leads to the following error:
The 'papis==0.9' distribution was not found and is required by the application
When I manually copy both dirs (papis
and papis-0.9-py3.7.egg-info
) from /usr/lib/python3.7/site-packages
to /usr/lib/python3.8/site-packages
, papis works as expected.
I cloned the official papis github repos to test installing papis from source into user space using the following command derived from the PKGBUILD
file: python setup.py build && python setup.py install --user --optimize=1 --skip-build
. The papis
module will be installed in .local/lib/python3.8/site-packages
.
Since it never happens with installation through pip
or setuptools
, I assume there is something wrong with this package. My apologies in advance if I am wrong.
Pinned Comments