Giter VIP home page Giter VIP logo

Comments (11)

NellaYenwod avatar NellaYenwod commented on July 24, 2024 2

I can't solve all the installation problems, but I can help with Pint:

conda install -c unidata pint

You can probably also

pip install pint

but I haven't tested that.

from modsimpy.

cchocomint avatar cchocomint commented on July 24, 2024

same problem here

from modsimpy.

ciaranraymer avatar ciaranraymer commented on July 24, 2024

I'm experiencing the same problem

from modsimpy.

ciaranraymer avatar ciaranraymer commented on July 24, 2024

image

from modsimpy.

AllenDowney avatar AllenDowney commented on July 24, 2024

Sorry about these problems. The modsim library is a work in progress and not ready to be installed as a package. In order for Python to find modsim.py, it has to be on your Python search path.

I think a good way to work is to start Git Bash, navigate into the ModSimPy folder, and launch Jupyter from there. I have improved the instructions in the Preface. Please take a look and see if that helps.

from modsimpy.

Dissandou91000 avatar Dissandou91000 commented on July 24, 2024

I can't run jupyter notebook from git bash or command prompt. It is only working through anaconda

from modsimpy.

nirathak avatar nirathak commented on July 24, 2024

I've been having the same issue.

I get this same error (no module named modsim) when I run jupyter in pycharm. Also, I am unable to run jupyter from git bash when I enter "jupyter notebook". I get an error saying, "jupyter: command not found". However, if I type "ls" I can see that all the files are there. What should I do?

Is it okay to use pycharm, or do I need to switch to anaconda?

from modsimpy.

NckCffn avatar NckCffn commented on July 24, 2024

I had the same issues going on:

  1. launch Jupyter notebook from windows and navigate to the modsim/code folder (all good)
  2. from a notebook, try "from modsim import *" command (ImportError Traceback (most recent call last)

I checkout the last line and see an error with matplotlib . After a quick google search, it looks like there was a problem with the 3.0.0 matpltlib release (see referenced stackoverflow link). So I updated matplotlib from Anaconda Navigator and everything so far checks out.

https://stackoverflow.com/questions/52979322/matplotlib-3-0-0-cannot-import-name-get-backend-from-matplotlib

from modsimpy.

rachie1998 avatar rachie1998 commented on July 24, 2024

I am getting an error that there is no module called pint. Does anyone have any ideas on how to fix this?

from modsimpy.

rachie1998 avatar rachie1998 commented on July 24, 2024

Thank you very much, had missed that bit of the instructions!

from modsimpy.

AllenDowney avatar AllenDowney commented on July 24, 2024

I have now made the ModSim library into a proper Python library on PyPI. You should be able to install it by running

pip install modsim

And that should solve these import errors.

from modsimpy.

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.