Help with Python circular error

Arak Rachael arakelthedragon at gmail.com
Tue Jun 15 10:17:12 EDT 2021


Hi to everyone,

I am having a problem with this error, I created a package and uploaded it to Test PyPi, but I can not get it to work, can someone help me please?

https://test.pypi.org/manage/project/videotesting/releases/'

The error:

/home/user/anaconda3/envs/testing/bin/python /home/user/devel/python.assignments/topgis-viz/topgis-test.py
Traceback (most recent call last):
  File "/home/user/devel/python.assignments/topgis-viz/topgis-test.py", line 10, in <module>
    from videotesting import downsample_and_save_npz
  File "/home/user/anaconda3/envs/testing/lib/python3.8/site-packages/videotesting/__init__.py", line 7, in <module>
    from videotesting import extract_video
ImportError: cannot import name 'extract_video' from partially initialized module 'videotesting' (most likely due to a circular import) (/home/user/anaconda3/envs/testing/lib/python3.8/site-packages/videotesting/__init__.py)




More information about the Python-list mailing list