modAL icon indicating copy to clipboard operation
modAL copied to clipboard

the modAL package has been changed into modal in the pip repository

Open daniELgrailDev opened this issue 2 years ago • 11 comments

import modAL is not working. Most of the modules that is found in the official documentation is not working

daniELgrailDev avatar Jun 01 '23 12:06 daniELgrailDev

this is pretty serious as packages depending on modal cannot be installed properly now

fritshermans avatar Jun 02 '23 13:06 fritshermans

The new package name is modAL-python. I have indicated this in the docs and in #168, but I won't close this issue for more visibility.

cosmic-cortex avatar Jun 02 '23 17:06 cosmic-cortex

import modAL still seems not to work. I tried different versions of modAL-python.

`----> 4 from modAL.models import ActiveLearner 5 from modAL.uncertainty import uncertainty_sampling

ModuleNotFoundError: No module named 'modAL' `

import modal results in `---> 12 from modAL.utils.validation import check_class_labels, check_class_proba 13 from modAL.uncertainty import uncertainty_sampling 14 from modAL.disagreement import vote_entropy_sampling, max_std_sampling

ModuleNotFoundError: No module named 'modAL'`

Changing the name package folder from "modal" to "modAL" worked..

kcambrek avatar Jun 15 '23 14:06 kcambrek

@kcambrek I believe that having install modal interfers with the import of modAL-python. I deleted the virtual enviroment and reinstalled all the requirements, including modAL-python>=0.4.1. The problem was solved.

If you don't want to delete the whole enviroment and install the packages, maybe try:

pip uninstall modal
pip install --force-reinstall --no-cache-dir modAL-python>=0.4.1

pabvald avatar Jun 28 '23 08:06 pabvald

Changing the name package folder from "modal" to "modAL" worked..

Doing this i am getting AttributeError: 'ActiveLearner' object has no attribute 'bootstrap_init'

Jalkhov avatar Jul 10 '23 02:07 Jalkhov

Could we update the docs to the new package name? This puzzled me for a little while.

https://modal-python.readthedocs.io/en/latest/content/overview/Installation.html#

Happy to PR if helpful

mwalmsley avatar Apr 20 '24 12:04 mwalmsley

Poetry as package manager: from modAL.models import ActiveLearner -> ModuleNotFoundError: No module named 'modAL' from modal.models import ActiveFeedback ->

      3 import numpy as np
----> 4 from modAL.acquisition import max_EI
      5 from modAL.disagreement import max_std_sampling, vote_entropy_sampling
      6 from modAL.models.base import BaseCommittee, BaseLearner

ModuleNotFoundError: No module named 'modAL'

I cannot get it to run. From my point of view the library is completely unusable at the moment.

h4gen avatar Apr 25 '24 08:04 h4gen