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...
Exception:
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
    req_to_install.run_egg_info()
  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
    db.read_windows_registry()
  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)
kisjanos91
 
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?
Join the #python-forum IRC channel on irc.freenode.net!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
micseydel
 
Posts: 1260
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 3 guests