-
Notifications
You must be signed in to change notification settings - Fork 345
Open
Description
I don't understand what is going on in the error message below.
Also I cannot call mitmproxy2swagger from the command line after installing it with pip3 install mitmproxy2swagger
I have to forcefully call it from the full filepath with python3
bumping #153
$ python3 ~/Library/Python/3.9/lib/python/site-packages/mitmproxy2swagger/mitmproxy2swagger.py -i ~/Documents/TMS-login\ flows -o ~/Documents/tms_trials
Traceback (most recent call last):
File "/Users/USER/Library/Python/3.9/lib/python/site-packages/mitmproxy2swagger/mitmproxy2swagger.py", line 16, in <module>
from mitmproxy2swagger import console_util, swagger_util
File "/Users/USER/Library/Python/3.9/lib/python/site-packages/mitmproxy2swagger/mitmproxy2swagger.py", line 16, in <module>
from mitmproxy2swagger import console_util, swagger_util
ImportError: cannot import name 'console_util' from partially initialized module 'mitmproxy2swagger' (most likely due to a circular import) (/Users/USER/Library/Python/3.9/lib/python/site-packages/mitmproxy2swagger/mitmproxy2swagger.py)
Metadata
Metadata
Assignees
Labels
No labels