➜ StockPricePrediction git:(master) pip install -r requirements.txt
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting cycler==0.10.0
Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting matplotlib==1.5.1
Downloading matplotlib-1.5.1.tar.gz (54.0 MB)
|████████████████████████████████| 54.0 MB 320 kB/s
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/setup.py'"'"'; __file__='"'"'/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-pip-egg-info-o2iqiahf
cwd: /private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/
Complete output (80 lines):
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.5.1]
python: yes [3.9.9 (main, Nov 21 2021, 03:23:44) [Clang
13.0.0 (clang-1300.0.29.3)]]
platform: yes [darwin]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.21.4]
dateutil: yes [using dateutil version 2.8.2]
pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
cycler: yes [using cycler version 0.10.0]
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 [using pyparsing version 3.0.6]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 2.11.1]
png: yes [version 1.6.37]
qhull: yes [pkg-config information for 'qhull' could not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. Please install it with pip or
your preferred tool to run the test suite / using
unittest.mock]
toolkits_tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. Please install it with pip or
your preferred tool to run the test suite / using
unittest.mock]
OPTIONAL BACKEND EXTENSIONS
macosx: yes [installing, darwin]
qt5agg: no [PyQt5 not found]
qt4agg: no [PySide not found; PyQt4 not found]
gtk3agg: no [Requires pygobject to be installed.]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/local/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/setupext.py", line 1782, in backend_gtk3cairo_internal_check
import cairocffi
File "/usr/local/lib/python3.9/site-packages/cairocffi/__init__.py", line 48, in <module>
cairo = dlopen(
File "/usr/local/lib/python3.9/site-packages/cairocffi/__init__.py", line 45, in dlopen
raise OSError(error_message) # pragma: no cover
OSError: no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so.2': dlopen(libcairo.so.2, 0x0002): tried: '/usr/local/lib/libcairo.so.2' (no such file), 'libcairo.so.2' (no such file), '/usr/local/lib/libcairo.so.2' (no such file), '/usr/lib/libcairo.so.2' (no such file), '/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/libcairo.so.2' (no such file), '/usr/local/lib/libcairo.so.2' (no such file), '/usr/lib/libcairo.so.2' (no such file)
cannot load library 'libcairo.2.dylib': dlopen(libcairo.2.dylib, 0x0002): tried: '/usr/local/lib/libcairo.2.dylib' (no such file), 'libcairo.2.dylib' (no such file), '/usr/local/lib/libcairo.2.dylib' (no such file), '/usr/lib/libcairo.2.dylib' (no such file), '/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/libcairo.2.dylib' (no such file), '/usr/local/lib/libcairo.2.dylib' (no such file), '/usr/lib/libcairo.2.dylib' (no such file)
cannot load library 'libcairo-2.dll': dlopen(libcairo-2.dll, 0x0002): tried: '/usr/local/lib/libcairo-2.dll' (no such file), 'libcairo-2.dll' (no such file), '/usr/local/lib/libcairo-2.dll' (no such file), '/usr/lib/libcairo-2.dll' (no such file), '/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/libcairo-2.dll' (no such file), '/usr/local/lib/libcairo-2.dll' (no such file), '/usr/lib/libcairo-2.dll' (no such file)
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/setup.py", line 167, in <module>
result = package.check()
File "/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/setupext.py", line 518, in check
additional_info = self.check_requirements()
File "/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/setupext.py", line 1828, in check_requirements
success, msg = res.get(timeout=10)[0]
File "/usr/local/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 771, in get
raise self._value
OSError: no library called "cairo" was found
no library called "libcairo-2" was found
cannot load library 'libcairo.so.2': dlopen(libcairo.so.2, 0x0002): tried: '/usr/local/lib/libcairo.so.2' (no such file), 'libcairo.so.2' (no such file), '/usr/local/lib/libcairo.so.2' (no such file), '/usr/lib/libcairo.so.2' (no such file), '/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/libcairo.so.2' (no such file), '/usr/local/lib/libcairo.so.2' (no such file), '/usr/lib/libcairo.so.2' (no such file)
cannot load library 'libcairo.2.dylib': dlopen(libcairo.2.dylib, 0x0002): tried: '/usr/local/lib/libcairo.2.dylib' (no such file), 'libcairo.2.dylib' (no such file), '/usr/local/lib/libcairo.2.dylib' (no such file), '/usr/lib/libcairo.2.dylib' (no such file), '/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/libcairo.2.dylib' (no such file), '/usr/local/lib/libcairo.2.dylib' (no such file), '/usr/lib/libcairo.2.dylib' (no such file)
cannot load library 'libcairo-2.dll': dlopen(libcairo-2.dll, 0x0002): tried: '/usr/local/lib/libcairo-2.dll' (no such file), 'libcairo-2.dll' (no such file), '/usr/local/lib/libcairo-2.dll' (no such file), '/usr/lib/libcairo-2.dll' (no such file), '/private/var/folders/4c/13yp5nx15q1_vfhb_cswvjt00000gn/T/pip-install-zk0ma6jv/matplotlib_edbe4fa9feb94f2ea61385f02a55d9c2/libcairo-2.dll' (no such file), '/usr/local/lib/libcairo-2.dll' (no such file), '/usr/lib/libcairo-2.dll' (no such file)
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/8f/f4/c0c7e81f64d5f4d36e52e393af687f28882c53dcd924419d684dc9859f40/matplotlib-1.5.1.tar.gz#sha256=3ab8d968eac602145642d0db63dd8d67c85e9a5444ce0e2ecb2a8fedc7224d40 (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement matplotlib==1.5.1 (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 3.0.0rc2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0rc1, 3.1.0rc2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0rc1, 3.2.0rc3, 3.2.0, 3.2.1, 3.2.2, 3.3.0rc1, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0rc1, 3.4.0rc2, 3.4.0rc3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0b1, 3.5.0rc1, 3.5.0, 3.5.1)
ERROR: No matching distribution found for matplotlib==1.5.1