matplotlib not installable
See original GitHub issueWhile installing matplotlib there pops an error, I cant identify if it is pipenv or matplotlib…
$ uname -a
Darwin tBook 15.6.0 Darwin Kernel Version 15.6.0: Sun Jun 4 21:43:07 PDT 2017; root:xnu-3248.70.3~1/RELEASE_X86_64 x86_64
[goern@tBook p1]$ pipenv --version
pipenv, version 8.2.6
[goern@tBook p1]$ pipenv install matplotlib
Installing matplotlib…
Requirement already satisfied: matplotlib in /Users/goern/.local/share/virtualenvs/p1-hem_Ny3t/lib/python3.6/site-packages
Requirement already satisfied: cycler>=0.10 in /Users/goern/.local/share/virtualenvs/p1-hem_Ny3t/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /Users/goern/.local/share/virtualenvs/p1-hem_Ny3t/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: six>=1.10 in /Users/goern/.local/share/virtualenvs/p1-hem_Ny3t/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: pytz in /Users/goern/.local/share/virtualenvs/p1-hem_Ny3t/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: python-dateutil>=2.0 in /Users/goern/.local/share/virtualenvs/p1-hem_Ny3t/lib/python3.6/site-packages (from matplotlib)
Requirement already satisfied: numpy>=1.7.1 in /Users/goern/.local/share/virtualenvs/p1-hem_Ny3t/lib/python3.6/site-packages (from matplotlib)
Adding matplotlib to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Traceback (most recent call last):
File "/usr/local/bin/pipenv", line 11, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 1852, in install
do_lock(system=system, pre=pre)
File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 1083, in do_lock
pre=pre
File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 421, in resolve_deps
resolved_tree.update(resolver.resolve(max_rounds=PIPENV_MAX_ROUNDS))
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 101, in resolve
has_changed, best_matches = self._resolve_one_round()
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 199, in _resolve_one_round
for dep in self._iter_dependencies(best_match):
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/resolver.py", line 293, in _iter_dependencies
dependencies = self.repository.get_dependencies(ireq)
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 171, in get_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/lib/python3.6/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/h0/mm7t_nl57wbbm6hj8xknf49m0000gp/T/tmpalhruqwdbuild/subprocess32/
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Matplotlib not recognized as a module when importing in Python
I've been attempting to install Matplotlib for a graphing project in Python. In accordance with recommendation from the Matplotlib website, ...
Read more >Installing Matplotlib - Problem Solving with Python
The simplest way to install Matplotlib is to download and install the Anaconda distribution of Python. The Anaconda distribution of Python comes with...
Read more >I am not able to install Matplotlib. What should I do? - Quora
Go to command prompt and then type py and press enter, then type 'pip install Numpy ' if Numpy' is already installed by...
Read more >Installing — Matplotlib 2.0.0 documentation
There are many different ways to install matplotlib, and the best way depends ... In case Python 2.7 or 3.4 are not installed...
Read more >Installing Matplotlib
The simplest way to install Matplotlib is to download and install the Anaconda distribution of Python. The Anaconda distribution of Python comes with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for catching that @vphilippon. Looks like our release build hiccuped on that step and I didn’t notice. Tag is pushed now.
@vphilippon continuing discussion from #871,
pipenv lock --verbose --clear
gave me:Now it works fine, thanks. So seems like updating to fixed version won’t work until you clear cache.