|
|
|
02-07-2018, 04:59 AM
|
#1
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
How to get tkinter to work on mac?
Hi all,
We have some python scripts that work smoothly on a pc, but we can't get them to work on a mac. Seems that problem is related to tkinter module.
import tkinter
ImportError: No module named tkinter.
Using OSX 10.9.5 (tried on some others as well), installed ActiveTcl 8.6.7 and using Python 3.6.4.
There are many documentation in Google and even these forums but I could not make it work. Thanks for the support.
|
|
|
02-07-2018, 02:59 PM
|
#2
|
Human being with feelings
Join Date: Dec 2014
Location: Ruhr Area, Germany
Posts: 977
|
I was curious, what tkinter is and found this:
https://www.python.org/download/mac/tcltk/
Maybe it helps. The versions of TCL and Python don't seem to fit to each other.
__________________
Greetings from Germany
Chris
|
|
|
02-08-2018, 01:26 AM
|
#3
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
Thanks for your reply! Yep, I tried that but nothing seems to work. Surely I'm skipping something!
|
|
|
02-08-2018, 02:30 AM
|
#4
|
Human being with feelings
Join Date: Dec 2014
Location: Ruhr Area, Germany
Posts: 977
|
If you tried Python 3.6.4 with ActiveTCL 8.5.18 and it still doesn't work, you should discuss that in a Python forum. Here it's pretty off topic, I think.
Maybe try this:
https://python-forum.io
__________________
Greetings from Germany
Chris
|
|
|
02-08-2018, 02:59 AM
|
#5
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
Quote:
Originally Posted by Aymara
If you tried Python 3.6.4 with ActiveTCL 8.5.18 and it still doesn't work, you should discuss that in a Python forum. Here it's pretty off topic, I think.
Maybe try this:
https://python-forum.io
|
Thank you, I'll try that.
|
|
|
02-08-2018, 04:22 AM
|
#6
|
Human being with feelings
Join Date: Dec 2014
Location: Ruhr Area, Germany
Posts: 977
|
You're welcome ... don't forget to report back, if you find a solution, just in case someone else might have similar issues.
__________________
Greetings from Germany
Chris
|
|
|
02-08-2018, 06:50 AM
|
#7
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
So they did help. It seems like Reaper is calling for Python 2.7 instead of 3.6.
Most likely is Reaper preferences.
Do any of you have the right "custom path to Python dll directory" and if we have to set anything in "Force ReaScript to use specific Python .dylib?
OSX seems to force 2.7 version somehow by default.
|
|
|
02-08-2018, 07:48 AM
|
#8
|
Human being with feelings
Join Date: Jun 2011
Location: Belgium
Posts: 5,246
|
Following.
I am on 10.9.5 too and had a struggle with python 3.6.4 paths too. Whatever file I changed, MY Terminal (zShell) kept reporting python 2.7 active. Wasted half a day, trying to pin it down. In MY case, the reporting tool was wrong. 3.6.4 was active.
It's for something completely unrelated to audio and that works.
I still don't understand which files/process sets paths on OSX.
__________________
In a time of deceit telling the truth is a revolutionary act.
George Orwell
|
|
|
02-08-2018, 07:48 AM
|
#9
|
Human being with feelings
Join Date: Dec 2014
Location: Ruhr Area, Germany
Posts: 977
|
__________________
Greetings from Germany
Chris
|
|
|
02-08-2018, 08:10 AM
|
#10
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
|
|
|
02-16-2018, 01:17 AM
|
#11
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
No answer, I'm afraid. According to Python forums ( https://python-forum.io/Thread-tkint...39124#pid39124) it should work beacause testing GUI works, but somehow Reaper goes for Python 2.7 instead of the one installed, 3.6 No matter what, I can't make it work.
Any ideas?
|
|
|
02-16-2018, 02:38 AM
|
#12
|
Human being with feelings
Join Date: Dec 2014
Location: Ruhr Area, Germany
Posts: 977
|
Ehm, Python 2.7 is 32bit only ... have you installed Reaper 64bit ???
__________________
Greetings from Germany
Chris
|
|
|
02-16-2018, 04:17 AM
|
#13
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
Yes. Reaper 64 bits.
|
|
|
02-16-2018, 04:45 AM
|
#14
|
Human being with feelings
Join Date: Dec 2014
Location: Ruhr Area, Germany
Posts: 977
|
Quote:
Originally Posted by ganttictemp
Yes. Reaper 64 bits.
|
Mmh, might that be a Reaper bug then, that it still uses 2.7?
__________________
Greetings from Germany
Chris
|
|
|
02-16-2018, 05:48 AM
|
#15
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
I think it something about OSX that forces somehow to use 2.7 or something like this. Not sure, my head is bumped with this.
|
|
|
02-16-2018, 08:26 AM
|
#16
|
Human being with feelings
Join Date: Dec 2014
Location: Ruhr Area, Germany
Posts: 977
|
Ok, it might be related to the fact, that Mavericks is very outdated.
I would install High Sierra or at least El Capitan on a USB HDD and check out, if it works under a more recent OSX/macOS. You just need an OSX installer USB stick.
That's easy to do at a low cost.
If that still doesn't work, it might be a Reaper issue.
__________________
Greetings from Germany
Chris
|
|
|
02-16-2018, 10:01 AM
|
#17
|
Human being with feelings
Join Date: Jan 2018
Posts: 43
|
Quote:
Originally Posted by Aymara
Ok, it might be related to the fact, that Mavericks is very outdated.
I would install High Sierra or at least El Capitan on a USB HDD and check out, if it works under a more recent OSX/macOS. You just need an OSX installer USB stick.
That's easy to do at a low cost.
If that still doesn't work, it might be a Reaper issue.
|
Yep. I thought about it. I have to give a try. Let you know what happens. Thanks!
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 06:38 AM.
|