Giter Site home page Giter Site logo

Comments (6)

rouseguy avatar rouseguy commented on August 21, 2024

Good catch. ipython notebook became jupyter with the recent version. This worked on Mac. Will test on Linux and update the file.

from weed.

kracekumar avatar kracekumar commented on August 21, 2024

Since we also require png and freetype, there can be simple shell script like ./test.sh which can open ipython with set of commands and check all necessary requirements.

from weed.

rouseguy avatar rouseguy commented on August 21, 2024

Hi @madhavan020985 : We spent sometime figuring out the issue. We couldn't replicate this. We found this relevant issue: jupyter/jupyter_console#18

Looks like you are using an older version of pip. Please do the following:
pip install --upgrade setuptools pip pip uninstall ipykernel pip install ipykernel

Then do the following:

  1. Delete the environment folder
  2. Create a new virtual environment (as told in the setup instructions)
  3. Activate the environment
  4. Run the command again pip install -r requirements_linux.txt

To check: ipython notebook or jupyter notebook

Note: You might have to upgrade pip once again after activating the environment

from weed.

 avatar commented on August 21, 2024

oops... it looks, like jupyter console is a wrong subcommand... jupyter notebook launches my ipython server properly......

when i do jupyter notebook after activating the virtual environment, it is still using the globally installed ipython and hence, the virtual environment libraries are not available inside the notebook...

Doesn't the jupyter binary be lying inside/launched from env/bin/ folder?

from weed.

rouseguy avatar rouseguy commented on August 21, 2024

Did you activate the virtual environment? If you are inside a virtual environment, it picks the local dependencies first before looking for global options. If ipython notebook works, you are good to go.

from weed.

 avatar commented on August 21, 2024

it works after i ran (env)weed$ python -m pip install ipython[notebook] inside the virtual environment..... thanks all.... jupyter binary got added into env/bin folder....

from weed.

Related Issues (1)

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.