- Posts: 5711
- Thank you received: 2100
new install, now cant import tkinter
- phillc54
- Offline
- Platinum Member
-
Less
More
6 years 5 months ago #166558
by phillc54
Replied by phillc54 on topic new install, now cant import tkinter
Could be something to do with the Python3 work being done on master, I would stick with 2.8 at this stage unless there is something specific you need from master.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Visitor
-
6 years 5 months ago #166563
by BeagleBrainz
Replied by BeagleBrainz on topic new install, now cant import tkinter
Try
Code:
sudo apt-get install python3-tk
Please Log in or Create an account to join the conversation.
- bbsr_5a
- Offline
- Platinum Member
-
Less
More
- Posts: 544
- Thank you received: 106
6 years 5 months ago #166585
by bbsr_5a
Replied by bbsr_5a on topic new install, now cant import tkinter
someone shoudt update the install process on UPDATE to Master
to get the python3-tk ito depencies needed
to get the python3-tk ito depencies needed
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
6 years 5 months ago #166592
by rodw
To be fair Python3, is stilla work in progress for LInuxcnc and a lot of PR's were pushed to master bracnh over the last few days.... It would be best to log an issue in git hub.
Replied by rodw on topic new install, now cant import tkinter
bbsr_5a wrote: someone shoudt update the install process on UPDATE to Master
to get the python3-tk ito depencies needed
To be fair Python3, is stilla work in progress for LInuxcnc and a lot of PR's were pushed to master bracnh over the last few days.... It would be best to log an issue in git hub.
Please Log in or Create an account to join the conversation.
- owhite
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
6 years 5 months ago #166614
by owhite
Replied by owhite on topic new install, now cant import tkinter
just following up in case anyone else follows this thread - unfortunately I was not able to fix it until I did a reinstall from here:
forum.linuxcnc.org/9-installing-linuxcnc...onic-beaver-mint-iso
...which is a great iso
forum.linuxcnc.org/9-installing-linuxcnc...onic-beaver-mint-iso
...which is a great iso
Please Log in or Create an account to join the conversation.
- arvidb
- Offline
- Platinum Member
-
Less
More
- Posts: 459
- Thank you received: 158
6 years 4 months ago - 6 years 4 months ago #170114
by arvidb
Replied by arvidb on topic new install, now cant import tkinter
I just ran into this as well. The problem seems to be that /usr/bin/update_ini has been (partially) updated for python-3, but is still set to use python-2.7. I modified the file and got it working again. See the attached patch file.
Edit: Apply like this:
Edit: Apply like this:
Code:
cd /usr/bin
sudo patch -N < path/to/update_ini.patch
Last edit: 6 years 4 months ago by arvidb.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 2.777 seconds