Closed aamorel closed 2 years ago
The issue is here:
cd /data/aamorel/Eigen3ToPython/build && /usr/bin/cmake -E chdir /data/aamorel/Eigen3ToPython/build/python/RelWithDebInfo python -m pip install . --upgrade
/usr/bin/python: No module named pip
It seems that for some reason you do not have python's pip
installed (python3 -m pip -V
). This is surprising as the script normally tries to install it. Could you try:
sudo apt install python3-pip
Then make sure pip
was properly installed and relaunch the ./build_and_install.sh
script.
I think the problem is that I have both Python 2.7 and Python 3.8 installed.
python -m pip /usr/bin/python: No module named pip
python3 -m pip -V pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
What would be the right way to tell the install to use python3 instead of python ? Can I specify Python's path ? It way be the option _PYTHON_FORCEPYTHON3 but I wan't to be sure.
Thank you for your fast response
Yes, if you set
PYTHON_FORCE_PYTHON2="false"
PYTHON_FORCE_PYTHON3="true"
PYTHON_BUILD_PYTHON2_AND_PYTHON3="false"
This will force the script to use python3 only.
Thank you, installation was a success !
I have a problem when building from source when using the _build_and_install_defaultconfig.sh.
My system
Script output
build_and_install_warnings-2022-06-29-11-21-35.log
Please tell me if you need any further information, Thank you for your help