-
Notifications
You must be signed in to change notification settings - Fork 324
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
No module named 'modAL.models'; 'modAL' is not a package #31
Comments
What did you import specifically? Can you post the exact log with the import and the error message as well? Also, can you execute the from modAL.models import ActiveLearner command in a Python console? I suspect this is a problem with the setup script. I have encountered this issue a long ago, but this was solved since then and I was unable to reproduce it, so I have no idea what went wrong. Did you install the latest version, which is 0.3.4? (You can check it with |
Thanks for your reply! The modAL version is the latest version. I eventually solved it by placing the modAL folder in the same path as the python script that imports modAL. I think it this case the path matters. |
I am afraid if the script won't run when not in the same folder with modAL, the problem is not solved yet :( In your script, which one did you try? import modAL or from modAL.models import ActiveLearner |
Both, and they gave me the same error message. After I copy the entire modAL directory to my working directory, I am able to import modAL. |
I had the same issue when using Spyder and closing the Console / Restaring the Kernel. Restaring Spyder seems to fix this issue. An easy check is to start the command tool in your virtual environment and check if you are able to import modAL there. |
I had the same/similar issue and fixed it by renaming the install folder from |
There was a change in PyPI, |
I had the same problem,but I can't find the 'modAL.model',but i can find "modal",not 'modAL',it seems like that they are not the same package? |
Hey I think it may be "pip install modAL-python" |
Wow, so the docs is wrong? it is not pip install modAL but "pip install modAL-python". |
This happens also when the filename from where you do the import is |
I now have the situation where I have modal-python version 0.4.2 installed, but commands like: from modAL.models import ActiveLearner bring up the error: ModuleNotFoundError: No module named 'modAL' . This all worked fine before, but after a reinstall of anaconda3 today, everything has gone to hell ! |
same with me, since I reinstalled anaconda3 I have the following error
|
Same problem, I solved it by using: Alternatively, you can install modAL directly from source: pip install git+https://github.com/modAL-python/modAL.git |
After installing modAL by pip install modAL on Ubuntu 16.04 with a virtualenv python3.5, I tried to import modAL, but got the error message as titled. How can I solve this issue?
The text was updated successfully, but these errors were encountered: