This repository was archived by the owner on Jul 1, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
Issues with installing matplotlib #12
Copy link
Copy link
Open
Description
Activity
I got the same issue when I tried to "pip install git+https://github.com/DeepLabCut/DeepLabCut-core.git@tf2.2alpha" in a new conda environment. I just "conda install matplotlib" manually before I stall the DLC-Core.
Hi PlatinumYao,
Thanks for your reply. I've tried this.
After "conda install matplotlib", when I run "pip install git+https://github.com/DeepLabCut/DeepLabCut-core.git@tf2.2alpha"
I get the following error:ERROR: Command errored out with exit status 1: command: 'C:\Users\JC\.conda\envs\Jan12Test\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\JC\\AppData\\Local\\Temp\\pip-install-8mi7jwzd\\moviepy_2687a2f35d6e475784da01618c9a2796\\setup.py'"'"'; __file__='"'"'C:\\Users\\JC\\AppData\\Local\\Temp\\pip-install-8mi7jwzd\\moviepy_2687a2f35d6e475784da01618c9a2796\\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-i_2hg4xk' cwd: C:\Users\JC\AppData\Local\Temp\pip-install-8mi7jwzd\moviepy_2687a2f35d6e475784da01618c9a2796\ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\JC\AppData\Local\Temp\pip-install-8mi7jwzd\moviepy_2687a2f35d6e475784da01618c9a2796\setup.py", line 3, in <module> import ez_setup ModuleNotFoundError: No module named 'ez_setup' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.So, then I "pip install ez_setup".
When I rerun "pip install git+https://github.com/DeepLabCut/DeepLabCut-core.git@tf2.2alpha", I get the following error:
ERROR: Command errored out with exit status 1: command: 'C:\Users\JC\.conda\envs\Jan12Test\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\JC\\AppData\\Local\\Temp\\pip-install-cxsjmcit\\moviepy_94b255f71b6f421698868161129debbb\\setup.py'"'"'; __file__='"'"'C:\\Users\\JC\\AppData\\Local\\Temp\\pip-install-cxsjmcit\\moviepy_94b255f71b6f421698868161129debbb\\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-j3o1ho5n' cwd: C:\Users\JC\AppData\Local\Temp\pip-install-cxsjmcit\moviepy_94b255f71b6f421698868161129debbb\ Complete output (31 lines): Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz Traceback (most recent call last): File "C:\Users\JC\.conda\envs\Jan12Test\lib\site-packages\ez_setup.py", line 143, in use_setuptools raise ImportError ImportError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\JC\AppData\Local\Temp\pip-install-cxsjmcit\moviepy_94b255f71b6f421698868161129debbb\setup.py", line 4, in <module> ez_setup.use_setuptools() File "C:\Users\JC\.conda\envs\Jan12Test\lib\site-packages\ez_setup.py", line 145, in use_setuptools return _do_download(version, download_base, to_dir, download_delay) File "C:\Users\JC\.conda\envs\Jan12Test\lib\site-packages\ez_setup.py", line 123, in _do_download tarball = download_setuptools(version, download_base, File "C:\Users\JC\.conda\envs\Jan12Test\lib\site-packages\ez_setup.py", line 193, in download_setuptools src = urlopen(url) File "C:\Users\JC\.conda\envs\Jan12Test\lib\urllib\request.py", line 222, in urlopen return opener.open(url, data, timeout) File "C:\Users\JC\.conda\envs\Jan12Test\lib\urllib\request.py", line 531, in open response = meth(req, response) File "C:\Users\JC\.conda\envs\Jan12Test\lib\urllib\request.py", line 640, in http_response response = self.parent.error( File "C:\Users\JC\.conda\envs\Jan12Test\lib\urllib\request.py", line 569, in error return self._call_chain(*args) File "C:\Users\JC\.conda\envs\Jan12Test\lib\urllib\request.py", line 502, in _call_chain result = func(*args) File "C:\Users\JC\.conda\envs\Jan12Test\lib\urllib\request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: SSL is required ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels
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/DeepLabCut-core.git@tf2.2alpha
(code I retrieved from the colab), I am unable to install matplotlib.
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