64 bit pygame installation and error - macos

When I install a 64 bit python 2.7 on mac yosemite, i cant get the pygame for python 2.7 to work on it because the python 2.7 is a 64 bit version and the pygame is a 32 bit version, so what should I do

Download the 32 bit (x86) version of python, as pygame does not support 64 bit.

Related

I Need to install sdl 1.2.15 in mingw (Windows 64bit)

Is there a way to install the old sdl 1.2.15 in mingw on Windows 10 for 64 bit. Everything I find is either only for 32 bit or for 64 bit but only for linux. I also need to install sdl gfx and sdl ttf.
SDL 1.2.15 builds fine under MSYS2 using ./configure and make.
Or you can just get the MSYS2 package (see https://packages.msys2.org/package/mingw-w64-x86_64-SDL) using pacman.

pip install cx_Freeze-5.0.2-cp36-cp36m-win_amd64.whl to my window 10 machine

Tryng to pip install cx_Freeze using:
python -m pip install c:\Users\yosief\Downloads\cx_Freeze-5.0.2-cp36-cp36m-win_amd64.whl
on Window 10 based laptop and I end up with an error
cx_Freeze-5.0.2-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform
There are several reasons why you may not be able to install cx_Freeze but luckily it is generally easy to correct.
You should just be able to install cx_Freeze with pip install cx_Freeze. No need to download the wheel.
However if you want to use the wheel file. You should know have downloaded the x64 version for Python 3.6. Your Python installation must be an x64 build and the Python version 3.6.
Check the Python version and build by opening the Python interpreter. The version will be displayed at the top as well as the build.
For example on my PC the interpreter reads:
Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
So I know the version is 3.6.3 and is 32 bit (MSC v.1900 32 bit). Take no notice of on win32 it does not give you the right windows build in some cases.
If the build or version is different from what you have downloaded then you must re download the wheel to match the Python build and version.
Then install the wheel file as you did above.

install 32 bit program from installer on 64 bit machine

With some installers that I have (i.e. fiddler, hex workshop) I see that if I take the installer file to a 64 bit machine, it installs a 64 bit version of the program, but if I take the same installer file to a 32 bit machine, it installs the 32 bit version of that program.
My question is - how can I force the installer to install a 32 bit version of the program on a 64 bit machine?

64 bit version of Osm2pgsql for windows

Does anyone know the location of a 64 bit version of "Osm2pgsql.exe" for windows? I can only find a 32 bit version.

ZODB 3 for 64 bit windows

I tried to install ZODB3 for 64 bit Python 2.7 with pip. This installation requires a local compiler to compile the BTrees extension. As I do not have the needed MS compiler installed:
Is there a binary 64 bit Windows installer for ZODB on Python 2.7 ? I used Google but did not succeed
Is BTrees really required or can I install ZODB3 without BTrees ?
Cherrs, Uwe.
The ZODB3 package comes with pre-compiled eggs for Windows, see the PyPI page for ZODB3.
You need to tell pip explicitly that it needs to install an egg; it normally does not support installing from an egg:
pip install --egg ZODB3
Alternatively, you could use easy_install instead.
Struggling with ZODB3 easy_install/pip/compiler woes on Windows? Try Christoph Gohlke's "Unofficial Windows Binaries for Python Extension Packages" download page:
64 and 32 bit ZODB3 binaries packaged as .exe installers are available for python 2.5/2.6/2.7: http://www.lfd.uci.edu/~gohlke/pythonlibs/#zodb3
You will need to run the appropriate zope.interface installer from the same source first: http://www.lfd.uci.edu/~gohlke/pythonlibs/#Zope.interface

Resources