Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors: running RTL/main.py #17

Open
dzeitman opened this issue Mar 12, 2021 · 3 comments
Open

Errors: running RTL/main.py #17

dzeitman opened this issue Mar 12, 2021 · 3 comments

Comments

@dzeitman
Copy link

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'

@xiangdonglai
Copy link

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

@fatpigyin
Copy link

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!

@andrewnc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants