So, I've looked at several different sources, but I cannot find anything that has worked. At first, I got "no module called tensorflow", so I tried installing again (on windows 64-bit), and tried both anaconda and also pip, using the following wheel: https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.1-cp35-cp35m-win_amd64.whl, and yes I used "--ignore-installed". Both said something along the lines of "this wheel is not supported on the platform". I hate to bring up a topic which has already been brought up, but I've looked through stack overflow and tried out all the proposed solutions, and none solved the issue. I'd really appreciate any help, I've been stuck on this for a few days. Here are some specifications that might give some insight. Python is 3.6 64-bit, anaconda 4.3 64-bit, my system is obviously 64-bit. Thanks in advance!
The wheel you used is for Python 3.5 64-bit, it will not work with Python 3.6. Either download the Python 3.6 version or use it with Python 3.5.
The wheel's filename holds this information, the cp35 part means Python 3.5 (CPython, actually, but that's the ordinary Python you use), win means Windows and amd64 means 64 bit.
Related
I am new to programming and I'm attempting to run pypy 3.7 on windows for a project and have had zero success. My partner found
these instructions but following them didn't seem to work. Is the problem with the prompt, installation, python, anything else?? Any and all help would be very appreciated, thank you.
You may have an incompatible Python version. PyPy doesn't support the latest version of Python 3.5, so you may need to install an earlier version of Python.
Also follow this thread: How to install Pypy for Python 3.5?
I have two python versions on my computer 2.7 and 3.4.1 . I have tried to install numpy by pip3.4 which resulted with vcvarsall.bat not found which i am pretty sure it is included in system path. Then i gave up downloaded numpy binary numpy-1.8.1-win32-superpack-python3.4.exe. And during the installation it tells me that numpy cannot find python 3.4 in the registry which i see that it is there also.
HKEY_LOCAL_MACHINE
-SOFTWARE
--Python
---PythonCore
----2.7
-----Help
-----InstallPath
-----Modules
-----PythonPath
----3.4
-----Help
-----InstallPath
-----Modules
-----PythonPath
so what has left me to do from here? My system is windows 7 64 bit.
There is an easier fix, remove and re-install python, in the beginning of python setup when you are asked if you want to install python for all users or just this user, select this user only.
That way the registry goes into current user by default and can be found easily by successive software packages. Tried it myself, worked like a charm.
Just a simpler option for technologically less literate people like myself.
But if you need it for multiple users on a PC then you have got to edit the registry and put it in manually, from local machine to current user. Copy it like explained in previous comments.
When installing numpy on Windows you have to ensure that you are using a .exe for the corresponding Python installation.
As you're using Python 3.4.1 you have to use an installer for Python 3.4.1. The installer that you were using was last modified on 25th March which is before 3.4.1 was released. This suggests it was for 3.4.0 and so will not work.
If you need up-to-date Windows installers for numpy (as well as a large host of other packages) they can be found here.
This steps work for me with windows 8.1 64bits
The problem is that some module installers look in the wrong place for Python version information.
For example, in the case of this one module, the installer was looking for HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\3.4 in the registry.
I found that my Python 3.4 installer had placed this information in HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.2 instead.
Once you know the reason, solving it is easy.
Open Registry Editor (may need administrator privilege) and export HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.4 into a text file.
Open the exported .reg file in a text editor and replace the HKEY_LOCAL_MACHINE entries to HKEY_CURRENT_USER.
Add these new entries back to the registry (here is how).
The module installer should now be able to proceed without throwing the error.
ref: http://codeyarns.com/2012/04/28/python-version-not-found-in-registry-error/
I have just faced a similar issue ("numpy cannot find python 3.4 in the registry") when installing numpy-1.9.1-win32-superpack-python3.4.exe. The solution was to install the python-3.4.2.msi instead of python-3.4.2.amd64.msi.
You are trying to install the 32 bit version of numpy on a 64 bit installation of python. It doesn't look to me like you can download 64bit scipy from sourceforge so a solution is to install a 32bit version of python.
Abilio Faria gave the answer. Another answer in another thread over here
I think the changing of the registry works quite well.
Worked wonders for me... quick fix:
http://codeyarns.com/2012/04/28/python-version-not-found-in-registry-error/
I am trying to install biopython to run with Python 3.3 on a Windows7 computer.
I have downloaded the biopython executable biopython-1.61.win32-py3.3-beta.exe. When I attempt to run the executable, however, I get the message "Python version 3.3 is required, which is not found in the registry." Python version 3.3 is present on my computer. I have been running programs through it for a month or two. It was installed from the file python-3.3.0.amd64.msi, and is located in the Program Files (x86) directory.I have tried reinstalling Python 3.3 but get the same error message.
Does anyone know how to get around this problem?
Python.org provides Windows installers in two flavours, 32 bit ("win32") and 64 bit ("amd64"). You need matching library installers for your Python version. You are trying to use a 32 bit Biopython installer with a 64 bit Python.
As instructed here http://biopython.org/wiki/Download there are experimental 64 bit Windows installers for Biopython, NumPy, etc here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
Or, you can install the 32-bit version of Python 3.3 for Windows, and then use biopython-1.61.win32-py3.3-beta.exe
You can try to solve this problem by fixing a blank option in the Windows registry.
https://stackoverflow.com/a/11507968/3962648 provide details of similar issue when installing numpy.
In short, you can just run the windows command line and type in: "reg copy HKEY_LOCAL_MACHINE\SOFTWARE\Python HKLM\SOFTWARE\Wow6432Node\Python /s"
probelm is windows 64bit and biopython 32bit...
to get the 64bit version of biopython get this one:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
For some reason my 64 bit EPD can't import wx.
I also tried to install the wxPython2.8-osx-unicode-py2.7 version from the wx site.
It installed successfully, but is no where to be found on my harddrive.
I checked the sitepackes for 2.7 and the EPD 7.2.2. where all the modules usually should be installed.
I am confused.
This raises a similar question.
How can I install modules that are not part of EPD ?
I also didn't have luck to install other modules.
And every time I try to import older modules it doesn't work as well.
Often I get error message that architectures in universal rapper is wrong.
For example pygame doesn’t have a 64 bit version that works with 2.7, so I installed the 32 bit version.
If I try to do the trick arch -i386 /Path to python , I get "Bad CPU type in executable".
I am running a 64bit version of Python on a 64 bit Mac OS.
I wonder if the Enthougt 7.2 is equivalent with the 2.7 Python.
And if not, what I assume, what the differences are.
Any hints who can solve this, would be awesome.
Thanks for your patients.
I had the same problem. The only way around it that has worked for me is to uninstall your EPD version ($ sudo remove-EPD-7.2-1, or whichever version you have) and reinstall the 32 bit version. Wx comes as part of the EPD package, so once you have downloaded the 32 bit version there is no need to download and install wx.
Hi
I just want to install mercurial but for all versions it needs python 2.6, I tried to use .rpm file but the only thing I got is lots of lines full of error which tells: need old versions before 2.6 and after 2.5 which is installed on my linux. any help would be appreciated.
Bests
Go to ActiveState and download their versions: https://www.activestate.com/activepython/downloads
It's much easier than using the .rpms.
Which distribution are you using? I would recommend you to upgrade your system to a newer version of your linux distro, whatever it is. Modern Linux distros are using at least python2.6 now.
If you do not want to upgrade your system with various reasons, ActiveState's python version as stated in Jasie's answer is good for your cause. It installs python in your system without breaking anything, just you have to add some lines in your .bashrc to force system find your ActiveState python installation before the system's python.
Another alternative would be installing earlier version of mercurial which supports the python version installed on your system. But I would not recommend you to do so..
Among these, my suggestion is upgrading your system to a merely "up-to-date" version, so that python2.6 or higher is installed on your system.