Code Monkey home page Code Monkey logo

Comments (18)

amueller avatar amueller commented on July 27, 2024

Is that the full error message?
That doesn't sound like an issue with mglearn, but rather with scipy.
Can you do "from scipy import ndimage" alone?
Maybe try reinstalling scipy with conda?

from mglearn.

omarmorales avatar omarmorales commented on July 27, 2024

I cant import mglearn, got this error

ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import mglearn

ModuleNotFoundError: No module named 'mglearn'

from mglearn.

amueller avatar amueller commented on July 27, 2024

@omarmorales how did you install mglearn?

from mglearn.

amueller avatar amueller commented on July 27, 2024

closing as no reply. Feel free to reopen.

from mglearn.

TimdePooter avatar TimdePooter commented on July 27, 2024

Dear Andreas,

I've installed mglearn in the anaconda terminal using pip install mglearn. When I try to create the forge dataset using X, y = mglearn.datasets.make_forge() I get the error message : NameError: name 'mglearn' is not defined. I'm working in Spyder, not Jupyter notebook...

Is there anything I'm missing here? Sorry to bother you with this, as I see that you already got many requests over installing mglearn, but I have trouble tackling it...

Thank you.

from mglearn.

amueller avatar amueller commented on July 27, 2024

@TimdePooter did you do import mglearn?

from mglearn.

TimdePooter avatar TimdePooter commented on July 27, 2024

@amueller , indeed I seem to have forgotten to do that. Stupid of me... Thank you for your time.

from mglearn.

ruicosta1988 avatar ruicosta1988 commented on July 27, 2024

I can not import mglearn as well.
After I installed mglearn, I checked the version. Version is 0.1.6.
When I import mglearn on jupyter notebook, the following message is appeared.
ModuleNotFoundError: No module named 'mglearn'
How can I fix?

from mglearn.

amueller avatar amueller commented on July 27, 2024

@ruicosta1988 you probably didn't install it in the environment your jupyter notebook is using, see https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/

from mglearn.

ruicosta1988 avatar ruicosta1988 commented on July 27, 2024

Sorry for my late reply. I could install and import it. Thank you

from mglearn.

amueller avatar amueller commented on July 27, 2024

@ruicosta1988 glad you could figure it out

from mglearn.

ritvikkashyap avatar ritvikkashyap commented on July 27, 2024

unable to install mgleran using '' pip install mglearn'' in vscode
capture jpg11

from mglearn.

amueller avatar amueller commented on July 27, 2024

@ritvikkashyap either you didn't have internet when you tried it or pypi was down. Try again now.

from mglearn.

ritvikkashyap avatar ritvikkashyap commented on July 27, 2024

@amueller : regarding internet- I have high speed internet access. So there is no issue with that.
Regarding pypi was down: how come every time that is happening. I have tried many times. (Other libraries are getting downloaded except mglearn.)

from mglearn.

amueller avatar amueller commented on July 27, 2024

from mglearn.

ritvikkashyap avatar ritvikkashyap commented on July 27, 2024

from mglearn.

slowwindsawan avatar slowwindsawan commented on July 27, 2024

from mglearn.

ritvikkashyap avatar ritvikkashyap commented on July 27, 2024

from mglearn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.