I have Python 3.4, and now need to install Python 2.7. The installer for 2.7 stalls due to an error. Has anyone successfully installed 2.7 when they already have 3.4 installed and is there something more I should do than simply goint to they Python.org site?
Yes, it's possible and had exactly that on my PC. No funny steps or anything. They install to different folders anyway (Python27 and Python34).
Related
I have installed Python 2.7.13 on my Windows 10 machine.
I went to http://www.lfd.uci.edu/~gohlke/pythonlibs/#pythonmagick and downloaded both the 32 and 64bit versions:
PythonMagick‑0.9.13‑cp36‑cp36m‑win32.whl
PythonMagick‑0.9.13‑cp36‑cp36m‑win_amd64.whl
I ran the following command from commandline (admin permissions):
pip install PythonMagick‑0.9.13‑cp36‑cp36m‑win32.whl
I get the following error:
PythonMagick‑0.9.13‑cp36‑cp36m‑win32.whl is not a supported wheel on this platform.
I have tried with both the 32 and 64bit versions of Python 2.7, as well as both the 32 and 64bit versions of PythonMagick.
I tried downloading the Zip from ImageMagick, but the install made no sense to me (there is a reason I use Windows, not *nix)
By using the older WHL I was able to get PythonMagick installed and working.
PythonMagick‑0.9.10‑cp27‑none‑win_amd64.whl
I am working on a Windows 7, 64 bit system and I have installed Python 2.7.12 64 bit.
(Prior to this, I had a Python 2.7 32 bit install in which pip worked perfectly, which I uninstalled).
Now, whenever I try to install a package using pip, it freezes right after displaying "Collecting [package name]", as shown below:
(The German text is just the equivalent of "This program has stopped functioning" in the English versions of Windows).
I have tried installing several packages like this (at first I thought it's a problem related to the specific package I was trying to install), but I always get the same error.
Any suggestions regarding what might be happening here?
Edit: Just in case it's relevant: I have Cygwin installed on my machine, but I am not using python & pip in a Cygwin terminal. They are used in the normal Windows command line.
I have python 2.7.8 and pyscripter 2.5.3 (64 bits)installed on windows 7....Can anyone tell me which is the numpy package to download for my OS..I went through many sites and installed many numpy and python versions to work on my pyscripter resulting in only wastage of time and getting more confused by uninstalling each..I see that most of the sites give .exe (superpack) files for 32 bit.The same version and all works perfectly with 32 bit windows 8 os.. I saw .whl files for 64 on
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
..I dont know what to do with it... I am stuck with this...
Please help.. and thanks in advance..
I made it installing numpy..All i did was to switch to 32 bit python and pyscripter .I installed python 2.7.9 version as it offers pip command so that installations will be more easy..
In Command prompt I set my path to python 27 and run
pip install numpy
I was shown with the error.."unable to find vcvarsall.bat"
and so I downloaded VCForPython27.msi from http://www.microsoft.com/en-in/download/details.aspx?id=44266
Again run the pip command and numpy will be successfully installed..!
Incase there comes an error "Could not delete multiarray.pyd :Access denied "Just close your pyscripter or probably restart and then run the pip command..Hope this helps someone..
I'm trying to install pycurl. I have downloaded the tar.gz file from here:
http://pycurl.sourceforge.net/
I get this error when using easy_install:
AssertionError: please check CURL_DIR in setup.py
I then tried to manually install the pycurl.exe's from this site:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Every single one of these returned this error:
"Python versions 2.X required, which was not found in the registry."
I'm at a loss. Can't easy_install, can't manually install. How should I install this module? Thanks!
I think you should first download libcurl (I think from here) http://curl.haxx.se/dlwiz/?type=devel&os=Win64
then extract it to some directory (using 7zip)
Then in setup.py set the CURL_DIR parameter (there is comment there on windows users) or use the --curl_dir paramter (see also code there).
hope it will help
2 possibilities:
haven't tried that one, but you can install python either for all users, or just me, with just me being the default. if you changed that to all users, then a few python libs i have seen (comtypes comes to mind) won't see your python install. you can reinstall as just me, or there are a few hacks here on SO.
did you try both 32 and 64 bit python versions? the library version you install has to match the python install, not necessarily the windows install. you can have a 32 bit python installation on a 64 bit OS installation, but if you try to install the 64 bit library on that combination, it won't see python.
So I've been working with python 2.7 no problem for a while now. I've been using pip for a couple of months without issue. I recently installed virtualenv and now none of my pythons or pip can find vcvarsall.bat, even though this wasn't a problem before. I thought virtualenv seemed like a good idea, but not if it breaks everything around it. I tried to run repair on VS C++ but it didn't find any problems. Has anyone run into something like this before?
Seems that the problem is that Python 2.7 64 bit has a compilation problem. It would seem that I need to download a special package from MS to get access to 64-bit c/c++ compiler that's compatible with Python 2.7. Not a problem, except that's its 3 gigabytes. So, I just did it on my Linux VM and Windows Python 2.7 is 32-bit for me now. Not the best solution, but we're supposedly going to upgrade to Python 3 one of these years. Probably about when Python 4 comes out and the Python 3 compiler is obsolete too. C'est le vie!