Respected Sir, I'm getting this error---ModuleNotFoundError: No module named 'imblearn' Tried this: conda install -c conda-forge imbalanced-learn conda install -c conda-forge/label/gcc7 imbalanced-learn conda install -c conda-forge/label/cf201901 imbalanced-learn pip install -U imbalanced-learn pip install imblearn!pip install imblearn pip install -c glemaitre imbalanced-learn pip install imblearn==0.0 But nothing is working, kindly help me with this error. Thank u
Hey Asif, Sounds like a silly question to ask, but can you check and confirm if you have multiple python versions installed? Also verify if the package shows up in the list of installed packages for the Python version you're using. If it still does not work, I would suggest to give it a try in a virtual environment and see if that helps. You can perhaps post your question in the Telegram channel as well, and maybe get more guidance there. Best, Jatin On Mon, Apr 20, 2020 at 12:28 PM Mr.Mohammed Asif Raibag COMPUTER SCIENCE < asif_cs@pace.edu.in> wrote:
Respected Sir,
I'm getting this error---ModuleNotFoundError: No module named 'imblearn'
Tried this:
conda install -c conda-forge imbalanced-learn conda install -c conda-forge/label/gcc7 imbalanced-learn conda install -c conda-forge/label/cf201901 imbalanced-learn
pip install -U imbalanced-learn pip install imblearn!pip install imblearn pip install -c glemaitre imbalanced-learn pip install imblearn==0.0
But nothing is working, kindly help me with this error.
Thank u _______________________________________________ HydPy -- Hyderabad Python Users Group - India mailing list -- hydpy@python.org To unsubscribe send an email to hydpy-leave@python.org https://mail.python.org/mailman3/lists/hydpy.python.org/
Open a terminal or command prompt. Type the following command and press Enter: python --version https://drift-hunters.com This will display the default Python version. To check for other installed Python versions, you can use: python3 --version Additionally, you can use the following command to list all installed Python versions: ls /usr/bin/python* The above command might vary based on your operating system.
Ensure that you are installing imbalanced-learn into the correct Python environment where your project is https://amongusio.io located. Sometimes, installations might go to a different environment if you have multiple Python installations or environments.
I advise creating a fresh virtual environment and installing `imblearn` using `conda install -c conda-forge imbalanced-learn`. https://buckshotroulette.com
You can try clearing the conda or pip cache and then reinstalling with a clean slate. https://fnfgo.org
To solve this problem, you can try installing 'imbalanced-learn' using pip as follows: bash Copy pip install imbalanced-learn If you are using conda environment, you can try the following: bash Copy conda install -c conda-forge imbalanced-learn Once installed , you can try importing 'imblearn' in your code to see if the issue is resolved. If the problem persists, let me know so we can figure out how to help you further. https://slicemastergame.io/
participants (7)
-
charliejone0214@gmail.com
-
Jatin Goel
-
kalylcie@gmail.com
-
loinse bekean
-
Mr.Mohammed Asif Raibag COMPUTER SCIENCE
-
tonyadam0175@outlook.com
-
tonybenjamin1209@gmail.com