NumPy on Python 3.3 on Windows 8 - python

I am trying to get NumPy to work on my new Windows 8 installation, with Python 3.3 installed. When I try (both) installers from here, they crash when I click 'Install'.
Has anyone had success with the same setup?
EDIT: Error image:

It seems, from the capture, that your trying to instal version:
numpy-unoptimized-1.6.2.win32-py3.3.‌exe
However, I just checked the site this morning, and the latest available version is:
numpy-unoptimized-1.6.2.win32-py3.2.‌exe
Have you tried the installer again lately (using the latest build)?

Related

Reason: Incompatible library version: QtWidgets.so requires version 5.10.0 or later, but QtWidgets provides version 5.7.0

I'm a complete newbie when it comes to Python programming and I would like to dive myself into Python GUI application programming and have been trying to get Pyforms to work on my Macbook 12" 2017 running macOS High Sierra 10.13.3
I followed the instruction listed on pyforms documentation website right here on how to install it.
I installed python on my mac with this tutorial right here:
For the last 20 hours or so I've been dumbfounded by this error that I kept getting whenever I tried to run the example.py that they provided on this page
The error on the terminal whenever I tried to execute python example.py is:
Reason: Incompatible library version: QtWidgets.so requires version 5.10.0 or later, but QtWidgets provides version 5.7.0
I don't understand why this happens as I've made sure to install PyQt5 using pip install pyqt5 and it installed the latest 5.10.0 version.
I'm a total beginner when it comes to this, I tried to google a bunch of stuff and followed multiple tutorials to no avail. So now I have to turn to the professionals in stackoverflow.
Any help would be much appreciated, thank you!

Library Install Fails - fintech 4.3.0

I am attempting to pip install the fintech library (I get the same error with easy_install) but it is returning "Sorry, platform or Python version not supported."
I am running 3.5.2 in venv in OSX (I get the same error with 2.7 as well as in Windows). The latest version of the package was upgraded to support 3.5.
Any idea what I am doing wrong?
EDIT: Python is 64bit and here is the full message.
EDIT 2: Looking into it - it seems this is the core of the issue. It attempts to download the package by generating a URL with this code:
extension = Extension(nativestring('fintech'), [nativestring(
'http://www.joonis.de/pyfintech/v%s/fintech-%s-py%s-ucs%i-%s-%sbit.zip' % (
PKG_VERSION,
PKG_VERSION,
'%i.%i' % sys.version_info[:2],
sys.maxunicode == 0xffff and 2 or 4, # UCS-2 or UCS-4
platform.system().lower(),
struct.calcsize(b'P') * 8, # Py2.6 requires a byte string
))], language='download')
The URL that is generated by my system is: http://www.joonis.de/pyfintech/v4.3.0/fintech-4.3.0-py3.5-ucs4-darwin-64bit.zip which does return 404 from the server.
EDIT3: It appears that it is the -darwin- that is causing the issue. Both -windows- and -linux- generate good URLs. I will see what the URL generated on my windows machine is later on today.
EDIT4: My Windows python version was 32bit which is what was causing the issue there. So from what I can tell you need 64bit python running on linux or windows to use this package.
This package requires 64bit Python and only seems to support windows and linux.
EDIT: The developer has gotten back to me and has uploaded a binary for python 3.5 and 3.4.
Note - they state "...the compiler has some issues on macOS with Python 3."

Pygame giving architecture error

Hi I am trying to get pygame to work but I am getting an architecture problem. Is this because I am on a 64bit Mac. I have checked that base.so is in the framework library as it suggests. Using Python 2.7.5 and my mac is fully up to date with OS X 10.9.2.
Uninstalled Python (all versions) reinstalled Python 2.7.3 Intsalled pip then everything else. Now all is working well.

Python IDLE wont' start (Mac) - Problems from a Python/Unix newbie

Months ago, I installed Python 2.7 on my MacBook Pro (OS 10.8.5) and was using IDLE to run programs for classes I was taking on Udacity. One morning IDLE would no longer start, it would just bounce around on the dock and then close. I was eventually able to get things working again by installing Python 3.3 and using that IDLE.
A few days ago, I tried to get 2.7 working again by uninstalling all versions of Python and reinstalling using Macports. (To uninstall, I simply deleted the Python folders in my application folder, the Python.framework file in /Library/Frameworks and some symlinks in /usr/local/bin. Got the idea from another post here: How to uninstall Python 2.7 on a Mac OS X 10.6.4?)
Now no version of Python is working for me. When I try to start IDLE, I get the following error message in the Console:
2/7/14 10:28:02.556 PM com.apple.launchd.peruser.502[151]: ([0x0-0xc80c8].org.python.IDLE[819]) Exited with code: 1
The Python in the terminal still works, by the way. I also tried installing another IDE, PyCharm, but that doesn't work either (I get a message saying No Python interpreter selected)
If you are using a MacPorts Python, you will need to install the corresponding py*-tkinter port to use any Tkinter-based Python app, including IDLE. Try:
sudo port install py27-tkinter

Error trying to coexist Python 2.7.5 and Python 3.3.2 on Windows 7

I'm hearing the call to move my Python code from 2 to 3, so I'm trying to setup Python 3 on my Windows 7 box that already has Python 2.7.5 on it. The python 2 version is 64 bit and so is the Python 3 version that I've most recently installed. I am worried, however, that I might've installed and uninstalled a 32 bit version of Python 3.3.2 by accident and that remnants from it are causing the following error to be thrown when I attempt to edit my code with IDLE.
"The application was unable to start correctly (0xc000007b)."
I checked my registry key and this occurs when the Python 33 Idle is being used. Additionally I tried to use Dependency Walker on it, a program I am unfamiliar with, and got the following "errors." The system cannot find the following files.
API-MS-WIN-CORE-COM-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
API-MS-WIN-SHCORE-SCALING-L1-1-0.DLL
DCOMP.DLL
IESHIMS.DLL
Additionally, I see that Python33.dll is x86 instead of x64.
Copying the answer from the comments in order to remove this question from the "Unanswered" filter:
OK, so I figured out the answer to my own problem and just decided to
answer it here for anyone else who ran, has run, or will run into the
same problem. So the issue is with the Python33.dll. It seems if you
install the 32bit version of Python 3 then install the 64bit version,
you'll still have the 32bit version of the Python 33.dll. I just
deleted the .dll and repaired my 64bit installation of Python 3 and
now the IDLE editor works correctly from the context menu. Who knows
what other errors I have, however :)
~ answer per Karsten Chu

Categories