Oct-25-2017, 07:46 AM
Hi Python Guru's,
I use Windows 10 and Visual Studio2017 64bit.I try to install pymssql but the corporate network ensures
that a network connection cant be established.
So I downloaded pymssql-2.1.3-cp36-cp36m-win_amd64.whl manually.
When I now go in VS 2017 to my virtual environment, right click to install
packages and type:
Requirement already satisfied: pip in c:\users\xxxxx\downloads\iwt_django\iwt_django\iwt_django\env_iwt\lib\site-packages
Collecting install
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor....
Could not find a version that satisfies the requirement install (from versions: )
No matching distribution found for install
----- Failed to install 'pip install C:\Users\xxxx\Downloads\pymssql-2.1.3-cp36-cp36m-win_amd64.whl' -----
I read on Stackoverflow I can do the following to install into my virtual environment:
Question:
I would like to install pymssql in the virtual environment that I set up with Visual Studio, not for the basic python environment on my PC.
Can I use the whl file to install into my virtual python environment?
I use Windows 10 and Visual Studio2017 64bit.I try to install pymssql but the corporate network ensures
that a network connection cant be established.
So I downloaded pymssql-2.1.3-cp36-cp36m-win_amd64.whl manually.
When I now go in VS 2017 to my virtual environment, right click to install
packages and type:
pip install C:\Users\xxxx\Downloads\pymssql-2.1.3-cp36-cp36m-win_amd64.whlI get the message:
Requirement already satisfied: pip in c:\users\xxxxx\downloads\iwt_django\iwt_django\iwt_django\env_iwt\lib\site-packages
Collecting install
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor....
Could not find a version that satisfies the requirement install (from versions: )
No matching distribution found for install
----- Failed to install 'pip install C:\Users\xxxx\Downloads\pymssql-2.1.3-cp36-cp36m-win_amd64.whl' -----
I read on Stackoverflow I can do the following to install into my virtual environment:
py -m pip install C:\Users\xxxxx\Downloads\pymssql-2.1.3-cp36-cp36m-win_amd64.whlBut that just does not work.
Question:
I would like to install pymssql in the virtual environment that I set up with Visual Studio, not for the basic python environment on my PC.
Can I use the whl file to install into my virtual python environment?