linux - specify python instance to use with sudo apt-get -
I was trying to get foreign, so I did it from the command line
sudo apt - Install next DPKG-Dev developer build-required - When it was finished, it was prompt
encountered errors during processing Had to do: Python-setuptools E: Sub-process / USR / bin / DPKG did an error code (1) as the first reaction I did Check the system version of
(me): ~ $ python --version Python 2.5.2 I have a virtual environment that is 2.7.5 Running is more likely to work, but this is sudo apt-get ? It is possible to specify this version of Python to be used when running
You can first try to use env while trying apt-get to change your path variable to find the version of the virtual environment of Python: Click on sudo env PATH = / path / in / virtual / Python / binary: $ PATH-appropriate
Comments
Post a Comment