Easyfig icon indicating copy to clipboard operation
Easyfig copied to clipboard

Easyfig does not start on MacOS 12.4

Open KULJW opened this issue 3 years ago • 11 comments

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]

KULJW avatar Jun 15 '22 13:06 KULJW

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

natachacouto avatar Jun 17 '22 12:06 natachacouto

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

chauvinhtth13 avatar Jun 22 '22 05:06 chauvinhtth13

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]

govind-sah avatar Aug 09 '22 03:08 govind-sah

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]

ijsugrue avatar Oct 03 '22 11:10 ijsugrue

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

furlanjpr avatar Nov 09 '22 10:11 furlanjpr

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.

ijsugrue avatar Nov 10 '22 14:11 ijsugrue

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

mjsull avatar Jan 12 '23 06:01 mjsull

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?

gdanetzk avatar Jun 19 '23 19:06 gdanetzk

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

mjsull avatar Dec 21 '23 12:12 mjsull

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 [email protected]" And being in the directory where Easyfig.py is located "python3 Easyfig.py"

francoisbientz avatar Mar 28 '24 14:03 francoisbientz

This seems to perfect for my Mac version. Except that it can't detect the .gbff files from bakta annotation. So it forced me change my annotation tool

3p1d3m avatar Jul 13 '24 14:07 3p1d3m