You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3 -m pip install -r requirements.txt
Collecting tqdm==4.19.7
Downloading tqdm-4.19.7-py2.py3-none-any.whl (52 kB)
|████████████████████████████████| 52 kB 559 kB/s
Collecting moment==0.8.2
Downloading moment-0.8.2.tar.gz (4.7 kB)
Collecting matplotlib==2.1.0
Downloading matplotlib-2.1.0.tar.gz (35.7 MB)
|████████████████████████████████| 35.7 MB 899 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-c4u2en81/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-c4u2en81/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-c4u2en81/matplotlib/pip-egg-info
cwd: /tmp/pip-install-c4u2en81/matplotlib/
Complete output (76 lines):
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [2.1.0]
python: yes [3.8.10 (default, Mar 13 2023, 10:26:41) [GCC
9.4.0]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [not found. pip may install it below.]
six: yes [using six version 1.14.0]
dateutil: yes [using dateutil version 2.7.3]
backports.functools_lru_cache: yes [Not required]
subprocess32: yes [Not required]
pytz: yes [using pytz version 2019.3]
cycler: yes [cycler was not found. pip/easy_install may
attempt to install it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: no [The C/C++ header for freetype2 (ft2build.h)
could not be found. You may need to install the
development package.]
png: no [pkg-config information for 'libpng' could not
be found.]
qhull: yes [pkg-config information for 'libqhull' could not
be found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: no [skipping due to configuration]
toolkits_tests: no [skipping due to configuration]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt5agg: no [PySide2 not found; PyQt5 not found]
qt4agg: no [PySide not found; PyQt4 not found]
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
gtk3agg: yes [installing, version 3.20.24]
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-c4u2en81/matplotlib/setup.py", line 216, in <module>
pkg_help = pkg.install_help_msg()
File "/tmp/pip-install-c4u2en81/matplotlib/setupext.py", line 595, in install_help_msg
release = platform.linux_distribution()[0].lower()
AttributeError: module 'platform' has no attribute 'linux_distribution'
gtk3cairo: yes [installing, version 3.20.24]
gtkagg: no [Requires pygtk]
tkagg: yes [installing; run-time loading from Python Tcl /
Tk]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: yes [installing, pycairo version 1.16.2]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: yes [version 9.50]
latex: no
pdftops: yes [version 0.86.1]
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
============================================================================
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
As shown in below logs pip install fails
The text was updated successfully, but these errors were encountered: