This repository was archived by the owner on Jul 1, 2021. It is now read-only.
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
Issues with installing matplotlib #12
Open
Description
Specs:
OS: Windows 10
Graphics card: RTX3070
CUDA: 9.0
Python: 3.9
Due to series 3000 cards not working with Tensorflow 1.x, I'm trying to run the headless DeepLabCut with tensorflow 2.0.
Issue:
When I make a fresh anaconda environment and run: pip install git+https://github.com/DeepLabCut/[email protected]
(code I retrieved from the colab), I am unable to install matplotlib.
>>>pip install git+https://github.com/DeepLabCut/[email protected]
Collecting git+https://github.com/DeepLabCut/[email protected]
Cloning https://github.com/DeepLabCut/DeepLabCut-core.git (to revision tf2.2alpha) to c:\users\jc\appdata\local\temp\pip-req-build-r3dhdv6n
Collecting certifi
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting chardet
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting click
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting easydict
Using cached easydict-1.9.tar.gz (6.4 kB)
Collecting h5py~=2.7
Using cached h5py-2.10.0.tar.gz (301 kB)
Collecting intel-openmp
Using cached intel_openmp-2021.1.2-py2.py3-none-win_amd64.whl (3.3 MB)
Collecting imgaug
Using cached imgaug-0.4.0-py2.py3-none-any.whl (948 kB)
Collecting ipython
Using cached ipython-7.19.0-py3-none-any.whl (784 kB)
Collecting ipython-genutils
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting matplotlib==3.0.3
Using cached matplotlib-3.0.3.tar.gz (36.6 MB)
ERROR: Command errored out with exit status 1:
command: 'C:\Users\JC\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\JC\\AppData\\Local\\Temp\\pip-install-cy4dervr\\matplotlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\JC\\AppData\\Local\\Temp\\pip-install-cy4dervr\\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 'C:\Users\JC\AppData\Local\Temp\pip-pip-egg-info-wqn2llym'
cwd: C:\Users\JC\AppData\Local\Temp\pip-install-cy4dervr\matplotlib\
Complete output (47 lines):
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [3.0.3]
python: yes [3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020,
17:08:21) [MSC v.1927 64 bit (AMD64)]]
platform: yes [win32]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [not found. pip may install it below.]
install_requires: yes [handled by setuptools]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: no [The C/C++ header for freetype
(freetype2\ft2build.h) could not be found. You may
need to install the development package.]
png: no [The C/C++ header for png (png.h) could not be
found. You may need to install the development
package.]
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
agg: yes [installing]
tkagg: yes [installing; run-time loading from Python Tcl /
Tk]
macosx: no [Mac OS-X only]
windowing: yes [installing]
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
============================================================================
* The following required packages can not be built:
* freetype, png
* Please check http://gnuwin32.sourceforge.net/packa
* ges/freetype.htm for instructions to install
* freetype
* Please check http://gnuwin32.sourceforge.net/packa
* ges/libpng.htm for instructions to install png
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I've tried installing freetype and libpng libraries. However, I only run into more errors once I have done that. Any idea what the issue is here?
Joe
Metadata
Metadata
Assignees
Labels
No labels