-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Im new to py so have no idea what im doing but receiving the following problems:
C:\Users\Leigh>pip install -r requirements.txt
Collecting certifi==2018.8.24
Using cached certifi-2018.8.24-py2.py3-none-any.whl (147 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting cycler==0.10.0
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Requirement already satisfied: docopt==0.6.2 in c:\users\leigh\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 4)) (0.6.2)
Collecting idna==2.7
Using cached idna-2.7-py2.py3-none-any.whl (58 kB)
Collecting kiwisolver==1.0.1
Using cached kiwisolver-1.0.1.tar.gz (31 kB)
Preparing metadata (setup.py) ... done
Collecting matplotlib==2.2.3
Using cached matplotlib-2.2.3.tar.gz (36.8 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [61 lines of output]
============================================================================
Edit setup.cfg to change the build optionsBUILDING MATPLOTLIB matplotlib: yes [2.2.3] python: yes [3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 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 macosx: no [Mac OS-X only] qt5agg: no [PySide2 not found; PyQt5 not found] qt4agg: no [PySide not found; PyQt4 not found] gtk3agg: no [Requires pygobject to be installed.] gtk3cairo: no [Requires cairocffi or pycairo to be installed.] 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: no [cairocffi or pycairo not found] windowing: yes [installing] OPTIONAL LATEX DEPENDENCIES dvipng: no ghostscript: no latex: no pdftops: no 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 [end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed× Encountered error while generating package metadata.
╰─> See above for output.note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
however i have Png and freetype installed:
C:\Users\Leigh>pip install pypng
Requirement already satisfied: pypng in c:\users\leigh\appdata\local\programs\python\python310\lib\site-packages (0.0.21)C:\Users\Leigh>pip install freetype-py
Requirement already satisfied: freetype-py in c:\users\leigh\appdata\local\programs\python\python310\lib\site-packages (2.3.0)
I also get the following if i skip to the next step:
C:\Users\Leigh>py zever.py -initDB
Traceback (most recent call last):
File "C:\Users\Leigh\zever.py", line 12, in
import requests
ModuleNotFoundError: No module named 'requests'