Pip install error

A forum for general discussion of the Python programming language.

Pip install error

Postby kisjanos91 » Tue Aug 05, 2014 2:28 pm

I'm trying to install a package with pip on windows but I get this error:

Code: Select all
D:\anaconda\Scripts\pip run on 08/05/14 17:21:04
Downloading/unpacking cvxopt
  Getting page https://pypi.python.org/simple/cvxopt/
  URLs to search for versions for cvxopt:
  * https://pypi.python.org/simple/cvxopt/
  Analyzing links from page https://pypi.python.org/simple/cvxopt/
    Found link https://pypi.python.org/packages/source/c/cvxopt/cvxopt-1.1.6.tar.gz#md5=190ff21beba1c27eb6a9673cfc2ba1a3 (from https://pypi.python.org/simple/cvxopt/), version: 1.1.6
    Found link https://pypi.python.org/packages/source/c/cvxopt/cvxopt-1.1.7.tar.gz#md5=5b80f5382bb638e606e486ee39bc93b4 (from https://pypi.python.org/simple/cvxopt/), version: 1.1.7
  Using version 1.1.7 (newest of versions: 1.1.7, 1.1.6)
  Downloading from URL https://pypi.python.org/packages/source/c/cvxopt/cvxopt-1.1.7.tar.gz#md5=5b80f5382bb638e606e486ee39bc93b4 (from https://pypi.python.org/simple/cvxopt/)
Cleaning up...
  Removing temporary dir c:\docume~1\csongi\locals~1\temp\pip_build_csongi...
Traceback (most recent call last):
  File "D:\anaconda\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "D:\anaconda\lib\site-packages\pip\commands\install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "D:\anaconda\lib\site-packages\pip\req.py", line 1229, in prepare_files
  File "D:\anaconda\lib\site-packages\pip\req.py", line 292, in run_egg_info
    logger.notify('Running setup.py (path:%s) egg_info for package %s' % (self.setup_py, self.name))
  File "D:\anaconda\lib\site-packages\pip\req.py", line 265, in setup_py
    import setuptools
  File "d:\anaconda\lib\site-packages\setuptools-2.2-py2.7.egg\setuptools\__init__.py", line 11, in <module>
    from setuptools.extension import Extension
  File "d:\anaconda\lib\site-packages\setuptools-2.2-py2.7.egg\setuptools\extension.py", line 5, in <module>
  File "d:\anaconda\lib\site-packages\setuptools-2.2-py2.7.egg\setuptools\dist.py", line 15, in <module>
  File "d:\anaconda\lib\site-packages\setuptools-2.2-py2.7.egg\setuptools\compat.py", line 19, in <module>
  File "D:\anaconda\lib\SimpleHTTPServer.py", line 27, in <module>
    class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
  File "D:\anaconda\lib\SimpleHTTPServer.py", line 208, in SimpleHTTPRequestHandler
    mimetypes.init() # try to read system mime.types
  File "D:\anaconda\lib\mimetypes.py", line 358, in init
  File "D:\anaconda\lib\mimetypes.py", line 258, in read_windows_registry
    for subkeyname in enum_types(hkcr):
  File "D:\anaconda\lib\mimetypes.py", line 249, in enum_types
    ctype = ctype.encode(default_encoding) # omit in 3.x!
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd6 in position 9: ordinal not in range(128)
Posts: 1
Joined: Tue Aug 05, 2014 2:23 pm

Re: Pip install error

Postby micseydel » Tue Aug 05, 2014 6:09 pm

What did you do to generate this error?
Due to the reasons discussed here we will be moving to python-forum.io on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
Posts: 3000
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 7 guests