spellr / culour

Print colored strings in curses windows easily
GNU General Public License v3.0
16 stars 2 forks source link

ImportError: cannot import name 'addstr' #4

Closed zyugyzarc closed 3 years ago

zyugyzarc commented 3 years ago

i have the following issue:

$ pip3 install culour
$ python3
Python 3.8.5 (default, Jan 27 2021, 15:41:15) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import culour
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/zyugyzarc/.local/lib/python3.8/site-packages/culour/__init__.py", line 1, in <module>
    from culour import addstr
ImportError: cannot import name 'addstr' from partially initialized module 'culour' (most likely due to a circular import) (/home/zyugyzarc/.local/lib/python3.8/site-packages/culour/__init__.py)

config: amd/ubuntu_64, Konsole as a terminal.

Taguar258 commented 3 years ago

@1v seems to have fixed it but it probably hasn't been pushed to pypi yet.

spellr commented 3 years ago

pushed 👍 Thanks for flagging!