riscv-dv icon indicating copy to clipboard operation
riscv-dv copied to clipboard

scripts.lib cannot be found

Open nono0210 opened this issue 4 years ago • 2 comments

After I have installed all the thing , running cmd with run --help, there is error as no module named 'scripts.lib' I am using anaconda python3

thanks

nono0210 avatar Dec 06 '21 08:12 nono0210

Me too

hasver avatar Feb 22 '22 08:02 hasver

Same here with an anaconda setup (conda 4.10.1)

Exact traceback after cloning the repo + pip installing according to the README:

(base) -bash-4.1$ run --help
Traceback (most recent call last):
  File "/n/gaylord/v/khtaur/.local/bin/run", line 33, in <module>
    sys.exit(load_entry_point('riscv-dv', 'console_scripts', 'run')())
  File "/n/gaylord/v/khtaur/.local/bin/run", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/afs/eecs.umich.edu/cadre/software/anaconda3-2018.12/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 178, in load
    module = import_module(match.group('module'))
  File "/afs/eecs.umich.edu/cadre/software/anaconda3-2018.12/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/afs/eecs.umich.edu/vlsida/projects/restricted/google/khtaur/riscv-dv/run.py", line 28, in <module>
    from scripts.lib import *
ModuleNotFoundError: No module named 'scripts.lib'

erictaur avatar Oct 26 '22 04:10 erictaur