-
Where does KnobKraft-orm expect to find Python 3.10? I have KnobKraft-orm 1.14.1 and Python 3.10.2 and installed on my Mac (OSX High Sierra 10.13.6). Also, I'm not sure I installed KnobKraft-orm correctly, I dragged the .app and the bin and python folders into the Applications folder. Is this right? Sorry for the noob questions. My goal is to create implementations for the Prophet 5 rev 3.3, Matrix-12 and Memorymoog LAMM. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Thank you for asking the question, I had planned to document that somewhat better anyway! The problem with macOS is that there are so many different ways to install Python, and I didn't find out how to bundle it correctly as a Framework. The following ways to install python I know:
The code in the Orm is found in the directory
More in-depth fun, more to remind myself:
I would recommend using the installer downloaded from python.org, that should give you the best control. And yes, the KnobKraft Orm can be installed by dragging it into the application folder, I might even remember the python folders and the bin folder is a bug and shouldn't be there. |
Beta Was this translation helpful? Give feedback.
-
My mac actually has Python 2.7.16 installed (which I assume was the OSX default), and also had 3.3 installed from another project which I now updated to 3.10.2. I will keep trying & report what if anything works. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Ok it seems KnobKraft 1.5.0 and 1.14.1 do not run on OSX 10.13.6. Version 1.13.4 does, with [email protected] installed as follows:
|
Beta Was this translation helpful? Give feedback.
-
@rssalerno Thank you for the heads up! So this is simlar to the situation on Windows 7, which Python stopped supporting and Windows 7 users are stuck on Python 3.8 unless they try to compile Python themselves for the old OS. The correct solution would be to bundle the Python as a framework with the app, but my tries so far haven't been successful. Then again, when I target the old mac OS versions, I need to stay on python 3.8 as well, which no longer gets binary releases for the security patches. Sigh. Thanks again for your tests! |
Beta Was this translation helpful? Give feedback.
-
It is a nice feature that the application itself searches some known places where Python may be installed on MacOS 👍 How about having this as a configurable location if the application is not able to itself locate Python? This would enable people to freely upgrade KnobKraft and work around any new non-standard installation locations. New "known locations" for Python can be added to the application source retroactively. The application could first see if any of the known paths contains Python, and if it can't be located, it could ask the user to browse to locate the directory where Python is installed. It could also offer to browse to python.org to download the installer. Homebrew currently installs Python 3.10 to $ ls -l /usr/local/opt/[email protected]/
total 64
drwxr-xr-x 3 rune admin 96 Jun 6 14:05 Frameworks
drwxr-xr-x 3 rune admin 96 Jun 6 14:05 IDLE 3.app
-rw-r--r-- 1 rune admin 3973 Jun 28 13:24 INSTALL_RECEIPT.json
-rw-r--r-- 1 rune admin 13931 Jun 6 14:05 LICENSE
drwxr-xr-x 3 rune admin 96 Jun 6 14:05 Python Launcher 3.app
-rw-r--r-- 1 rune admin 10138 Jun 6 14:05 README.rst
drwxr-xr-x 15 rune admin 480 Jun 28 13:24 bin
drwxr-xr-x 3 rune admin 96 Jun 6 14:05 lib
drwxr-xr-x 4 rune admin 128 Jun 6 14:05 libexec
drwxr-xr-x 3 rune admin 96 Jun 6 14:05 share $ brew info [email protected]
[email protected]: stable 3.10.5 (bottled) [keg-only]
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/usr/local/Cellar/[email protected]/3.10.5 (3,167 files, 57MB) *
Poured from bottle on 2022-06-28 at 13:23:56
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/[email protected]
License: Python-2.0
==> Dependencies
Build: pkg-config ✔
Required: gdbm ✔, mpdecimal ✔, [email protected] ✔, readline ✔, sqlite ✔, xz ✔
==> Caveats
Python has been installed as
/usr/local/opt/[email protected]/bin/python3
|
Beta Was this translation helpful? Give feedback.
Ok it seems KnobKraft 1.5.0 and 1.14.1 do not run on OSX 10.13.6.
Version 1.13.4 does, with [email protected] installed as follows:
$ brew install [email protected]
$ cd /usr/local/opt/
$ ln -s [email protected] python3