1,import setuptools ImportError: No module named setuptools
2,distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr')
解决: wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install pbr
3 又会这样
在response时,无法返回,报错Can’t connect to HTTPS URL because the SSL module is not available
解决办法:
sudo apt-get install libssl-dev
sudo apt-get install openssl
进入到安装的python的目录下
./configure --enable-shared --enable-loadable-sqlite-extensions
sudo make
sudo make install