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
The issue that I'm having is that building a component that uses catkin-virtualenv twice with some Python dependencies getting changed dies with this error:
I've traced it down to catkin-virtualenv installing pip into the venv that it creates.
However, the version of that pip is different from the system pip.
Which means that when I try to build again, and catkin tried to install the deps into the virtual environment, it calls pip which is a hybrid of two pip versions, and they don't agree on pyopenssl (I think), leading to this traceback from crypto.
This begs the question though...
Why install pip into the generated venv?
What is the rationale for that?
The text was updated successfully, but these errors were encountered:
This is the default functionality of Python's venv module, as described in the docs. I believe the main reason for this is to further decouple the virtual environment from the rest of your system. There might be other technical reasons which I yet don't understand, such as it perhaps being difficult to enforce pip to work on the active venv in a platform-agnostic way. I was also curious about this, so I posted Why is pip installed in virtual environments by default? on Stackoverflow.
The issue that I'm having is that building a component that uses catkin-virtualenv twice with some Python dependencies getting changed dies with this error:
I've traced it down to catkin-virtualenv installing
pip
into thevenv
that it creates.However, the version of that pip is different from the system pip.
Which means that when I try to build again, and catkin tried to install the deps into the virtual environment, it calls
pip
which is a hybrid of two pip versions, and they don't agree onpyopenssl
(I think), leading to this traceback fromcrypto
.This begs the question though...
Why install
pip
into the generatedvenv
?What is the rationale for that?
The text was updated successfully, but these errors were encountered: