Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda install much bigger than pip #358

Open
DavidNemeskey opened this issue Aug 10, 2018 · 3 comments
Open

Conda install much bigger than pip #358

DavidNemeskey opened this issue Aug 10, 2018 · 3 comments

Comments

@DavidNemeskey
Copy link

I installed conda via Miniconda, especially because I wanted to keep the footprint small. The I installed Jupyter via conda install jupyter, and

  • the command downloaded 75 packages, about 300M
  • the conda directory now takes up about 2G (1.7G if the tarballs are cleaned)

I also installed Jupyter via pip into a virtualv to see if the situation there is any better. Any indeed, it is: only 42 packages were downloaded, and the size of the whole environment is only 145M.

I am just wondering if there was a way to have a "minimal" package of Jupyter for conda as well?

@takluyver
Copy link
Member

What packages were in the list?

If you're after the Jupyter notebook, you can install the package notebook instead of jupyter (the names for these are the same in pip and conda). That will leave out the Qt console, which on conda will probably also leave out Qt, which is a pretty big dependency.

@DavidNemeskey
Copy link
Author

I can confirm that with notebook, the number and size of the dependencies is much less. Still a bit more than with pip install jupyter, though.

Sticking with conda, these are the packages installed by conda install jupyter and notebook, respectively:

Grepping them for "MB" reveals that the worst offender is qt at 87M, but there other differences as well:

  • cryptography-vectors-2.3 at 30.5M
  • icu-58.2 at 22.5M
  • python-3.7.0 at 32M

It is a bit strange for me to see python updated as well. Normally I would like to control the version of the environment, and not let any random package update it for me.

The list of packages I ended up with:

@ivanov
Copy link
Member

ivanov commented Dec 16, 2023

from the response to #718 and the jupyter discourse thread, it is looking like we will be removing qtconsole dependency from the jupyter metapackage which should help a lot with how large a conda installation of jupyter ends up being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants