Python Development on BSD reddit / BSD ---------------------------------------------------------------------- [deleted] · 2018-12-03 02:16 [deleted] ---------------------------------------------------------------------- jaypatelani · 2018-12-03 04:02 pip modules will work too ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-03 04:07 Is it best to install things like tkinter from pip? It won't work after installing it via pkg. ---------------------------------------------------------------------- jaypatelani · 2018-12-03 04:11 I personally use OpenBSD packages whenever possible pkg_add python- tkinter ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-03 04:15 I was using that one, it did not work. ---------------------------------------------------------------------- jaypatelani · 2018-12-03 04:23 Okay do one thing test out like this different bin directory than system defaults https://unitedbsd.com/t/multiple-python-version/38 then try using pip and see what's result.. Jf same error is shown then there must be something else. ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-03 04:30 Same issue, Python works. It's Tkinter that doesn't. I can't find tkinter in pip. ---------------------------------------------------------------------- jaypatelani · 2018-12-03 04:37 Looking at documents of tkinter it looks it doesn't come in pip .. So you have to install packages only ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-03 04:41 Aww :( ---------------------------------------------------------------------- icantthinkofone · 2018-12-03 12:49 I don't know anything about this but, on FreeBSD at least, pip is a separate port/pkg from tkinter. ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-03 12:55 It is on OpenBSD too, the issue appears to be that Tkinter thinks its on Linux IE looking fir things where they'd be on Linux and not working as a product of this. The port appears broken. ---------------------------------------------------------------------- Kernigh · 2018-12-03 22:47 What versions of Python and Tcl/Tk did you have in GNU/Linux? OpenBSD 6.4 packages Python 3.3.6, but its Tkinter uses Tcl/Tk 8.5.19 because OpenBSD never changed the default Tcl version to 8.6. Your program might need a newer version of Python or Tcl. ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-04 00:05 The versions on my GNU/Linux laptop are: Python Version: Python 3.5.3 Tkinter: *I can not find the version as on my GNU/Linux laptop Tkinter comes in Python and not as a separate package, so I am not sure how I'd figure that out. In case this'll help find the version I am on Debian Stretch 9.5*. If you could help me be able to move development over to BSD I will be extremely thankful. ---------------------------------------------------------------------- Kernigh · 2018-12-04 20:21 In Debian Stretch, [python 3.5.3](https://packages.debian.org/stretch/python3) suggests [python- tk 3.5.3](https://packages.debian.org/stretch/python3) which depends on [libtk8.6 8.6.6](https://packages.debian.org/stretch/python3). You fell back from Tk 8.6.6 in Debian to Tk 8.5.19 in OpenBSD. I can't say whether the switch from 8.6.6 to 8.5.19 causes your problem. ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-04 20:23 I just really wanna make this work, the errors I posted in my body may help. I am unsure, but to me they seem to be thinking it's on Linux. ---------------------------------------------------------------------- ZebraHedgehog · 2018-12-05 20:38 Are you still having this issue? I tried it under a new OpenBSD installation and it seem to work perfectly fine for me, maybe post an output of your pkg\_info? ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-05 20:58 I reinstalled and had the same issue, I formatted mu drive at this point. Sorry, but it still keeps happening no matter what. ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-06 03:14 Nah, fuck that I am gonna reinstall and post the pkg_info on tkinter and get this problem solved. :) ---------------------------------------------------------------------- ZebraHedgehog · 2018-12-06 12:46 Glad to hear it :) ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-06 12:55 I have wanted to use OpenBSD since I was 14. I have to try :) plus worse comes to worse I'll use my Linux laptop for development and my ThinkPad for everything else. ---------------------------------------------------------------------- FOSSilized_Daemon · 2018-12-07 12:00 I reinstalled OpenBSD and nothing works. It won't use UTF-8 no matter how I tell it too, it acts like my .xsession doesn't exist, xenodm is broken. Please see my post here: https://www.reddit.com/r/BSD/comments/a3x6b5/openbsd_setup_issues. I am so confused it was working before.