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

seaborn 0.4.0 doesn't install into a clean virtual environment #277

Closed
dmaze opened this issue Sep 3, 2014 · 1 comment
Closed

seaborn 0.4.0 doesn't install into a clean virtual environment #277

dmaze opened this issue Sep 3, 2014 · 1 comment

Comments

@dmaze
Copy link

dmaze commented Sep 3, 2014

Run:

virtualenv seaborn
. seaborn/bin/activate
pip install 'seaborn==0.4.0'

pip will download the seaborn source package and try to run its setup.py file, but in version 0.4.0 that calls check_dependencies() and raises an ImportError before pip can identify, download, and install the dependencies.

  Running setup.py (path:/ebs/home/dmaze/sea/build/seaborn/setup.py) egg_info for package seaborn

Installing collected packages: seaborn
  Running setup.py install for seaborn
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/ebs/home/dmaze/sea/build/seaborn/setup.py", line 65, in <module>
        check_dependencies()
      File "/ebs/home/dmaze/sea/build/seaborn/setup.py", line 42, in check_dependencies
        raise ImportError("seaborn requires numpy")
    ImportError: seaborn requires numpy
@mwaskom
Copy link
Owner

mwaskom commented Sep 3, 2014

This is on purpose. The main dependences (numpy, scipy, and matplotlib), are all difficult to install via pip, and pip's default install_requires behavior is often poorly behaved. See #169 for the reasoning behind this approach.

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

2 participants