python 3.5 using pymssql - python

I installed python 3.5 and it worked fine. Then I downloaded
pymssql-2.1.1.win32-py3.4.exe (md5)
from
https://pypi.python.org/pypi/pymssql/2.1.1#downloads
During the installation it asked for python 3.4 installation and dimmed the Next button.
How can I get around this?

I uninstalled Python3.5 and then installed Python 3.4.3, after that pymssql installer passed through. I didn't realized the python version has to be exact match to the database driver version since I am new to Python.

Related

VS Code Python Interpreter Still shows 3.8.6 even though the 3.9 update came out?

It appears that I'm still using Python 3.8.6 even though the Microsoft store version of python says the 3.9 update was released and that I have it installed. How can I use the new version from the Microsoft store? I tried reinstalling multiple times and tried installing from the python website before but I ran into a problem where I couldn't install libraries for some reason.
to fix this, do the following
Go to Python's official website, download the latest version of python 3.9.
delete the .vscode folder and restart your editor.
select your python version in the drop down menu as 3.9.
Warning: python 3.9 will not work on Windows 7 and below
I tried this process in my computer:
Download python3.9. I checked "Add Python3.9 to PATH" before installation:
It automatically adds python3.9 to the environment variables of the system:
Open the python interpreter in VSCode:
It is recommended that you enter "where python" in the cmd window to check whether python3.9 is available. In addition, please use the latest version of VSCode and Python extensions.(2020.10.332292344)

Can the latest Anaconda package for Python 3.6 work for Python 3.5?

I have the 3.5 version of python. I want to install Anaconda, but it says on the Anaconda website the latest version of it is for Python 3.6. My question is could I still use the packages for Python 3.5, or should I install Python 3.6?
When you install Anaconda Python, it installs into its own area and wouldn't conflict with an existing Python installation. If you already have additional Python packages installed, you will need to reinstall them for the new Python installation, preferably using a Python virtual environment. You can't use a Python virtual environment from an existing Python installation and would need to create a new one against Anaconda Python if already using one.
If your own personal code works with Python 3.5, it likely will work with Python 3.6 no problems.
So with the above caveats on re-installing additional Python packages, there shouldn't be any reason why you couldn't use Anaconda Python 3.6.
I had the same problem where I couldn't run anaconda with python 3.6. What I did was to install anaconda with python 3.5. Go to https://repo.continuum.io/archive/ then download Anaconda3-4.2.0-Windows-x86_64.

PIp installation urllib3 not found

I installed python 3.0 in my windows7 and I'm trying to install the pip from the file get-pip.py .while running this file it throwing an error like
import error:Nomodule named urllib3.
I am trying to this to integrating selenium web driver packages to python in eclipse.
Thank you
From the documentation of get-pip https://pip.pypa.io/en/latest/installing/
pip works with CPython versions 2.7, 3.3, 3.4, 3.5, 3.6 and also pypy.
Restart with Python 3.3 at least instead of Python 3.0
If you have a specific requirement for an earlier version of Python 3, please explain.
I think as per below screen, pip is not installed in my system so im trying to setup it by python using python get-pip.py

LXML for windows 7 (For scrapy)

I am trying to install lxml fro windows 7 from exe given at https://pypi.python.org/pypi/lxml/3.3.5#downloads. I am getting this error saying python 2.7 is missing in registry. I have tried checking in the registry and its very much there. What should I do now?
Make sure you are using the right version of lxml for the version of Pythonyou have installed. For example, for Python 2.7 32-bit, you need to install lxml-3.3.5.win32-py2.7.exe. If you have Python 2.7 64-bit, then you'll need to install lxml-3.3.5.win-amd64-py2.7.exe.
If that doesn't work, reinstall Python as it probably isn't installed correctly.

Cannot install py2exe with Python 2.7

I am trying to install py2exe. I have Python 2.7 installed on my machine. Their website mentions that they have released support for 2.7, but when I try to install, it mentions that Python Version 2.6 required, which was not found in the registry. I have downloaded py2exe-0.6.9.
Any one else come up with this problem and figured out how to solve it?
Try this link. It's py2exe for Python 2.7.

Categories

Resources