Installation of pygtk not working - python

I am running on Windows (64bit version) and have python 2.7 (also 64 bit) installed. I downloaded the all-in-one installer for pygtk for python 2.7, but when I run it, it shows "python 2.7 could not be located on your system". Why is it so when I already have python 2.7 installed?

Currently, the all-in-one installer binaries here are compiled against 32 bits python only. There is no 64 bits binary in there. Install python 2.7 32 bits on your windows and it should work.
Alternatively, you could grab a C compiler, and then try to compile the installer sources. That's a lot harder though.

Did you install a 64bit Python interpreter? The most probable reason
for that message is that the all-in-one installer can't locate a 32bit
Python interpreter (which works fine on 64bit Windows).
http://permalink.gmane.org/gmane.comp.gnome.gtk+.python/15263

Related

How to make 32-bit applications in Python in a 64-bit PC

I use pyinstaller or cx_Freeze whenever I want my Python file to convert it into a .exe package, but the problem is, my PC is 64-bit, and if I make that application, it only runs on a 64-bit PC, that's why I want to know, is there a way to develop 32-bit applications on a 64-bit PC using any module or anything? Please I really need an answer!
Download, install a 32-bit version of python and use that instead of the 64 bit python that you are using.
After installing both a 32 bit and 64 bit version of Python try running the following command to create the required exe distributable.
python -m pyinstaller {args}
Or it can be
python3.5 -m pyinstaller {args}

Scipy on Python 3.5 - manual installation

I downloaded scipy-0.16.1-win32-superpack-python3.4.exe and tried to install it on WinServer 2008 R2 64bit with Python 3.5 preinstalled. SciPy returns error saying that Python 3.4 not found. My server does not have Internet connection, so I have to download and move files manually. Any suggestions? Should I just try to downgrade to Python 3.4? Is it easy to downgrade?
Christoph Gohlke's binaries for Python on Windows are a godsend when you need to install a package that requires a C compiler, like numpy or scipy, though he only tends to host binaries for the latest versions of the packages (but for all current versions of CPython).
When installing these binaries, make sure that the platform on the binary (usually win32 or win_amd64) matches the type of Python you installed (32-bit or 64-bit), and note that it may not match your OS's bit-ness if you installed a 32-bit version of Python on a 64-bit OS.
Since you apparently have a 64-bit version of Python 3.5 installed, the wheel you want is scipy‑0.16.1‑cp35‑none‑win_amd64.whl.

which python 2.7.9 file is the correct file for intell proc tessor

I want to work with scrapy, and the scrapy website suggested to install python 2.7
i went to python website and i saw that the last version of python 2.7 is python 2.7.9
i clicked download and i found this page
https://www.python.org/downloads/release/python-279/
i am using windows 64 bit, so i thought that Windows x86-64 MSI installer is the one that i should use, but then i checked that it is not for intell processor.
could you help me please and tell me which file should i install?
many thanks
The x86-64 msi binary is designed for all Windows 64-bit installations.
If your computer is running Windows 64 bit, then install the x86-64 msi.

Which enthought canopy distribution should I install?

I am running 32 bit Python on a 64 bit system. Which enthought canopy distribution should I install? The 32 bit or the 64 bit?
In other words, do I match the operating system I am using or do I match the Python I am using?
You install a 64bit Operating System.
And you should install a 32bit Python version only if:
The libraries you intend to use does not support a 64bit Python version.
You intend to build your .py into a .exe
You're testing something specific related to the 32bit arch.
Otherwise, install a 64bit Python and a newer python version (Python 3.X) if possible.

Python Markdown 64 bit installation problems

I'm working with Django for python.
I've tried to install Markdown 2.0.3 for python from here http://pypi.python.org/pypi/Markdown but it only has a windows 32 bit version and I have windows 7 64 bit.
When trying to install the 32 bit version an error appears:
No python installation found in the registry
I do have python 2.7 that works perfectly with Django.
Do you have any suggestions?
There is no 64 or 32 bit version of this module. Markdown is a pure-python module and you can install it that way. If the .exe doesn't work for you for some reason, you can always download the .zip version, unpack and run python setup.py install in that directory (provided that python is in your PATH)

Categories

Resources