|
From: Remo G. <su...@li...> - 2014-08-30 12:48:27
|
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)
|