MonoPort icon indicating copy to clipboard operation
MonoPort copied to clipboard

Errors: running RTL/main.py

Open dzeitman opened this issue 3 years ago • 3 comments

Attempted to run in on Google Colab:

Not finding get_cfg_defaults or Monoport

Traceback (most recent call last): File "RTL/main.py", line 19, in from monoport.lib.common.config import get_cfg_defaults ModuleNotFoundError: No module named 'monoport' Traceback (most recent call last): File "RTL/main.py", line 19, in from monoport.lib.common.config import get_cfg_defaults ModuleNotFoundError: No module named 'monoport' Traceback (most recent call last): File "RTL/main.py", line 19, in from monoport.lib.common.config import get_cfg_defaults ModuleNotFoundError: No module named 'monoport'

dzeitman avatar Mar 12 '21 01:03 dzeitman

You probably need to add sys.path.append('.') if you are using Python 3.7.10.

xiangdonglai avatar Mar 18 '21 02:03 xiangdonglai

I have the same problem. I also try "sys.path.append('.')" but it will have other problems. Did you solve it? Could someone please help deal with this problem. Thank you very much!

fatpigyin avatar Feb 21 '23 22:02 fatpigyin

you can solve this by running pip install -e . in the top level

andrewnc avatar Jul 26 '23 16:07 andrewnc