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 <s...@libecciu.ch > <mailto:s...@libecciu.ch>> 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> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > ------------------------------------------------------------------------------ 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