-
Notifications
You must be signed in to change notification settings - Fork 32
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
ImportError: cannot import name 'path' from 'path' #117
Comments
Good morning, @hywu0110 . Thanks for helping to test. Can you paste exactly the steps you took and tell us which platform you're using? e.g. I'm on OSX using conda:
shows me one error that I'll look into, but nothing about |
I'm using a Linux container on top of a Chrome OS. The Linux distro is Debian 9 (stretch) and I used Anaconda (python 3). Here's what I did:
The I noticed that you used Let me know if you need more information. |
Hi @hywu0110. Sorry for the slow response. It took a bit to get https://github.com/ome/conda-zeroc-ice36-python working (see: https://anaconda.org/ome/zeroc-ice36-python) so that I could reproduce your setup:
Turns out, though, that the answer was fairly straight-forward: anaconda ships with its own version of
shows a number of differences. #123 will hopefully fix the issue. |
@joshmoore Ah I didn't realize docker is great for reproducing issues (this is docker script, right?). Thank you for the effort! I'll learn to provide docker scripts next time when reporting issues to projects on Github. Please feel free to close this issue when you see fit. |
And thank you for finding the problem! Docker scripts are definitely welcome on any issue you open, but we have lots of examples, so not a necessity. (Every little bit helps.) |
It's just a typo in the code, you definitely forget some words in the code instead of |
I cloned this repo and ran pytest on the test folder. I got 33 errors, 32 of which were the same:
ImportError: cannot import name 'path' from 'path'
I went to these import code and felt they are probably calling the path.py library (link). Does the code meant to be this?
from path import Path
Pytest result is attached here:
pytest_stdout.txt
The text was updated successfully, but these errors were encountered: