Skip to content

Instantly share code, notes, and snippets.

@fj
Created September 3, 2013 18:36
Show Gist options
  • Save fj/6427816 to your computer and use it in GitHub Desktop.
Save fj/6427816 to your computer and use it in GitHub Desktop.
Bug in dotcloud client installation under Python 3.3
╭── jxf@tesseract · 2013-09-03 · 14:32:50
│ ‹ruby:2.0.0-p247@web-scaffold›
│ ‹virtualenv:dotcloud›
│ /home/jxf/src/projects
╰─▶ ψ pip install dotcloud
Downloading/unpacking dotcloud
Downloading dotcloud-0.9.5.tar.gz
Running setup.py egg_info for package dotcloud
Downloading/unpacking argparse (from dotcloud)
You are installing an externally hosted file. Future versions of pip will default to disallowing externally hosted files.
Downloading argparse-1.2.1.tar.gz (69kB): 69kB downloaded
Running setup.py egg_info for package argparse
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.orig' found anywhere in distribution
warning: no previously-included files matching '*.rej' found anywhere in distribution
no previously-included directories found matching 'doc/_build'
no previously-included directories found matching 'env24'
no previously-included directories found matching 'env25'
no previously-included directories found matching 'env26'
no previously-included directories found matching 'env27'
Downloading/unpacking requests==0.14.2 (from dotcloud)
Downloading requests-0.14.2.tar.gz (361kB): 361kB downloaded
Running setup.py egg_info for package requests
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/home/jxf/.python-virtualenvs/dotcloud/build/requests/setup.py", line 6, in <module>
import requests
File "./requests/__init__.py", line 52, in <module>
from . import utils
File "./requests/utils.py", line 22, in <module>
from .compat import parse_http_list as _parse_list_header
File "./requests/compat.py", line 112, in <module>
from .packages import chardet2 as chardet
ImportError: cannot import name chardet2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/home/jxf/.python-virtualenvs/dotcloud/build/requests/setup.py", line 6, in <module>
import requests
File "./requests/__init__.py", line 52, in <module>
from . import utils
File "./requests/utils.py", line 22, in <module>
from .compat import parse_http_list as _parse_list_header
File "./requests/compat.py", line 112, in <module>
from .packages import chardet2 as chardet
ImportError: cannot import name chardet2
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/jxf/.python-virtualenvs/dotcloud/build/requests
Storing complete log in /home/jxf/.pip/pip.log
╭── jxf@tesseract · 2013-09-03 · 14:32:58
│ ‹ruby:2.0.0-p247@web-scaffold›
│ ‹virtualenv:dotcloud›
│ /home/jxf/src/projects
╰─▶ ψ which pip
/home/jxf/.python-virtualenvs/dotcloud/bin/pip
╭── jxf@tesseract · 2013-09-03 · 14:33:05
│ ‹ruby:2.0.0-p247@web-scaffold›
│ ‹virtualenv:dotcloud›
│ /home/jxf/src/projects
╰─▶ ψ python --version
Python 3.3.1
╭── jxf@tesseract · 2013-09-03 · 14:36:06
│ ‹ruby:2.0.0-p247@web-scaffold›
│ ‹virtualenv:dotcloud›
│ /home/jxf/src/projects
╰─▶ ψ which python
/home/jxf/.python-virtualenvs/dotcloud/bin/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment