1.4 install on Windows 8.1 with pip gives bad hash

Just FYI,

I tried to install with pip but got the following error.

C:\Python34\Scripts>pip install -U matplotlib
Downloading/unpacking matplotlib
   Hash of the package https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.0.tar.gz#md5=1daf7f2123d94745f
eac1a30b210940c (from https://pypi.python.org/simple/matplotlib/) (b3547692387bce383d7a001a8e03ce87) doesn't match the e
xpected hash 1daf7f2123d94745feac1a30b210940c!
Cleaning up...

Werner

P.S.
I installed using the .exe installer without problems.

Is the hash it reports reproducible? My first guess at what is going
on here is that the hash is doing it's job correctly and reporting
that your file became corupted during download. Try again at it
should work.

Tom

···

On Wed, Aug 27, 2014 at 5:55 AM, Werner <wernerfbd@...3687...> wrote:

Just FYI,

I tried to install with pip but got the following error.

C:\Python34\Scripts>pip install -U matplotlib
Downloading/unpacking matplotlib
   Hash of the package
https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.0.tar.gz#md5=1daf7f2123d94745f
eac1a30b210940c (from Links for matplotlib)
(b3547692387bce383d7a001a8e03ce87) doesn't match the e
xpected hash 1daf7f2123d94745feac1a30b210940c!
Cleaning up...

Werner

P.S.
I installed using the .exe installer without problems.

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Thomas Caswell
tcaswell@...287...

Somewhat related to this: are the Windows and Mac wheels going to be uploaded to PyPI so pip doesn't try to install/build from the source distribution by default?

Christoph

···

On 8/27/2014 5:33 AM, Thomas Caswell wrote:

Is the hash it reports reproducible? My first guess at what is going
on here is that the hash is doing it's job correctly and reporting
that your file became corupted during download. Try again at it
should work.

Tom

On Wed, Aug 27, 2014 at 5:55 AM, Werner <wernerfbd@...3687...> wrote:

Just FYI,

I tried to install with pip but got the following error.

C:\Python34\Scripts>pip install -U matplotlib
Downloading/unpacking matplotlib
    Hash of the package
https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.0.tar.gz#md5=1daf7f2123d94745f
eac1a30b210940c (from Links for matplotlib)
(b3547692387bce383d7a001a8e03ce87) doesn't match the e
xpected hash 1daf7f2123d94745feac1a30b210940c!
Cleaning up...

Werner

P.S.
I installed using the .exe installer without problems.

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Didn't know you could do that....

I have (I think) uploaded all of the wheels we have to pypi. I don't
have a windows or mac machine to test on, can anyone provide feed back
if it worked as intended?

Tom

···

On Wed, Aug 27, 2014 at 12:20 PM, Christoph Gohlke <cgohlke@...2143...> wrote:

Somewhat related to this: are the Windows and Mac wheels going to be
uploaded to PyPI so pip doesn't try to install/build from the source
distribution by default?

Christoph

On 8/27/2014 5:33 AM, Thomas Caswell wrote:

Is the hash it reports reproducible? My first guess at what is going
on here is that the hash is doing it's job correctly and reporting
that your file became corupted during download. Try again at it
should work.

Tom

On Wed, Aug 27, 2014 at 5:55 AM, Werner <wernerfbd@...3687...> wrote:

Just FYI,

I tried to install with pip but got the following error.

C:\Python34\Scripts>pip install -U matplotlib
Downloading/unpacking matplotlib
    Hash of the package
https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.0.tar.gz#md5=1daf7f2123d94745f
eac1a30b210940c (from Links for matplotlib)
(b3547692387bce383d7a001a8e03ce87) doesn't match the e
xpected hash 1daf7f2123d94745feac1a30b210940c!
Cleaning up...

Werner

P.S.
I installed using the .exe installer without problems.

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Thomas Caswell
tcaswell@...287...

Thank you. Works for me as expected: `pip install matplotlib` installed matplotlib, pyparsing, python-dateutil, and six. Since numpy is not (yet) available as wheels on PyPI it needs to be installed before by other means or built from source by pip.

Christoph

···

On 8/27/2014 10:55 AM, Thomas Caswell wrote:

Didn't know you could do that....

I have (I think) uploaded all of the wheels we have to pypi. I don't
have a windows or mac machine to test on, can anyone provide feed back
if it worked as intended?

Tom

On Wed, Aug 27, 2014 at 12:20 PM, Christoph Gohlke <cgohlke@...2143...> wrote:

Somewhat related to this: are the Windows and Mac wheels going to be
uploaded to PyPI so pip doesn't try to install/build from the source
distribution by default?

Christoph

On 8/27/2014 5:33 AM, Thomas Caswell wrote:

Is the hash it reports reproducible? My first guess at what is going
on here is that the hash is doing it's job correctly and reporting
that your file became corupted during download. Try again at it
should work.

Tom

On Wed, Aug 27, 2014 at 5:55 AM, Werner <wernerfbd@...3687...> wrote:

Just FYI,

I tried to install with pip but got the following error.

C:\Python34\Scripts>pip install -U matplotlib
Downloading/unpacking matplotlib
     Hash of the package
https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.0.tar.gz#md5=1daf7f2123d94745f
eac1a30b210940c (from Links for matplotlib)
(b3547692387bce383d7a001a8e03ce87) doesn't match the e
xpected hash 1daf7f2123d94745feac1a30b210940c!
Cleaning up...

Werner

P.S.
I installed using the .exe installer without problems.

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Dear all,

It seems that installing basemap through
pip install basemap --allow-external basemap --allow-unverified basemap
fails with Matplotlib 1.4, both on Python 2.7 and 3.4. This used to work
without problems.
I attached the Python 2.7 and 3.4 tracebacks below.
Does anybody have an idea on how to fix this?

Operating system: Ubuntu 14.04, 64 bit.

Cheers,
Remo

Python 3 error:

Cleaning up...
  Removing temporary dir /home/rg/venv_all_py3/build...
Command /home/rg/venv_all_py3/bin/python3 -c "import setuptools,
tokenize;__file__='/home/rg/venv_all_py3/build/basemap/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-9ae5z_xw-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/rg/venv_all_py3/include/site/python3.4 failed with error code 1 in
/home/rg/venv_all_py3/build/basemap
Exception information:
Traceback (most recent call last):
  File
"/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/basecommand.py",
line 122, in main
    status = self.run(options, args)
  File
"/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/commands/install.py",
line 283, in run
    requirement_set.install(install_options, global_options,
root=options.root_path)
  File "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/req.py",
line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/req.py",
line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install,
show_stdout=False)
  File "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/util.py",
line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command
/home/rg/venv_all_py3/bin/python3 -c "import setuptools,
tokenize;__file__='/home/rg/venv_all_py3/build/basemap/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-9ae5z_xw-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/rg/venv_all_py3/include/site/python3.4 failed with error code 1 in
/home/rg/venv_all_py3/build/basemap

Python 2.7 error:

Cleaning up...
Command /home/rg/venv_all/bin/python -c "import setuptools,
tokenize;__file__='/home/rg/venv_all/build/basemap/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-gtWsT6-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/home/rg/venv_all/include/site/python2.7 failed with error code 1 in
/home/rg/venv_all/build/basemap
Traceback (most recent call last):
  File "/home/rg/venv_all/bin/pip", line 11, in <module>
    sys.exit(main())
  File
"/home/rg/venv_all/local/lib/python2.7/site-packages/pip/__init__.py",
line 185, in main
    return command.main(cmd_args)
  File
"/home/rg/venv_all/local/lib/python2.7/site-packages/pip/basecommand.py", line
161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 59:
ordinal not in range(128)

This doesn’t “feel” like a basemap/matplotlib problem. Something seems very wrong with your environment. You aren’t having any problems with installing/upgrading other packages the same way?

Could you try a fresh virtual environment, perhaps?

Ben Root

···

On Sat, Aug 30, 2014 at 8:48 AM, Remo Goetschi <surf@…878…4504…> wrote:

Dear all,

It seems that installing basemap through

pip install basemap --allow-external basemap --allow-unverified basemap

fails with Matplotlib 1.4, both on Python 2.7 and 3.4. This used to work

without problems.

I attached the Python 2.7 and 3.4 tracebacks below.

Does anybody have an idea on how to fix this?

Operating system: Ubuntu 14.04, 64 bit.

Cheers,

Remo

Python 3 error:

Cleaning up…

Removing temporary dir /home/rg/venv_all_py3/build…

Command /home/rg/venv_all_py3/bin/python3 -c "import setuptools,

tokenize;file=‘/home/rg/venv_all_py3/build/basemap/setup.py’;exec(compile(getattr(tokenize,

‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), file,

‘exec’))" install --record /tmp/pip-9ae5z_xw-record/install-record.txt

–single-version-externally-managed --compile --install-headers

/home/rg/venv_all_py3/include/site/python3.4 failed with error code 1 in

/home/rg/venv_all_py3/build/basemap

Exception information:

Traceback (most recent call last):

File

“/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/basecommand.py”,

line 122, in main

status = self.run(options, args)

File

“/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/commands/install.py”,

line 283, in run

requirement_set.install(install_options, global_options,

root=options.root_path)

File “/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/req.py”,

line 1435, in install

requirement.install(install_options, global_options, *args, **kwargs)

File “/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/req.py”,

line 706, in install

cwd=self.source_dir, filter_stdout=self._filter_install,

show_stdout=False)

File “/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/util.py”,

line 697, in call_subprocess

% (command_desc, proc.returncode, cwd))

pip.exceptions.InstallationError: Command

/home/rg/venv_all_py3/bin/python3 -c "import setuptools,

tokenize;file=‘/home/rg/venv_all_py3/build/basemap/setup.py’;exec(compile(getattr(tokenize,

‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), file,

‘exec’))" install --record /tmp/pip-9ae5z_xw-record/install-record.txt

–single-version-externally-managed --compile --install-headers

/home/rg/venv_all_py3/include/site/python3.4 failed with error code 1 in

/home/rg/venv_all_py3/build/basemap

Python 2.7 error:

Cleaning up…

Command /home/rg/venv_all/bin/python -c "import setuptools,

tokenize;file=‘/home/rg/venv_all/build/basemap/setup.py’;exec(compile(getattr(tokenize,

‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), file,

‘exec’))" install --record /tmp/pip-gtWsT6-record/install-record.txt

–single-version-externally-managed --compile --install-headers

/home/rg/venv_all/include/site/python2.7 failed with error code 1 in

/home/rg/venv_all/build/basemap

Traceback (most recent call last):

File “/home/rg/venv_all/bin/pip”, line 11, in

sys.exit(main())

File

“/home/rg/venv_all/local/lib/python2.7/site-packages/pip/init.py”,

line 185, in main

return command.main(cmd_args)

File

“/home/rg/venv_all/local/lib/python2.7/site-packages/pip/basecommand.py”, line

161, in main

text = '\n'.join(complete_log)

UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe2 in position 59:

ordinal not in range(128)


Slashdot TV.

Video for Nerds. Stuff that matters.

http://tv.slashdot.org/


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Thanks for your answer.
I don't have any problems with other packages. It's just basemap. I tried a fresh virtualenv with just numpy, scipy, and matplotlib installed. But the installation of basemap fails.
I also tried with mpl 1.3.1. Same problem.

It may be specific to Ubuntu 14.04. I'll talk to my colleagues who use other OS's.

Remo

···

On 30.08.2014 20:42, Benjamin Root wrote:

This doesn't "feel" like a basemap/matplotlib problem. Something seems
very wrong with your environment. You aren't having any problems with
installing/upgrading other packages the same way?

Could you try a fresh virtual environment, perhaps?

Ben Root

On Sat, Aug 30, 2014 at 8:48 AM, Remo Goetschi <surf@...4504... > <mailto:surf@…4504…>> wrote:

    Dear all,

    It seems that installing basemap through
    pip install basemap --allow-external basemap --allow-unverified basemap
    fails with Matplotlib 1.4, both on Python 2.7 and 3.4. This used to work
    without problems.
    I attached the Python 2.7 and 3.4 tracebacks below.
    Does anybody have an idea on how to fix this?

    Operating system: Ubuntu 14.04, 64 bit.

    Cheers,
    Remo

    Python 3 error:

    Cleaning up...
       Removing temporary dir /home/rg/venv_all_py3/build...
    Command /home/rg/venv_all_py3/bin/python3 -c "import setuptools,
    tokenize;__file__='/home/rg/venv_all_py3/build/basemap/setup.py';exec(compile(getattr(tokenize,
    'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
    'exec'))" install --record /tmp/pip-9ae5z_xw-record/install-record.txt
    --single-version-externally-managed --compile --install-headers
    /home/rg/venv_all_py3/include/site/python3.4 failed with error code 1 in
    /home/rg/venv_all_py3/build/basemap
    Exception information:
    Traceback (most recent call last):
       File
    "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/basecommand.py",
    line 122, in main
         status = self.run(options, args)
       File
    "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/commands/install.py",
    line 283, in run
         requirement_set.install(install_options, global_options,
    root=options.root_path)
       File "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/req.py",
    line 1435, in install
         requirement.install(install_options, global_options, *args,
    **kwargs)
       File "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/req.py",
    line 706, in install
         cwd=self.source_dir, filter_stdout=self._filter_install,
    show_stdout=False)
       File "/home/rg/venv_all_py3/lib/python3.4/site-packages/pip/util.py",
    line 697, in call_subprocess
         % (command_desc, proc.returncode, cwd))
    pip.exceptions.InstallationError: Command
    /home/rg/venv_all_py3/bin/python3 -c "import setuptools,
    tokenize;__file__='/home/rg/venv_all_py3/build/basemap/setup.py';exec(compile(getattr(tokenize,
    'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
    'exec'))" install --record /tmp/pip-9ae5z_xw-record/install-record.txt
    --single-version-externally-managed --compile --install-headers
    /home/rg/venv_all_py3/include/site/python3.4 failed with error code 1 in
    /home/rg/venv_all_py3/build/basemap

    Python 2.7 error:

    Cleaning up...
    Command /home/rg/venv_all/bin/python -c "import setuptools,
    tokenize;__file__='/home/rg/venv_all/build/basemap/setup.py';exec(compile(getattr(tokenize,
    'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
    'exec'))" install --record /tmp/pip-gtWsT6-record/install-record.txt
    --single-version-externally-managed --compile --install-headers
    /home/rg/venv_all/include/site/python2.7 failed with error code 1 in
    /home/rg/venv_all/build/basemap
    Traceback (most recent call last):
       File "/home/rg/venv_all/bin/pip", line 11, in <module>
         sys.exit(main())
       File
    "/home/rg/venv_all/local/lib/python2.7/site-packages/pip/__init__.py",
    line 185, in main
         return command.main(cmd_args)
       File
    "/home/rg/venv_all/local/lib/python2.7/site-packages/pip/basecommand.py",
    line
    161, in main
         text = '\n'.join(complete_log)
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 59:
    ordinal not in range(128)

    ------------------------------------------------------------------------------
    Slashdot TV.
    Video for Nerds. Stuff that matters.
    http://tv.slashdot.org/
    _______________________________________________
    Matplotlib-users mailing list
    Matplotlib-users@lists.sourceforge.net
    <mailto:Matplotlib-users@lists.sourceforge.net>
    matplotlib-users List Signup and Options