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

loading imgaug in python scripts vs in jupyter notebooks #42

Open
seekFire opened this issue Jul 2, 2017 · 2 comments
Open

loading imgaug in python scripts vs in jupyter notebooks #42

seekFire opened this issue Jul 2, 2017 · 2 comments

Comments

@seekFire
Copy link

seekFire commented Jul 2, 2017

2017-07-02 17 21 29
I met some errors in the use of the library. when I launch my anaconda environment and come into Python script,the following line works well:
from imgaug import augmenters as iaa
but when I come into Jupyter book rather than Python script, the same line will get an error.
why is it?

_2017-07-02t09-17-47 972z

@aleju
Copy link
Owner

aleju commented Jul 2, 2017

A quick search indicates that this can happen when jupyter uses a different python version or for some reason looks at the wrong path for libraries. E.g. look at this issue.

@mtrivedi09
Copy link

mtrivedi09 commented Apr 11, 2020

This hasn't solved the issue for me as well. I checked the path on both the conda kernel and jupyter notebook, (using sys.executable) they are the same, but still the issue persists.

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

3 participants