You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
many of our machines still run on SL7 and since Python 3.6 reached is end, we want to move to a conda environment.
Besides our necessary packages I created an environment with pugixml and boost installed.
My config:
The compilation works, but when I want to install the Python bindings it fails.
Command:
make install prefix=$CONDA_PREFIX
Output:
# Change into rpm/pkg to finally run the customized setup.py
if [ -f setup.cfg ]; then cp setup.cfg /root/ipbus-software/uhal/pycohal/rpm/RPMBUILD/ ; fi
cd /root/ipbus-software/uhal/pycohal/rpm/RPMBUILD && \
bindir=/usr/local/envs/py38/bin python cactuscore-uhal-pycohal.py install --prefix=/usr/local/envs/py38 --exec-prefix=/usr/local/envs/py38
running install
running bdist_egg
/usr/local/envs/py38/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/local/envs/py38/lib/python3.8/site-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
error: error in 'egg_base' option: '' does not exist or is not a directory
make[2]: *** [install] Error 1
Sadly no. I gave up at some point. For Python 3.6 I compiled it with the system Python binary and its libraries and copied it afterwards into the conda environment. This is definitely not a nice solution, but it worked so far without problems.
Hi,
many of our machines still run on SL7 and since Python 3.6 reached is end, we want to move to a conda environment.
Besides our necessary packages I created an environment with
pugixml
andboost
installed.My config:
The compilation works, but when I want to install the Python bindings it fails.
Command:
Output:
I am not experienced with pip. Anyone an idea how to proper install the Python bindings. Am I maybe missing some argument?
I was following https://ipbus.web.cern.ch/doc/user/html/software/install/compile.html
PS: Using version 2.7.9
The text was updated successfully, but these errors were encountered: