Linked Questions
66 questions linked to/from How do I determine if my python shell is executing in 32bit or 64bit?
130 votes
2 answers
171k views
How do I detect if Python is running as a 64-bit application? [duplicate]
I'm doing some work with the Windows registry. Depending on whether Python is running as 32-bit or 64-bit, certain key values will be different. How can I detect whether Python is running as a 64-bit ...
13 votes
2 answers
21k views
Python - check if a system is 32 or 64 bit to determine whether to run the function or not? [duplicate]
Possible Duplicate: How do I determine if my python shell is executing in 32bit or 64bit mode? I made a question earlier that never got replied to, but I have something more specific now so ...
0 votes
0 answers
90 views
How does one distinguish between 32 and 64 bit python? [duplicate]
I've come to a question regarding how to install 32 bit Python on Linux and another one on Windows. After reading I decided to find out which python I had, if it was 32 or 64 bits. I've tried the ...
476 votes
31 answers
952k views
Error "filename.whl is not a supported wheel on this platform"
I would like to install scipy-0.15.1-cp33-none-win_amd64.whl that I have saved to the local drive. I am using: pip 6.0.8 from C:\Python27\Lib\site-packages python 2.7.9 (default, Dec 10 2014, 12:28:03)...
383 votes
10 answers
246k views
_csv.Error: field larger than field limit (131072)
I have a script reading in a csv file with very huge fields: # example from http://docs.python.org/3.3/library/csv.html?highlight=csv%20dictreader#examples import csv with open('some.csv', newline='')...
227 votes
8 answers
998k views
Unable to allocate array with shape and data type
I'm facing an issue with allocating huge arrays in numpy on Ubuntu 18 while not facing the same issue on MacOS. I am trying to allocate memory for a numpy array with shape (156816, 36, 53806) with ...
133 votes
11 answers
166k views
Installing SetupTools on 64-bit Windows
I'm running Python 2.7 on Windows 7 64-bit, and when I run the installer for setuptools it tells me that Python 2.7 is not installed. The specific error message is: `Python Version 2.7 required ...
58 votes
9 answers
74k views
Python version 2.6 required, which was not found in the registry
Can't download any python Windows modules and install. I wanted to experiment with scrapy framework and stackless but unable to install due to error "Python version 2.6 required, which was not found ...
41 votes
7 answers
140k views
"Python version 2.7 required, which was not found in the registry" error when attempting to install netCDF4 on Windows 8
I use Anaconda 1.7, 32 bit. I downloaded the correct version of the netCDF4 installer from here. I attempted to copy the HKEY_LOCAL_MACHINE\SOFTWARE\Python folder into HKEY_LOCAL_MACHINE\SOFTWARE\...
26 votes
12 answers
26k views
Python MySQL wrong architecture error
I've been at this for some time and read many sites on the subject. suspect I have junk lying about causing this problem. But where? This is the error when I import MySQLdb in python: >>> ...
37 votes
4 answers
48k views
Which command to use for checking whether python is 64bit or 32bit
I am not able to find any command to check if my python is compiled for 32bit system or 64bit system. I tried python and it only tells the version Also when I go to python download site they have ...
10 votes
2 answers
19k views
Installing python-ldap in a virtualenv on Windows
I'm working on a Django project that is using an ldap authentication module. This is working on our server but I am running into issues getting this running on my windows dev machine. My environment ...
10 votes
6 answers
39k views
Python: get windows OS version and architecture
First of all, I don't think this question is a duplicate of Detect 64bit OS (windows) in Python because imho it has not been thoroughly answered. The only approaching answer is: Use sys....
23 votes
7 answers
49k views
How to fix errors occurring on installation of Jupyter Notebook
I am new to Python and try to install Jupyter Notebook from within a Windows command prompt window using: pip install jupyter But after a couple of minutes of downloading, an error message is ...
12 votes
4 answers
51k views
Python Ctypes - loading dll throws OSError: [WinError 193] %1 is not a valid Win32 application
I have tried to run an exemple of a python code that gets a function from a library using ctypes. The exemple can be found here. I followed the instruction and beside one minor modification, I have ...