mjsull / Easyfig

Development version of Easyfig
86 stars 23 forks source link

Easyfig does not start on MacOS 12.4 #54

Open KULJW opened 2 years ago

KULJW commented 2 years ago

Terminal gives the message below, but no easyfig windows opens...

dyld[7588]: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python Referenced from: /Users/u0061978/Downloads/Easyfig_2.2.2_OSX/Easyfig Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file) zsh: abort /Users/u0061978/Downloads/Easyfig_2.2.2_OSX/Easyfig

Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Process completed]

natachacouto commented 2 years ago

I am having exactly the same problem, since I've installed macOS Monterey v12.4.

chauvinhtth13 commented 2 years ago

I have built it again. You can use this update version https://github.com/chauvinhtth13/Easyfig/releases/tag/2.2.6

govind-sah commented 1 year ago

I got the same issue and it is not working. New release should have been updated on the main page. I had to search for issues which led me here. And the problem is still the same.

Last login: Mon Aug  8 19:51:57 on ttys000
/Users/pridelab/Downloads/Easyfig_2.2.2_OSX/Easyfig ; exit;                     
(base) pridelab@Macmini ~ % /Users/pridelab/Downloads/Easyfig_2.2.2_OSX/Easyfig ; exit;
dyld[67085]: Library not loaded: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python'
  Referenced from: '/Users/pridelab/Downloads/Easyfig_2.2.2_OSX/Easyfig'
  Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
zsh: abort      /Users/pridelab/Downloads/Easyfig_2.2.2_OSX/Easyfig

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
ijsugrue commented 1 year ago

I also have this issue on MacOS Monterey 12.6.

/Users/Documents/Bioinformatics/Easyfig-2.2.6/Easyfig ; exit;
dyld[89247]: Library not loaded: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python'
  Referenced from: '/Users/Documents/Bioinformatics/Easyfig-2.2.6/Easyfig'
  Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
zsh: abort      /Users/Documents/Bioinformatics/Easyfig-2.2.6/Easyfig

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
furlanjpr commented 1 year ago

Has anyone found a solution to this issue? I also have this issue on MacOS Ventura 13.0.

ijsugrue commented 1 year ago

Has anyone found a solution to this issue? I also have this issue on MacOS Ventura 13.0.

Hi there, I got this working by creating a conda environment with an older version of python (2.7.15) and then with that environment active I ran easyfig from terminal. It came up with a warning but works.

% python Easyfig.py
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
mjsull commented 1 year ago

Hi everyone, I think these issues are caused by python2.7 + Tkinter.

I have a development version that's been rewritten in python 3 if people would like to give that a try.

https://raw.githubusercontent.com/mjsull/Easyfig/python3/Easyfig.py

gdanetzk commented 1 year ago

Hi @mjsull I am willing to try this, but could you explain where in the OSX download I need to put this updated python script?

mjsull commented 6 months ago

Hi, it will run as a python script. You might need to install tcl/tk

"brew install tcl-tk"

I've also made a few other fixes https://github.com/mjsull/Easyfig/releases/download/3.0.0/Easyfig.py

francoisbientz commented 3 months ago

Hi, it will run as a python script. You might need to install tcl/tk

"brew install tcl-tk"

I've also made a few other fixes https://github.com/mjsull/Easyfig/releases/download/3.0.0/Easyfig.py

Thank's a lot @mjsull

On MacOS Sonoma 14.4 download the tk version of python 3.12 ( including Tkinter)

"brew install python-tk@3.12" And being in the directory where Easyfig.py is located "python3 Easyfig.py"