metawarc icon indicating copy to clipboard operation
metawarc copied to clipboard

Some errors

Open cipher387 opened this issue 3 years ago • 4 comments

python metawarc metadata digital.gov.ru.warc.gz Traceback (most recent call last): File "/home/gitpod/.pyenv/versions/3.8.12/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/gitpod/.pyenv/versions/3.8.12/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/workspace/metawarc/metawarc/main.py", line 18, in main() File "/workspace/metawarc/metawarc/main.py", line 10, in main from .core import cli ImportError: attempted relative import with no known parent package

cipher387 avatar Mar 03 '22 15:03 cipher387

@cipher387 Hi! Is it after installation using "pip install metawarc" or it's latest code from github?

ivbeg avatar Mar 03 '22 16:03 ivbeg

latest code from GitHub

cipher387 avatar Mar 04 '22 06:03 cipher387

@cipher387 you should launch "metawarc metadata digital.gov.ru.warc.gz" or "python -m metawarc metadata digital.gov.ru.warc.gz"

ivbeg avatar Mar 04 '22 07:03 ivbeg

both variants launch with errors

You can try it in Gitpod workspace

cipher387 avatar Mar 04 '22 08:03 cipher387