[Numpy-discussion] new mingw-w64 based numpy and scipy wheel (still experimental)
cjw
cjw at ncf.ca
Sun Jan 25 06:39:09 EST 2015
On 24-Jan-15 12:14 PM, Carl Kleffner wrote:
> Just a wild guess:
>
> (1) update your pip and try again
Thanks. My pip version was 1,5,6, it is now 6.0.6
>
> (2) use the bitbucket wheels with:
> pip install --no-index -f
> https://bitbucket.org/carlkl/mingw-w64-for-python/downloads numpy
Successfully installed numpy-1.9.1
> pip install --no-index -f
> https://bitbucket.org/carlkl/mingw-w64-for-python/downloads scipy
Successfully installed scipy-0.15.1
>
> (3) check if there i something left in site-packages\numpy in the case you
> have uninstalled another numpy distribution before.
Could you be more specific please?
C:\Python27\Lib\site-packages>python
Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit
(AMD64)] on win32
C:\Python27\Lib>cd site-packages
C:\Python27\Lib\site-packages> dir
Volume in drive C has no label.
Volume Serial Number is 9691-2C8F
Directory of C:\Python27\Lib\site-packages
25-Jan-15 06:11 AM <DIR> .
25-Jan-15 06:11 AM <DIR> ..
26-Nov-14 06:30 PM 909 apsw-3.8.7-py2.7.egg-info
26-Nov-14 06:30 PM 990,208 apsw.pyd
11-Dec-14 06:35 PM <DIR> astroid
11-Dec-14 06:35 PM <DIR> astroid-1.3.2.dist-info
11-Dec-14 06:35 PM <DIR> colorama
11-Dec-14 06:35 PM <DIR> colorama-0.3.2-py2.7.egg-info
09-Sep-14 09:38 AM <DIR> dateutil
29-Dec-14 10:16 PM 126 easy_install.py
29-Dec-14 10:16 PM 343 easy_install.pyc
27-Dec-14 09:18 AM <DIR> epydoc
21-Jan-13 03:19 PM 297 epydoc-3.0.1-py2.7.egg-info
11-Dec-14 06:35 PM <DIR> logilab
11-Dec-14 06:35 PM 309 logilab_common-0.63.2-py2.7-nspkg.pth
11-Dec-14 06:35 PM <DIR> logilab_common-0.63.2-py2.7.egg-info
16-Nov-14 04:02 PM <DIR> matplotlib
22-Oct-14 03:11 PM 324 matplotlib-1.4.2-py2.7-nspkg.pth
16-Nov-14 04:02 PM <DIR> matplotlib-1.4.2-py2.7.egg-info
16-Nov-14 04:02 PM <DIR> mpl_toolkits
25-Jan-15 06:07 AM <DIR> numpy
25-Jan-15 06:07 AM <DIR> numpy-1.9.1.dist-info
25-Jan-15 06:01 AM <DIR> pip
25-Jan-15 06:01 AM <DIR> pip-6.0.6.dist-info
29-Dec-14 10:16 PM 101,530 pkg_resources.py
29-Dec-14 10:16 PM 115,360 pkg_resources.pyc
10-Sep-14 12:30 PM <DIR> pycparser
10-Sep-14 12:30 PM <DIR> pycparser-2.10-py2.7.egg-info
16-Dec-14 08:21 AM <DIR> pygame
25-Mar-14 11:03 AM 543 pygame-1.9.2a0-py2.7.egg-info
24-Nov-14 06:55 AM <DIR> pygit2
24-Nov-14 06:55 AM <DIR> pygit2-0.21.3-py2.7.egg-info
26-Mar-14 01:23 PM 90 pylab.py
16-Nov-14 04:02 PM 237 pylab.pyc
16-Nov-14 04:02 PM 237 pylab.pyo
11-Dec-14 06:35 PM <DIR> pylint
11-Dec-14 06:35 PM <DIR> pylint-1.4.0.dist-info
11-Sep-14 08:26 PM <DIR> pyparsing-2.0.2-py2.7.egg-info
24-Nov-14 06:27 AM 157,300 pyparsing.py
30-Nov-14 08:51 AM 154,996 pyparsing.pyc
09-Sep-14 09:38 AM <DIR> python_dateutil-2.2-py2.7.egg-info
09-Sep-14 10:03 AM <DIR> pytz
09-Sep-14 10:03 AM <DIR> pytz-2014.7-py2.7.egg-info
30-Apr-14 08:54 AM 119 README.txt
25-Jan-15 06:11 AM <DIR> scipy
25-Jan-15 06:11 AM <DIR> scipy-0.15.1.dist-info
29-Dec-14 10:16 PM <DIR> setuptools
29-Dec-14 10:16 PM <DIR> setuptools-7.0.dist-info
09-Sep-14 09:50 AM <DIR> six-1.7.3.dist-info
09-Sep-14 09:50 AM 26,518 six.py
09-Sep-14 09:50 AM 28,288 six.pyc
21-Dec-14 07:56 PM <DIR> System
21-Dec-14 07:55 PM <DIR> User
21-Sep-14 06:00 PM 878,592 _cffi__xf1819144xd61e91d9.pyd
29-Dec-14 10:16 PM <DIR> _markerlib
21-Sep-14 06:00 PM 890,368 _pygit2.pyd
20 File(s) 3,346,694 bytes
36 Dir(s) 9,810,276,352 bytes free
C:\Python27\Lib\site-packages>
> I tried and failed, even after adding --pre.
>
> My log file is here:
>
> ------------------------------------------------------------
> C:\Python27\Scripts\pip run on 01/24/15 07:51:10
> Downloading/unpacking https://pypi.binstar.org/carlkl/simple
> Downloading simple
> Downloading from URL https://pypi.binstar.org/carlkl/simple
> Cleaning up...
> Exception:
> Traceback (most recent call last):
> File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in
> main
> status = self.run(options, args)
> File "C:\Python27\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 "C:\Python27\lib\site-packages\pip\req.py", line 1197, in
> prepare_files
> do_download,
> File "C:\Python27\lib\site-packages\pip\req.py", line 1375, in
> unpack_url
> self.session,
> File "C:\Python27\lib\site-packages\pip\download.py", line 582, in
> unpack_http_url
> unpack_file(temp_location, location, content_type, link)
> File "C:\Python27\lib\site-packages\pip\util.py", line 627, in
> unpack_file
> and is_svn_page(file_contents(filename))):
> File "C:\Python27\lib\site-packages\pip\util.py", line 210, in
> file_contents
> return fp.read().decode('utf-8')
> File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
> return codecs.utf_8_decode(input, errors, True)
> UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1:
> invalid start byte
>
> Do you have any suggestions?
>
> Colin W.
>
More information about the NumPy-Discussion
mailing list