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

requirements.txt is forcing the latest version of numpy #96

Closed
ghost opened this issue Jan 27, 2017 · 2 comments
Closed

requirements.txt is forcing the latest version of numpy #96

ghost opened this issue Jan 27, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 27, 2017

jupyter-themes is forcing numpy 1.12.0 to be installed. This can be a big problem, as it replaced my version of numpy, which was linked to some nice optimization libraries, with vanilla numpy off of pip.

It is a really good thing that I noticed this in my terminal. I was about to eat 40% slowdown on all my matrix multiplications 👎.

I can make a PR when I get home to remove the numpy dependency all together. It is really not necessary.

pip install --upgrade jupyterthemes

Requirement already up-to-date: jupyterthemes in /Library/anaconda/envs/py3/lib/python3.5/site-packages
Requirement already up-to-date: jupyter in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyterthemes)
Collecting numpy (from jupyterthemes)
  Using cached numpy-1.12.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Requirement already up-to-date: jupyter-core in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyterthemes)
Requirement already up-to-date: lesscpy>=0.12.0 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyterthemes)
Requirement already up-to-date: qtconsole in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter->jupyterthemes)
Requirement already up-to-date: nbconvert in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter->jupyterthemes)
Requirement already up-to-date: notebook in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter->jupyterthemes)
Requirement already up-to-date: jupyter-console in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter->jupyterthemes)
Requirement already up-to-date: ipykernel in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter->jupyterthemes)
Requirement already up-to-date: ipywidgets in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter->jupyterthemes)
Requirement already up-to-date: traitlets in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter-core->jupyterthemes)
Requirement already up-to-date: six in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from lesscpy>=0.12.0->jupyterthemes)
Requirement already up-to-date: ply in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from lesscpy>=0.12.0->jupyterthemes)
Requirement already up-to-date: pandocfilters>=1.4.1 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: entrypoints>=0.2.2 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: bleach in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: jinja2 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: mistune!=0.6 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: testpath in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: nbformat in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: pygments in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: ipython-genutils in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from notebook->jupyter->jupyterthemes)
Requirement already up-to-date: tornado>=4 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from notebook->jupyter->jupyterthemes)
Requirement already up-to-date: terminado>=0.3.3; sys_platform != "win32" in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from notebook->jupyter->jupyterthemes)
Requirement already up-to-date: jupyter-client in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from notebook->jupyter->jupyterthemes)
Requirement already up-to-date: ipython>=4.0.0 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: widgetsnbextension>=1.2.6 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipywidgets->jupyter->jupyterthemes)
Requirement already up-to-date: decorator in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from traitlets->jupyter-core->jupyterthemes)
Requirement already up-to-date: html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from bleach->nbconvert->jupyter->jupyterthem
Requirement already up-to-date: MarkupSafe>=0.23 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jinja2->nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: jsonschema!=2.5.0,>=2.4 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from nbformat->nbconvert->jupyter->jupyterthemes)
Requirement already up-to-date: pyzmq>=13 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from jupyter-client->notebook->jupyter->jupyterthemes)
Requirement already up-to-date: pexpect; sys_platform != "win32" in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: setuptools>=18.5 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: appnope; sys_platform == "darwin" in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: prompt-toolkit<2.0.0,>=1.0.3 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: simplegeneric>0.8 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: pickleshare in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: packaging>=16.8 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from setuptools>=18.5->ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: appdirs>=1.4.0 in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from setuptools>=18.5->ipython>=4.0.0->ipykernel->jupyter->jupyterthemes)
Requirement already up-to-date: wcwidth in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython>=4.0.0->ipykernel->jupyter->jupytertheme
Requirement already up-to-date: pyparsing in /Library/anaconda/envs/py3/lib/python3.5/site-packages (from packaging>=16.8->setuptools>=18.5->ipython>=4.0.0->ipykernel->jupyter->jupyt
Installing collected packages: numpy
  Found existing installation: numpy 1.11.2
    Uninstalling numpy-1.11.2:
      Successfully uninstalled numpy-1.11.2
^C  Rolling back uninstall of numpy
@dunovank
Copy link
Owner

Oh wow... thanks for catching that. I had totally forgotten about that. And the PR would be very welcome. Much appreciated, sir.

@dunovank
Copy link
Owner

or ma'am.

@ghost ghost mentioned this issue Jan 28, 2017
@ghost ghost closed this as completed Jan 30, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant