Home > other >  With Python2.7 and Python3.4., installing third-party libraries will be installed where?
With Python2.7 and Python3.4., installing third-party libraries will be installed where?

Time:10-08

I bought a raspberry pie, is filled with debian, inside with Python2.7 and 3.4 two versions, I use sudo apt - get the install python installed - qrcode qrcode library, installed in the 2.7, 3.4 installation, how to install into the 3.4?
With PIP install qrcode and pip3 install were tried, qrcode error, can't,

CodePudding user response:

Separate download 3.4 package, and then use Python3, 4 installation

CodePudding user response:

Debian can use pip3 installation, debian generally provide python2.7 and python3 at the same time, and then pip3 is used to hold python3 library,

CodePudding user response:

Of course pip3 error can be installed in a local binary wheel version,

CodePudding user response:

Download the wheel bag, then could PIP install line?

CodePudding user response:

Suggest you use the visual stdio built-in python tool, through the integration of python environment installation inside need package, these third-party packages directory is c:/progam files (x86)/Microsoft visual studio/Shared/python3.6/libs/site - in the package

CodePudding user response:

Sys. The path, and the returned result is module installation path, reference - module path
If you want to install multiple versions exist together, can use virtualenv this sandbox mechanism, reference - virtualenv

CodePudding user response:

Respectively in the following two path
C: \ Python27 \ Lib \ site - packages
C: \ Python34 \ Lib \ site - packages

CodePudding user response:

https://blog.csdn.net/qq_40260867/article/details/84062299
Python3.6.4 compatible with Arcgis bringing Python2.7.3 environment configuration problems - 2. X and 3 x in common use
  • Related