64-bit

Python win32com – Class not registered error

Python win32com – Class not registered error Question: I’m trying to control a device (Gamry Interface 5000 Potentiostat) via its COM interface using win32com. # Imports import win32com.client as client # Get device list devices = client.Dispatch(‘GamryCOM.GamryDeviceList’) # Iterate through devices for i in range(devices.Count()): # Get device (this wors as we only have one …

Total answers: 3

How to create zip64 archive using shutil.make_archive

How to create zip64 archive using shutil.make_archive Question: Python code snippet which creates creates zip archive file from a folder. shutil.make_archive(file_path, ‘zip’, folder_path) I am getting this error : Filesize would require ZIP64 extensions. How to create ZIP64 archive file using shutil.make_archive? Note: I cannot use zipfile.ZipFile function. Asked By: Yogesh Dhanapal || Source Answers: …

Total answers: 1

howto install pygraphviz on windows 10 64bit

howto install pygraphviz on windows 10 64bit Question: Has anyone succeeded in installing pygraphviz on windows 10 64bit? I tried anaconda with python 3.5 64bit & 32bit with no success. Here is the error I am getting with python 3.5 32bit on win10 64bit python -m pip install pygraphviz –install-option=”–include-path=C:Program Files (x86)Graphviz2.38include” –install-option=”–library-path=C:Program Files (x86)Graphviz2.38lib” …

Total answers: 9

Issue compiling using py2exe on Windows 7 x64

Issue compiling using py2exe on Windows 7 x64 Question: I am using py2exe to compile my script into an exe file to run on Windows, but I am hitting errors based on my OS, which is Window 7 x64. I am running the below script in cmd using execmaker.py py2exe: from distutils.core import setup import …

Total answers: 5

Matplotlib – Python Error

Matplotlib – Python Error Question: Setup: Processor : x86_64 Operating System: GNU/Linux Distro: Fedora Release 13 (Goddard). Python 2.6.4 /usr/bin/python Here is the following issue: I am trying to generate a few graphs using Matplotlib and Python. As I hear from a majority of the solutions3.. there seem to be compatibility issues between matplotlib and …

Total answers: 1

Which python to install if I have an Intel Core i7 and 64-Bit Windows 7?

Which python to install if I have an Intel Core i7 and 64-Bit Windows 7? Question: I have to install Python 2.5.4 from http://www.python.org/download/releases/2.5.4/ which is required for the pcraster program. However there are three python choices For x86 processors: python-2.5.4.msi For Win64-Itanium users: python-2.5.4.ia64.msi For Win64-AMD64 users: python-2.5.4.amd64.msi I know I have Win64 but …

Total answers: 4

Are there benefits to running X86-64 Python on a 64-bit CPU in a 64-bit OS?

Are there benefits to running X86-64 Python on a 64-bit CPU in a 64-bit OS? Question: What kind of benefits are there to running the amd64 builds of Python and extensions? (Lots of extensions compiled for amd64 here.) I have an i5 processor and Win7 64-bit, so it seems like it would be appropriate. But …

Total answers: 5

Detect 64bit OS (windows) in Python

Detect 64bit OS (windows) in Python Question: Does anyone know how I would go about detected what bit version Windows is under Python. I need to know this as a way of using the right folder for Program Files. Many thanks Asked By: William Troup || Source Answers: I guess you should look in os.environ[‘PROGRAMFILES’] …

Total answers: 23

Is it safe to use sys.platform=='win32' check on 64-bit Python?

Is it safe to use sys.platform=='win32' check on 64-bit Python? Question: The usual check to differentiate between running Python-application on Windows and on other OSes (Linux typically) is to use conditional: if sys.platform == ‘win32’: … But I wonder is it safe to use today when 64-bit Python is more widely used in last years? …

Total answers: 4

How do I detect if Python is running as a 64-bit application?

How do I detect if Python is running as a 64-bit application? Question: 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 application or as a 32-bit application? (I’m …

Total answers: 2