Python2 virtualenv not available?
Hello,
I'm trying to add a Python step and trying to use virtualenv with python2. Whenever I run I get the following:
20:13:56 Create Virtualenv environment
20:13:56 /usr/bin/python2 -m virtualenv .venv
20:13:56 /usr/bin/python2: No module named virtualenv
20:13:56 Process failed with code 1
Why is the module not available for python2?
Please sign in to leave a comment.
Could you please let me know if you have the module available locally on the agent? If you log into the agent machine under the same identity as the one used by agent process and try to run "python2 -m virtualenv", would it be able to locate the module?
I see that there is a relevant task to create agent requirements for the environment tools - https://youtrack.jetbrains.com/issue/TW-68694/Python-generate-an-agent-requirement-for-environment-tools (ideally, the build should not have started if virtualenv is missing on your build agents). Please consider voting or commenting on it as you see fit; I have also linked your inquiry there.