- I run "pip install <script>", but the install times out with cannot reach server.
This is usually due to firewall restrictions in your environment. you can either set pip to work with an https proxy approved by your security team, or download and install needed packages manually from PyPI - the Python Package Index : Python Package Index
To do this, search for the needed package in the search box and then download the gz file using the green button. Then use the command line and navigate to the directory. Needed packages are "xmltodict" and "paramiko".
2. I run "pip install <script>", but get an error with the Microsoft Visual C++ compiler when installing crypto packages. The error looks like this:
error: command 'C:\\Users\\adm.jbates\\AppData\\Local\\Programs\\Common\\Mic
rosoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit sta
tus 2
----------------------------------------
Command "c:\python27\python.exe -c "import setuptools, tokenize;__file__='c:\\us
ers\\adm~1.jba\\appdata\\local\\temp\\pip-build-wsvzml\\cryptography\\setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\
n'), __file__, 'exec'))" install --record c:\users\adm~1.jba\appdata\local\temp\
pip-cusaqr-record\install-record.txt --single-version-externally-managed --compi
le" failed with error code 1 in c:\users\adm~1.jba\appdata\local\temp\pip-build-
wsvzml\cryptography
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.
The fix for this is to upgrade pip to version recommended in the error string. To do this, run "python -m pip install --upgrade pip".
After it finishes, rerun the command to install the data collection tool.