pythoner - youtube tutorials not working on OSX
-
dear troikatronix,
thanks for your youtube tutorials!
i encountered a problem on osx sequoia 15.2 / mbp 2021 M1 Pro (arm) / isadora 4.0.9 (rosetta):
i followed both pythoner tutorials Getting Started with pythoner and Beginner’s Guide to MediaPipe Tracking in Isadora
the installation and activation of the virtual environments with the apple-scripts worked fine (numpy/pillow/mediapipe "...install OK").
"Get a list of IMAGE URLS via webscraping" in the examplefile works.
BUT the interpreter shows a red (!!)-sign whenever numpy or pillow is involved. when i click on [OK] the interpreter in the example-files (eg. pythoner_examples_v0.4.izz / "Load an Image from the WEB and output to Isadora") says:
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there. (Module_A0LRGrXqdi.py, line 1)pillow also produces a strange error. i did not set any arm64 or x86_64 variables. shouldn't isadora automatically chose x86_64 running in rosetta or maybe the "installer script" with pip recognized the M1 chip and installed the arm versions which do not work because i'm in rosetta? (see screenshots).
do you have an idea what's wrong?
thanks
-
@zimt said:
do you have an idea what's wrong?
- Have you tried this not in Rosetta?
- The lines in the error in the second screenshot that says "but is incompatible architecture (have 'arm64', need 'x86_64')" makes me think that perhaps some of the modules used in those tutorials are Windows-only.
-
@zimt said:
isadora 4.0.9 (rosetta):
I haven't tried this on Mac in Rosetta mode to be honest. Its possible that Python is looking at the system architecture during the install of the python modules, and they are ARM specific. Rosetta may introduce a mis-match.
Have you opened a support ticket? If you do, I'll go through it with you to figure out what's going on.