Answer the question
In order to leave comments, you need to log in
Problem with Teamcity + Fabfile + Virtualenv?
The task is simple - create a virtual environment, clone the project from Github, install dependencies from req.txt and test the project.
The fabfile.py contains commands for creating a virtual environment, as well as installing dependencies from the req.txt file. An
environment is created, but it is not possible to install dependencies in a specific environment, they are installed in the global environment. I can't activate the environment, the source command does not work in the sh interpreter, and no matter how hard I try to indicate that I want to use the bash interpreter, this does not help.
How to work with source and activate (virtualenv) in sh?
Answer the question
In order to leave comments, you need to log in
In extreme cases, you can do it without activate:
virtualevn -p python2.7 path/to/your/env
path/to/your/env/bin/pip install -r req.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question