I have a Raspbery Pi that I upgraded to Python 3.3.3 by doing the following:
sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev wget http://www.python.org/ftp/python/3.3.3/Python-3.3.3.tar.bz2 tar jxf ./Python-3.3.3.tar.bz2 cd ./Python-3.3.3 ./configure
But after execution: virtualenv -p /opt/python3.3.3/bin/python3.3 python3.3.3
I get this error message:
Running virtualenv with interpreter /opt/python3.3.3/bin/python3.3 Using base prefix '/opt/python3.3.3' New python executable in python3.3.3/bin/python3.3 Also creating executable in python3.3.3/bin/python Installing setuptools, pip... Complete output from command /home/pi/venv/python3.3.3/bin/python3.3 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.2/dist-packages/virtualenv_support/pip-1.5.1-py2.py3-none-any.whl/pip/__init__.py", line 10, in <module> File "/usr/local/lib/python3.2/dist-packages/virtualenv_support/pip-1.5.1-py2.py3-none-any.whl/pip/util.py", line 18, in <module> File "/usr/local/lib/python3.2/dist-packages/virtualenv_support/pip-1.5.1-py2.py3-none-any.whl/pip/_vendor/distlib/version.py", line 14, in <module> File "/usr/local/lib/python3.2/dist-packages/virtualenv_support/pip-1.5.1-py2.py3-none-any.whl/pip/_vendor/distlib/compat.py", line 66, in <module> ImportError: cannot import name HTTPSHandler
source share