problems in pandas_datareader installation? - python

when I try to install pandas_datareader with the command pip install pandas_datareader
it gives me as output:
pip install pandas_datareader
Collecting pandas_datareader
Using cached pandas_datareader-0.10.0-py3-none-any.whl (109 kB)
Collecting requests>=2.19.0
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting lxml
Using cached lxml-4.9.1.tar.gz (3.4 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: pandas>=0.23 in ./env/lib/python3.10/site-packages (from pandas_datareader) (1.4.3)
Requirement already satisfied: pytz>=2020.1 in ./env/lib/python3.10/site-packages (from pandas>=0.23->pandas_datareader) (2022.1)
Requirement already satisfied: python-dateutil>=2.8.1 in ./env/lib/python3.10/site-packages (from pandas>=0.23->pandas_datareader) (2.8.2)
Requirement already satisfied: numpy>=1.21.0 in ./env/lib/python3.10/site-packages (from pandas>=0.23->pandas_datareader) (1.22.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./env/lib/python3.10/site-packages (from requests>=2.19.0->pandas_datareader) (1.26.11)
Collecting charset-normalizer<3,>=2
Using cached charset_normalizer-2.1.0-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2022.6.15-py3-none-any.whl (160 kB)
Requirement already satisfied: six>=1.5 in ./env/lib/python3.10/site-packages (from python-dateutil>=2.8.1->pandas>=0.23->pandas_datareader) (1.16.0)
Using legacy 'setup.py install' for lxml, since package 'wheel' is not installed.
Installing collected packages: lxml, idna, charset-normalizer, certifi, requests, pandas_datareader
Running setup.py install for lxml ... error
error: subprocess-exited-with-error
× Running setup.py install for lxml did not run successfully.
│ exit code: 1
╰─> [91 lines of output]
Building lxml version 4.9.1.
Building without Cython.
Building against libxml2 2.9.4 and libxslt 1.1.29
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.10
creating build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/sax.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/__init__.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/builder.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-10.9-universal2-3.10/lxml
creating build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
creating build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-10.9-universal2-3.10/lxml/html
creating build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/etree_api.h -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/lxml.etree.h -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.9-universal2-3.10/lxml
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.9-universal2-3.10/lxml/includes
creating build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources
creating build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/rng
creating build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl
creating build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.9-universal2-3.10/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-10.9-universal2-3.10
creating build/temp.macosx-10.9-universal2-3.10/src
creating build/temp.macosx-10.9-universal2-3.10/src/lxml
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include -Isrc -Isrc/lxml/includes -I/Users/federicoruggieri/Desktop/phyton/env/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c src/lxml/etree.c -o build/temp.macosx-10.9-universal2-3.10/src/lxml/etree.o -w -flat_namespace
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Compile failed: command '/usr/bin/clang' failed with exit code 1
creating var
creating var/folders
creating var/folders/kc
creating var/folders/kc/4tv45m2j1llfjkv_fvz_tv8m0000gn
creating var/folders/kc/4tv45m2j1llfjkv_fvz_tv8m0000gn/T
cc -I/usr/include -I/usr/include/libxml2 -c /var/folders/kc/4tv45m2j1llfjkv_fvz_tv8m0000gn/T/xmlXPathInitalfahh0p.c -o var/folders/kc/4tv45m2j1llfjkv_fvz_tv8m0000gn/T/xmlXPathInitalfahh0p.o
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
Perhaps try: xcode-select --install
*********************************************************************************
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
do someone know how to solve it?
python 3.10.1
pip 22.2.2

Did you try the solution proposed in the output?
****************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
Perhaps try: xcode-select --install
****************************************************************************
Open Terminal, and run the following:
xcode-select --install

Related

How do I install pandas datareader on windows when hit with this error?

I am trying to install pandas datareader, but I am hit with this error:
Collecting pandas-datareader
Using cached pandas_datareader-0.10.0-py3-none-any.whl (109 kB)
Collecting lxml
Using cached lxml-4.9.1.tar.gz (3.4 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: pandas>=0.23 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from pandas-datareader) (1.5.2)
Requirement already satisfied: requests>=2.19.0 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from pandas-datareader) (2.28.1)
Requirement already satisfied: python-dateutil>=2.8.1 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from pandas>=0.23->pandas-datareader) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from pandas>=0.23->pandas-datareader) (2022.6)
Requirement already satisfied: numpy>=1.21.0 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from pandas>=0.23->pandas-datareader) (1.23.5)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.19.0->pandas-datareader) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.19.0->pandas-datareader) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.19.0->pandas-datareader) (1.26.13)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from requests>=2.19.0->pandas-datareader) (2022.9.24)
Requirement already satisfied: six>=1.5 in c:\users\marcu\appdata\local\programs\python\python311\lib\site-packages (from python-dateutil>=2.8.1->pandas>=0.23->pandas-datareader) (1.16.0)
Installing collected packages: lxml, pandas-datareader
DEPRECATION: lxml is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for lxml ... error
error: subprocess-exited-with-error
× Running setup.py install for lxml did not run successfully.
│ exit code: 1
╰─> [96 lines of output]
Building lxml version 4.9.1.
Building without Cython.
Building against pre-built libxml2 andl libxslt libraries
running install
C:\Users\marcu\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\lxml
copying src\lxml\builder.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\cssselect.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\doctestcompare.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\ElementInclude.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\sax.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\usedoctest.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\_elementpath.py -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\__init__.py -> build\lib.win-amd64-cpython-311\lxml
creating build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\__init__.py -> build\lib.win-amd64-cpython-311\lxml\includes
creating build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\builder.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\clean.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\defs.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\diff.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\formfill.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\html5parser.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\soupparser.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\_diffcommand.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\_html5builder.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\_setmixin.py -> build\lib.win-amd64-cpython-311\lxml\html
copying src\lxml\html\__init__.py -> build\lib.win-amd64-cpython-311\lxml\html
creating build\lib.win-amd64-cpython-311\lxml\isoschematron
copying src\lxml\isoschematron\__init__.py -> build\lib.win-amd64-cpython-311\lxml\isoschematron
copying src\lxml\etree.h -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\etree_api.h -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\lxml.etree.h -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-cpython-311\lxml
copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\config.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\__init__.pxd -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-cpython-311\lxml\includes
copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-cpython-311\lxml\includes
creating build\lib.win-amd64-cpython-311\lxml\isoschematron\resources
creating build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\rng
copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\rng
creating build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl
copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl
creating build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-cpython-311\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\src
creating build\temp.win-amd64-cpython-311\Release\src\lxml
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc\lxml\includes -IC:\Users\marcu\AppData\Local\Programs\Python\Python311\include -IC:\Users\marcu\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcsrc\lxml\etree.c /Fobuild\temp.win-amd64-cpython-311\Release\src\lxml\etree.obj -w
cl : Command line warning D9025 : overriding '/W3' with '/w'
etree.c
C:\Users\marcu\AppData\Local\Programs\Python\Python311\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
Compile failed: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
creating Users
creating Users\marcu
creating Users\marcu\AppData
creating Users\marcu\AppData\Local
creating Users\marcu\AppData\Local\Temp
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -I/usr/include/libxml2 "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\marcu\AppData\Local\Temp\xmlXPathInit65mzfy1g.c /FoUsers\marcu\AppData\Local\Temp\xmlXPathInit65mzfy1g.obj
xmlXPathInit65mzfy1g.c
C:\Users\marcu\AppData\Local\Temp\xmlXPathInit65mzfy1g.c(1): fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I am using python 3.11.0, and the command I am using to install pandas datareader is "pip install pandas-datareader" Thanks for the help!
It looks like your post is mostly code; please add some more details.
It looks like your post is mostly code; please add some more details.
It looks like your post is mostly code; please add some more details.
try:
pip install --upgrade pip
On Windows the recommended command is:
python -m pip install --upgrade pip
You're almost there. Check the error logs carefully. You'll notice it's asking for:
Is libxml2 installed?
Try installing that with pip then retry.

Error while installation of PyQt5 in python 3.8.3

I have been trying to download PyQt5 but it keeps showing an error. I tried python version 3.10 but it also gave me an error.
Here is the error which I get-
Using cached https://files.pythonhosted.org/packages/3b/27/fd81188a35f37be9b3b4c2db1654d9439d1418823916fe702ac3658c9c41/PyQt5-5.15.6.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-kl6ymrd8\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'sip >=6.4, <7' 'PyQt-builder >=1.9, <2'
cwd: None
Complete output (121 lines):
Collecting sip<7,>=6.4
Using cached https://files.pythonhosted.org/packages/de/c1/9ac5596c10f6ce28abc1849ed1b6299b3953af0b6ff21e227024991a517e/sip-6.5.1.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting PyQt-builder<2,>=1.9
Using cached https://files.pythonhosted.org/packages/e4/55/db354bd9dfa613c8f8f6ecb81617caefdfb3e77befba098f8e14ed95e385/PyQt_builder-1.12.2-py3-none-any.whl
Collecting setuptools (from sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/7c/5b/3d92b9f0f7ca1645cba48c080b54fe7d8b1033a4e5720091d1631c4266db/setuptools-60.10.0-py3-none-any.whl
Collecting packaging (from sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl
Collecting toml (from sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl
Collecting pyparsing!=3.0.5,>=2.0.2 (from packaging->sip<7,>=6.4)
Using cached https://files.pythonhosted.org/packages/80/c1/23fd82ad3121656b585351aba6c19761926bb0db2ebed9e4ff09a43a3fcc/pyparsing-3.0.7-py3-none-any.whl
Building wheels for collected packages: sip
Building wheel for sip (PEP 517): started
Building wheel for sip (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\user\AppData\Local\Temp\tmp6lmjb9iq'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-ihnr9js0\sip
Complete output (89 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\sipbuild
copying sipbuild\abstract_builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\abstract_project.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\api.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\argument_parser.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\bindings.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\buildable.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\configurable.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\distutils_builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\exceptions.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\helpers.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\installable.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\project.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\pyproject.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\py_versions.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\setuptools_builder.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\version.py -> build\lib.win-amd64-3.8\sipbuild
copying sipbuild\__init__.py -> build\lib.win-amd64-3.8\sipbuild
creating build\lib.win-amd64-3.8\sipbuild\distinfo
copying sipbuild\distinfo\distinfo.py -> build\lib.win-amd64-3.8\sipbuild\distinfo
copying sipbuild\distinfo\main.py -> build\lib.win-amd64-3.8\sipbuild\distinfo
copying sipbuild\distinfo\__init__.py -> build\lib.win-amd64-3.8\sipbuild\distinfo
creating build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\abi_version.py -> build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\main.py -> build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\module.py -> build\lib.win-amd64-3.8\sipbuild\module
copying sipbuild\module\__init__.py -> build\lib.win-amd64-3.8\sipbuild\module
creating build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\build.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\install.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\sdist.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\wheel.py -> build\lib.win-amd64-3.8\sipbuild\tools
copying sipbuild\tools\__init__.py -> build\lib.win-amd64-3.8\sipbuild\tools
creating build\lib.win-amd64-3.8\sipbuild\module\source
creating build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\apiversions.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\array.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\array.h -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\bool.cpp -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\descriptors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\int_convertors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\LICENSE -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\LICENSE-GPL2 -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\LICENSE-GPL3 -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\MANIFEST.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\objmap.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\pyproject.toml -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\qtlib.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\README.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\setup.cfg.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\setup.py.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sip.h.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sip.pyi -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sip.rst.in -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\sipint.h -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\siplib.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\threads.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
copying sipbuild\module\source\12\voidptr.c -> build\lib.win-amd64-3.8\sipbuild\module\source\12
creating build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\array.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\array.h -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\bool.cpp -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\descriptors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\int_convertors.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\LICENSE -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\LICENSE-GPL2 -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\LICENSE-GPL3 -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\MANIFEST.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\objmap.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\pyproject.toml -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\README.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\setup.cfg.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\setup.py.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sip.h.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sip.pyi -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sip.rst.in -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\sipint.h -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\siplib.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\threads.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
copying sipbuild\module\source\13\voidptr.c -> build\lib.win-amd64-3.8\sipbuild\module\source\13
running build_ext
building 'sipbuild.code_generator' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for sip
Running setup.py clean for sip
Failed to build sip
ERROR: Could not build wheels for sip which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 22.0.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-kl6ymrd8\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'sip >=6.4, <7' 'PyQt-builder >=1.9, <2' Check the logs for full command output.
My python version is 3.8
I cant change my python version because I will have to install a lot of modules and some errors can come in installing those modules also.

Can't install python cryptography on Cygwin

I have installed python38-cryptogrpahy package v.3.3.2-1 thru cygwin but when I try to install fabric via pip - it tries to build it and fails with next error:
$ pip install -r ./requirements.txt
Collecting fabric3
Using cached Fabric3-1.14.post1-py3-none-any.whl (92 kB)
Collecting paramiko<3.0,>=2.0
Using cached paramiko-2.8.1-py2.py3-none-any.whl (206 kB)
Requirement already satisfied: six>=1.10.0 in ./env/lib/python3.8/site-packages (from fabric3->-r ./requirements.txt (line 1)) (1.16.0)
Collecting pynacl>=1.0.1
Using cached PyNaCl-1.4.0-cp38-cp38-cygwin_3_3_3_x86_64.whl
Collecting bcrypt>=3.1.3
Using cached bcrypt-3.2.0-cp38-cp38-cygwin_3_3_3_x86_64.whl
Collecting cryptography>=2.5
Using cached cryptography-36.0.1.tar.gz (572 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.1
Using cached cffi-1.15.0-cp38-cp38-cygwin_3_3_3_x86_64.whl
Requirement already satisfied: pycparser in ./env/lib/python3.8/site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko<3.0,>=2.0->fabric3->-r ./requirements.txt (line 1)) (2.21)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: /home/dnester/repo/vastuf_server_common/containers/smart_home/rvalarm/env/bin/python /home/dnester/repo/vastuf_server_common/containers/smart_home/rvalarm/env/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpojt6ejpa
cwd: /tmp/pip-install-cxk1g2b2/cryptography_9e2405fed34048fcbe4e2c9e871e31b6
Complete output (168 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.cygwin-3.3.3-x86_64-3.8
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/exceptions.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/fernet.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/utils.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/__about__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
copying src/cryptography/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/x509
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/backends/openssl
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/openssl
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/asymmetric
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/ciphers
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/kdf
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/serialization
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/primitives/twofactor
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory '.zuul.d'
warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
copying src/cryptography/py.typed -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography
creating build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.cygwin-3.3.3-x86_64-3.8/cryptography/hazmat/bindings/_rust
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation/ for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq/
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation/#rust
Python: 3.8.12
platform: CYGWIN_NT-10.0-22000-3.3.3-341.x86_64-x86_64-64bit-WindowsPE
pip: n/a
setuptools: 59.7.0
setuptools_rust: 1.1.2
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.41.0.
----------------------------------------
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
I didn't find Rust compiler in Cygwin packages and don't want to build it from sources. So I want to figure out why installed cryptography package is not recognized by pip.
3.3.2 is the last cryptography version that does not require rust. So the last possible and available on Cygwin that has no rust compiler.
As it seems that pip is trying to install the latest upstream release of cryptography, forcing the cryptography==3.3.2 on the requirement should work.
Try to upgrade pip: python -m pip install --upgrade pip

Python cryptography module import error

I am attempting to run a website that is built on CherryPy and working on deploying it in a new environment with Python 2.7.13 and been working to get everything necessary setup. Currently I am stuck on importing pyOpenSSL to enable SSL support but pyOpenSSL is unable to install because a required module, Cryptography, is not installing. So I have been working on installing just Cryptography for the time being as all other required modules are installed.
Earlier, after I had used pip2.7 install cryptography > /tmp/piplog.txt to attempt to install the module and log the whole output to a separate file and I was able to see errors like these
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
build/temp.linux-x86_64-2.7/_openssl.c:434:30: error: openssl/opensslv.h: No such file or directory
build/temp.linux-x86_64-2.7/_openssl.c:448:27: error: openssl/e_os2.h: No such file or directory
build/temp.linux-x86_64-2.7/_openssl.c:468:25: error: openssl/aes.h: No such file or directory
build/temp.linux-x86_64-2.7/_openssl.c:471:26: error: openssl/asn1.h: No such file or directory
This lead me to see where those files currently actually were installed with find / -name opensslv.h and then I copied the files from my install of openssl with
cp -rf /usr/local/ssl/inclue/openssl/* /usr/local/include/python2.7/openssl
so that the cryptography module would find the appropriate files and it seems like the installer got a bit farther, but I am not able to currently make sense of the errors I am seeing in the output. The full output is below
Collecting cryptography
Using cached cryptography-1.9.tar.gz
Requirement already satisfied: idna>=2.1 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python2.7/site-packages/six-1.10.0-py2.7.egg (from cryptography)
Requirement already satisfied: enum34 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: cffi>=1.7 in /usr/local/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/site-packages (from cffi>=1.7->cryptography)
Installing collected packages: cryptography
Running setup.py install for cryptography: started
Running setup.py install for cryptography: finished with status 'error'
Complete output from command /usr/local/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-VvLC6F/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-iAcBaS-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/utils.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-x86_64-2.7/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-x86_64-2.7/cryptography
creating build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-2.7/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-2.7/cryptography/x509
creating build/lib.linux-x86_64-2.7/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/interfaces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf
running egg_info
writing requirements to src/cryptography.egg-info/requires.txt
writing src/cryptography.egg-info/PKG-INFO
writing top-level names to src/cryptography.egg-info/top_level.txt
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing entry points to src/cryptography.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'build/temp.linux-x86_64-2.7/_padding.c'
creating build/temp.linux-x86_64-2.7
generating cffi module 'build/temp.linux-x86_64-2.7/_constant_time.c'
generating cffi module 'build/temp.linux-x86_64-2.7/_openssl.c'
building '_openssl' extension
creating build/temp.linux-x86_64-2.7/build
creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_setup_ssl_threads’:
build/temp.linux-x86_64-2.7/_openssl.c:3400: warning: comparison is always false due to limited range of data type
gcc -pthread -shared build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o -lssl -lcrypto -o build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/_openssl.so
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
Well, it seems that I was running into a similar error as before since once I added symbolic links to the libssl.so and libcrypto.so files to my /usr/lib/ directory. As root I did
ln -s /usr/local/ssl/lib/libssl.so /usr/lib/libssl.so
ln -s /usr/local/ssl/lib/libcrypto.so /usr/lib/libcrypto.so
After that I was able to successfully do pip2.7 install cryptography and pip2.7 install pyOpenSSL
Now when I start up my cherrypy website I no longer get errors about the pyOpenSSL being required.
Possibly some rookie mistakes with my previous software install caused the files to be not where the new installer was looking, or I should have known to put the symbolic link there to avoid these types of issues. But a good learning experience

Missing io.h header in VisualStudio 2017

I've VisualStudio 2017 installed. I don't need whole studio, so I've checked only C++ compilers and some dependencies (not remember exactly).
When I want to install Ansible via pip3 install ansible (pip 9.0.1, python 3.5.2) I get error:
D:\Bin\VisualStudio\2017\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc/ -Isrc/inc-msvc/ -Id:\bin\python\python35\include -Id:\bin\python\python35\include /Tcsrc/winrand.c /Fobuild\temp.win32-3.5\Release\src/winrand.obj
winrand.c
d:\bin\python\python35\include\pyconfig.h(68): fatal error C1083: Nie można otworzyć pliku dołącz: 'io.h': No such file or directory
error: command 'D:\\Bin\\VisualStudio\\2017\\VC\\Tools\\MSVC\\14.10.25017\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2
Did I miss something when installing? Some component is required?
Full log:
-> % pip3 install ansible
Collecting ansible
Using cached ansible-2.2.2.0.tar.gz
Requirement already satisfied: paramiko in d:\bin\python\python35\lib\site-packages (from ansible)
Requirement already satisfied: jinja2 in d:\bin\python\python35\lib\site-packages (from ansible)
Requirement already satisfied: PyYAML in d:\bin\python\python35\lib\site-packages (from ansible)
Requirement already satisfied: setuptools in d:\bin\python\python35\lib\site-packages (from ansible)
Collecting pycrypto>=2.6 (from ansible)
Using cached pycrypto-2.6.1.tar.gz
Requirement already satisfied: pyasn1>=0.1.7 in d:\bin\python\python35\lib\site-packages (from paramiko->ansible)
Requirement already satisfied: cryptography>=1.1 in d:\bin\python\python35\lib\site-packages (from paramiko->ansible)
Requirement already satisfied: MarkupSafe in d:\bin\python\python35\lib\site-packages (from jinja2->ansible)
Requirement already satisfied: idna>=2.0 in d:\bin\python\python35\lib\site-packages (from cryptography>=1.1->paramiko->ansible)
Requirement already satisfied: cffi>=1.4.1 in d:\bin\python\python35\lib\site-packages (from cryptography>=1.1->paramiko->ansible)
Requirement already satisfied: six>=1.4.1 in d:\bin\python\python35\lib\site-packages (from cryptography>=1.1->paramiko->ansible)
Requirement already satisfied: pycparser in d:\bin\python\python35\lib\site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible)
Installing collected packages: pycrypto, ansible
Running setup.py install for pycrypto ... error
Complete output from command d:\bin\python\python35\python3.5.exe -u -c "import setuptools, tokenize;__file__='D:\\Bin\\cygwin\\tmp\\pip-build-ms5lafhi\\pycrypto\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record D:\Bin\cygwin\tmp\pip-irxg3yqr-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-3.5
creating build\lib.win32-3.5\Crypto
copying lib\Crypto\pct_warnings.py -> build\lib.win32-3.5\Crypto
copying lib\Crypto\__init__.py -> build\lib.win32-3.5\Crypto
creating build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\hashalgo.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\HMAC.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\MD2.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\MD4.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\MD5.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\RIPEMD.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA224.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA256.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA384.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\SHA512.py -> build\lib.win32-3.5\Crypto\Hash
copying lib\Crypto\Hash\__init__.py -> build\lib.win32-3.5\Crypto\Hash
creating build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\AES.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\ARC2.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\ARC4.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\blockalgo.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\Blowfish.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\CAST.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\DES.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\DES3.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_OAEP.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_v1_5.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\XOR.py -> build\lib.win32-3.5\Crypto\Cipher
copying lib\Crypto\Cipher\__init__.py -> build\lib.win32-3.5\Crypto\Cipher
creating build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\asn1.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\Counter.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\number.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\py3compat.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\randpool.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\RFC1751.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\winrandom.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\_number_new.py -> build\lib.win32-3.5\Crypto\Util
copying lib\Crypto\Util\__init__.py -> build\lib.win32-3.5\Crypto\Util
creating build\lib.win32-3.5\Crypto\Random
copying lib\Crypto\Random\random.py -> build\lib.win32-3.5\Crypto\Random
copying lib\Crypto\Random\_UserFriendlyRNG.py -> build\lib.win32-3.5\Crypto\Random
copying lib\Crypto\Random\__init__.py -> build\lib.win32-3.5\Crypto\Random
creating build\lib.win32-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaAccumulator.py -> build\lib.win32-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaGenerator.py -> build\lib.win32-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\SHAd256.py -> build\lib.win32-3.5\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\__init__.py -> build\lib.win32-3.5\Crypto\Random\Fortuna
creating build\lib.win32-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\fallback.py -> build\lib.win32-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\nt.py -> build\lib.win32-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\posix.py -> build\lib.win32-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\rng_base.py -> build\lib.win32-3.5\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\__init__.py -> build\lib.win32-3.5\Crypto\Random\OSRNG
creating build\lib.win32-3.5\Crypto\SelfTest
copying lib\Crypto\SelfTest\st_common.py -> build\lib.win32-3.5\Crypto\SelfTest
copying lib\Crypto\SelfTest\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest
creating build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\common.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_AES.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC2.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC4.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_Blowfish.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_CAST.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES3.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_15.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_oaep.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_XOR.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Cipher
creating build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\common.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_HMAC.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD2.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD4.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD5.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_RIPEMD.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA224.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA256.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA384.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA512.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Hash
creating build\lib.win32-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_AllOrNothing.py -> build\lib.win32-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_chaffing.py -> build\lib.win32-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_KDF.py -> build\lib.win32-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_rfc1751.py -> build\lib.win32-3.5\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Protocol
creating build\lib.win32-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_DSA.py -> build\lib.win32-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_ElGamal.py -> build\lib.win32-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_importKey.py -> build\lib.win32-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_RSA.py -> build\lib.win32-3.5\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\PublicKey
creating build\lib.win32-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_random.py -> build\lib.win32-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_rpoolcompat.py -> build\lib.win32-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test__UserFriendlyRNG.py -> build\lib.win32-3.5\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Random
creating build\lib.win32-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaAccumulator.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaGenerator.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_SHAd256.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\Fortuna
creating build\lib.win32-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_fallback.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_generic.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_nt.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_posix.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_winrandom.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Random\OSRNG
creating build\lib.win32-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_asn1.py -> build\lib.win32-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_Counter.py -> build\lib.win32-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_number.py -> build\lib.win32-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_winrandom.py -> build\lib.win32-3.5\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Util
creating build\lib.win32-3.5\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_15.py -> build\lib.win32-3.5\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_pss.py -> build\lib.win32-3.5\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\__init__.py -> build\lib.win32-3.5\Crypto\SelfTest\Signature
creating build\lib.win32-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\AllOrNothing.py -> build\lib.win32-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\Chaffing.py -> build\lib.win32-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\KDF.py -> build\lib.win32-3.5\Crypto\Protocol
copying lib\Crypto\Protocol\__init__.py -> build\lib.win32-3.5\Crypto\Protocol
creating build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\DSA.py -> build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\ElGamal.py -> build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\pubkey.py -> build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\RSA.py -> build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\_DSA.py -> build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\_RSA.py -> build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\_slowmath.py -> build\lib.win32-3.5\Crypto\PublicKey
copying lib\Crypto\PublicKey\__init__.py -> build\lib.win32-3.5\Crypto\PublicKey
creating build\lib.win32-3.5\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_PSS.py -> build\lib.win32-3.5\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_v1_5.py -> build\lib.win32-3.5\Crypto\Signature
copying lib\Crypto\Signature\__init__.py -> build\lib.win32-3.5\Crypto\Signature
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
creating build\temp.win32-3.5
creating build\temp.win32-3.5\Release
creating build\temp.win32-3.5\Release\src
D:\Bin\VisualStudio\2017\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc/ -Isrc/inc-msvc/ -Id:\bin\python\python35\include -Id:\bin\python\python35\include /Tcsrc/winrand.c /Fobuild\temp.win32-3.5\Release\src/winrand.obj
winrand.c
d:\bin\python\python35\include\pyconfig.h(216): fatal error C1083: Nie można otworzyć pliku dołącz: 'float.h': No such file or directory
error: command 'D:\\Bin\\VisualStudio\\2017\\VC\\Tools\\MSVC\\14.10.25017\\bin\\HostX64\\x64\\cl.exe' failed with exit status 2
----------------------------------------
Command "d:\bin\python\python35\python3.5.exe -u -c "import setuptools, tokenize;__file__='D:\\Bin\\cygwin\\tmp\\pip-build-ms5lafhi\\pycrypto\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record D:\Bin\cygwin\tmp\pip-irxg3yqr-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in D:\Bin\cygwin\tmp\pip-build-ms5lafhi\pycrypto\
I ended up with Cygwin's Python 3.6 + GMP libraries + GCC compiler and somehow managed to successfully install Ansible:
-> % pip install ansible
Collecting ansible
Requirement already satisfied: paramiko in /usr/lib/python3.6/site-packages (from ansible)
Requirement already satisfied: PyYAML in /usr/lib/python3.6/site-packages (from ansible)
Collecting pycrypto>=2.6 (from ansible)
Using cached pycrypto-2.6.1.tar.gz
Requirement already satisfied: jinja2 in /usr/lib/python3.6/site-packages (from ansible)
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from ansible)
Requirement already satisfied: cryptography>=1.1 in /usr/lib/python3.6/site-packages (from paramiko->ansible)
Requirement already satisfied: pyasn1>=0.1.7 in /usr/lib/python3.6/site-packages (from paramiko->ansible)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3.6/site-packages (from jinja2->ansible)
Requirement already satisfied: appdirs>=1.4.0 in /usr/lib/python3.6/site-packages (from setuptools->ansible)
Requirement already satisfied: six>=1.6.0 in /usr/lib/python3.6/site-packages (from setuptools->ansible)
Requirement already satisfied: packaging>=16.8 in /usr/lib/python3.6/site-packages (from setuptools->ansible)
Requirement already satisfied: cffi>=1.4.1 in /usr/lib/python3.6/site-packages (from cryptography>=1.1->paramiko->ansible)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/lib/python3.6/site-packages (from cryptography>=1.1->paramiko->ansible)
Requirement already satisfied: idna>=2.1 in /usr/lib/python3.6/site-packages (from cryptography>=1.1->paramiko->ansible)
Requirement already satisfied: pyparsing in /usr/lib/python3.6/site-packages (from packaging>=16.8->setuptools->ansible)
Requirement already satisfied: pycparser in /usr/lib/python3.6/site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible)
Building wheels for collected packages: pycrypto
Running setup.py bdist_wheel for pycrypto ... done
Stored in directory: /cygdrive/c/Users/AP_185/.cache/pip/wheels/80/1f/94/f76e9746864f198eb0e304aeec319159fa41b082f61281ffce
Successfully built pycrypto
Installing collected packages: pycrypto, ansible
Successfully installed ansible-2.2.2.0 pycrypto-2.6.1
Cygwin's bin directory in PATH, no PYTHONPATH nor PYTHONHOME env variables set, only symlinks pip -> pip3 and python -> python3.6m.exe for default usage of Python3.6.
VisualStudio? ~4GB of installed stuff and still useless. Uninstalled.

Categories