You need to specify the protobuf version that will work with yours setup.py
on the list install_requires=['protobuf>=2.5.0']
. With the Python package, you can only put the name or exact versions that will be run along with the package using ==
. I believe that you can also specify !=
for certain versions.
setup.py
, virtualenv install_requires.txt
python .
:
$ cd ../project
$ virtualenv project_venv
$ source project_venv/bin/activate
$ cd project
$ pip install protobuf>=2.5.0
$ pip freeze > ./requirements.txt
-, , virtualenv :
$ pip install -r requirements.txt
, virtualenv, . setup.py. , , sudo python setup.py install
python setup.py install
.
virtualenv :
$ deactivate