Closed milosmalik closed 2 years ago
Following command solves the problem: mkdir -p /usr/local/lib/python3.6/site-packages
It may not be obvious from the documentation that some udica files are installed under /usr/share/udica and some are installed under /usr/local/lib. One location only would be great.
tested on RHEL-8.0
@milosmalik I'm having similar issues with both RHEL 8.0 and the UBI (Unified Based Image). Is there another workaround other than the creation of that directory? Seems to me like it's be something that should be fixed in the distro. Have you reported it there?
I just created again my site packages folder and it worked fine on MacOS:
mkdir site-packages
@milosmalik , Could you please take a look on comment by @JAORMX ?
Thanks, Lukas.
@milosmalik I'm having similar issues with both RHEL 8.0 and the UBI (Unified Based Image). Is there another workaround other than the creation of that directory? Seems to me like it's be something that should be fixed in the distro. Have you reported it there?
I'm sorry for the late reply. No, I didn't report it because the problem did not appear on RHEL-8.1 (I used the udica package which is shipped with the distribution).
Just did an install by building the container to verify and using setup.py does install to /usr/local/lib
by default when installing directly on the system.
Looks like a bug in setuptools that has been addressed by this PR: https://src.fedoraproject.org/rpms/python-setuptools/pull-request/5
Closing since this should be fixed now (by setuptools).
Describe the bug First run of setup.py leads to:
python3 ./setup.py install
running install error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the installation directory:
The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:
This directory does not currently exist. Please create it and try again, or choose a different installation directory (using the -d or --install-dir option).
Expected behavior The documentation should recommend to create the directory, because it may not exist.