Opened 9 months ago

Closed 9 months ago

#69329 closed defect (invalid)

pymol-devel

Reported by: alchymy Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: pymol, pymol-devel

Description

Is this version working with the 'autodock_plugin.py'? Have found a version of the .py file, it installs but will not load. Puts out message "No module named '_tkinter' " Finding up to date files for this app seems to be difficult.

Change History (7)

comment:1 Changed 9 months ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Port: pymol pymol-devel added
Status: newaccepted

This question doesn’t have anything to do with MacPorts but is about whether a PyMOL extension works. That’s pretty much outside of the scope here and you don’t provide enough information about the extension you’re trying to install (i.e. a download link). If you provide some additional information I might have time to take a look, but again if it doesn’t work it’s not something we will/can fix on the MacPorts side as we just compile the package as it is provided by upstream.

comment:2 Changed 9 months ago by alchymy

Thanks for the response. Have the same issue with another plugin. Will dig deeper into the issue. I think the problem with a lot of the docking apps is they use Python but are not updated regularly, then they are supposed to use this third party app and some other third party app and it starts to fall apart when they are not all kept current. How can I check which version of Python pymol-devel is using? I am assuming its 3.12 which I have installed.

comment:3 in reply to:  2 ; Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to alchymy:

How can I check which version of Python pymol-devel is using? I am assuming its 3.12 which I have installed.

According to port info pymol-devel, it is using python312.

comment:4 in reply to:  3 Changed 9 months ago by reneeotten (Renee Otten)

Replying to ryandesign:

According to port info pymol-devel, it is using python312.

Correct, and you can specify an other Python version by selecting a variant; so, for example, sudo port install pymol-devel +python38 if you would like to use it with Python 3.8 instead. However, only currently supported Python versions (i.e., Python 3.8+) can be used, so if the plugin you want to use requires Python 2.7 then you're out of luck. Of course, you could try to add that Python version and see if it builds with that, but I kind of doubt that and we will not support the use of EOL Python versions.

comment:5 Changed 9 months ago by alchymy

Many thanks!

comment:6 Changed 9 months ago by alchymy

Have now installed py312-tkinter via macports and this has solved the Pymol loading plugin issue, where the Python plugin imports tkinter.

comment:7 Changed 9 months ago by reneeotten (Renee Otten)

Resolution: invalid
Status: acceptedclosed
Note: See TracTickets for help on using tickets.