How to install pymssql module in Python 3.8? - python

when i run this command
pip install pymssql in windows in virtualenv for python 3.8
i get this error:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
how can i install pymssql in windows.

Pymssql is still not compatible with Python 3.8, please see the pr here: https://github.com/pymssql/pymssql/pull/659

You can use this library https://pypi.org/project/pymssql-linux/ which is a fork of pymssql which is not maintained anymore (https://github.com/pymssql/pymssql/issues/668):
pip install pymssql-linux
For windows you can download relevant whl from:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pymssql and then
pip install path-to-your-downloaded-whl-file

Related

Q: Command Line says "Failed to created process" when I try to pip install a package

5 and having no problems but I'm on windows 10 and I read online that I can't edit the system variables to add to the path to run programs from command line easily. I decided to uninstall python 3.5 and install python 3.8.2, which is the latest version, so that I could click on the “add to path” option.
The install went okays, but when I tried to go to the command prompt and install third party packages using pip, the command prompt kept saying "failed to create process"
I tried repairing the installations, trying different versions but the same thing kept happening.
Is there a fix for this? Help...
Thanks
C:\\WINDOWS\\system32>pip install pyperclip
failed to create process.
C:\\WINDOWS\\system32>
You will need to install the 64 bit python 3.8 dev module on the microsoft store, as the install from python webpage was most likely 32bit.
here is the link: https://www.microsoft.com/store/productId/9MSSZTT1N39L
C:\Users\Ben Woo>pip install pyperclip
Collecting pyperclip
Downloading https://files.pythonhosted.org/packages/f6/5b/55866e1cde0f86f5eec59dab5de8a66628cb0d53da74b8dbc15ad8dabda3/pyperclip-1.8.0.tar.gz
Installing collected packages: pyperclip
Running setup.py install for pyperclip ... done
Successfully installed pyperclip-1.8.0
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\Ben Woo>

Jupyter install returns “python setup.py egg_info” failed with error code 1

I'm new to Python and have been trying to install Jupyter packages with pip.
My command line throws me this Exception
Command "python setup.py egg_info" failed with error code 1 in
C:\Users\TOSHIB~1\AppData\Local\Temp\pip-install-spdc68do\tornado\
Happens when I do pip install jupyter. How can I solve this?
I already did python -m pip install --upgrade pip and pip install --upgrade setuptools.
Looks like the root cause is that jupyter depends on tornado, but the tornado install is failing.
It could be a lib64 issue and pip install -U wheel might do the trick.
Could also just be down to tornado requiring a C/C++ compiler you don't have installed. Anaconda comes with jupyter notebook and has a simple windows installer, so that seems like the easiest path.

Can't install Matplotlib in python 3.7

For install matplotlib in windows 10 64 bit machine get error showing
python setup.py egg_info" failed with error code 1 in C:\Users\Animus\AppData\Local\Temp\pip-build-urqbuxb_\unroll\
please help
Forst of all make sure you have pip working. To install pip please follow the link Pip install and then update the setup
And try:
python -mpip install -U pip
python -mpip install -U matplotlib
and if does not work then use following
pip install --upgrade setuptools
I had the same problem. Newly installed windows, only python 3.7.0 installed. No security software installed.
Those upgrade command do not work at all.
After rollback to 3.6.5, they could be installed normally.

scikit_image library is not installing

I am trying to install scikit-image library in python 3.4.4on windows. I am using the following command:
pip install scikit-image
I am installing it in the following path
C:\Python34\Scripts
It's not working showing the following error:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Usman\AppData\Local\Temp\pip-build-utv6_a2u\scikit-image\
I tried also installing it through the .whl file,, but still it's not working.
Pip version is
pip 9.0.1
Please tell me what should I do?
Try to run one of the following and than try to install again the requested library.
pip install --upgrade setuptools or easy_install -U setuptools
As setuptools contains a lot of important files including egg files, it can cause problems when it's not updated\installed.

Installing requests-kerberos on Windows

Is there any way to install requests-kerberos on Windows?
When I try to install it with pip I have the following error:
py -m pip install requests-kerberos
ImportError: No module named 'commands'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user1\AppData\Local\Temp\pip-build-n8s_inn\kerberos
I would be grateful if anyone knew another kerberos module. I'm using Python 3.4 and Windows 8.
Best regards.
The commands module was deprecated in python 2.6.
Thus, the issue appears to be a problem with your pip installation, and not with requests-kerberos.
There are a few things you can try, but I would focus on ensuring pip is working correctly. While you could install the package manually, you are really just pushing the pip problem down the road until the next time you install a package.
Ensure pip is installed correctly.
Use the pip command to ensure you are running pip in the python 3.4 context: (Note, this is my output, yours will be different because you are on Windows and running 3.4)
$ pip --version
pip 1.5.6 from /Library/Python/2.7/site-packages/pip-1.5.6-py2.7.egg (python 2.7)
Additional information about pip can be found here.
Download and install manually
Download the package manually from the pypi repo.
Download the .tar.gz
Extract the tar.gz and run python setup.py install

Categories

Resources