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

relative import #33

Closed
yishairasowsky opened this issue Jul 1, 2020 · 6 comments
Closed

relative import #33

yishairasowsky opened this issue Jul 1, 2020 · 6 comments

Comments

@yishairasowsky
Copy link

yishairasowsky commented Jul 1, 2020

@mlaprise @Refefer @codingsparse @siddu9501
what an awesome proudct you have produced!
do you know how can solve this error... thanks!

root@yishai-remotedocker-0:/persistent/Sefaria-Project/ML# cd /persistent/Sefaria-Project/ML ; env /usr/local/bin/python /root/.vscode-server/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/debugpy/launcher 35679 -- /usr/local/lib/python3.7/site-packages/fastxml/trainer.py
Traceback (most recent call last):
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/root/.vscode-server/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/debugpy/main.py", line 45, in
cli.main()
File "/root/.vscode-server/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 430, in main
run()
File "/root/.vscode-server/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 267, in run_file
runpy.run_path(options.target, run_name=compat.force_str("main"))
File "/usr/local/lib/python3.7/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/usr/local/lib/python3.7/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/site-packages/fastxml/trainer.py", line 20, in
from .splitter import Splitter, sparsify, sparse_mean_64, radius
ImportError: attempted relative import with no known parent package
root@yishai-remotedocker-0:/persistent/Sefaria-Project/ML#

@Refefer
Copy link
Owner

Refefer commented Jul 1, 2020 via email

@yishairasowsky
Copy link
Author

yishairasowsky commented Jul 1, 2020 via email

@yishairasowsky
Copy link
Author

yishairasowsky commented Jul 1, 2020 via email

@Refefer
Copy link
Owner

Refefer commented Jul 1, 2020 via email

@yishairasowsky
Copy link
Author

yishairasowsky commented Jul 1, 2020 via email

@Refefer
Copy link
Owner

Refefer commented Jul 11, 2020

Marking closed. Let me know if this didn't help :)

@Refefer Refefer closed this as completed Jul 11, 2020
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

2 participants