Annotald / annotald

A program for annotation in the Penn Treebank format
GNU General Public License v3.0
8 stars 3 forks source link

ImportError (No module annotald.treedrawing) -- Issue with python version #99

Closed francescopinzin closed 2 years ago

francescopinzin commented 2 years ago

I am on a mac (Catalina 10.15.5)

I have annotald installed in my project venv.

the exec is here: .../venv/bin/annotald

the packages are here: .../venv/lib/python3.8/site-packages/annotald

When I launch the exec, the following ImportError is given (the error happens when processing line 14 of the annotald exec):

ImportError: No module named annotald.treedrawing

I have the same error when I install annotald in my "regular" python folder (with the same internal setup)

francescopinzin commented 2 years ago

The issue was the python version, annotald requires 2.7, but I have default python3.

In case someone needs it, my solution: