allenai / amti

A Mechanical Turk Interface (amti) 🤖
Apache License 2.0
55 stars 18 forks source link

Python 3.8 issue: `cannot import name 'actions' from partially initialized module 'amti' #37

Open danyaljj opened 1 year ago

danyaljj commented 1 year ago

I am getting this upon calling amti

% amti
Traceback (most recent call last):
  File "/usr/local/bin/amti", line 9, in <module>
    from amti import clis
  File "/Users/danielk/Library/Python/3.8/lib/python/site-packages/amti/__init__.py", line 3, in <module>
    from amti import (
ImportError: cannot import name 'actions' from partially initialized module 'amti' (most likely due to a circular import) (/Users/danielk/Library/Python/3.8/lib/python/site-packages/amti/__init__.py)
danyaljj commented 1 year ago

Replicated the same issue on a different computer and with Python 3.8.