0

I am trying to install seaborn without using sudo. I have already installed on my python 2.7 and windows 7 setting with the following cmd commands :

 pip install pandas
 pip install xlrd 
 pip install matplotlib

and they all were installed like charm.

`pip install seaborn` did not work 

i have attached the error message.[last lines of emssage][1]

William
  • 11
  • 4
  • Welcome to dependency hell with Python. It looks like pip is looking for `lapack/blas` on your machine- these are compiled linear algebra libraries. You can add them, but (in my opinion), by far the easiest way to work around this is to use Anaconda Python- seaborn comes with it so you don't have to manually install it, and I don't think it needs sudo to install. Here's a link: https://docs.continuum.io/ – Ben Aug 08 '17 at 16:52
  • so why is Anaconda better than Pycharm for example ? – William Aug 08 '17 at 17:42
  • You cannot compare Anaconda with Pycharm (that would be like asking why Windows is better than AcrobatReader or so). Pycharm is an IDE and not relevant here. Anaconda is a python distribution which has many useful packages included, such they work nicely together. Also installing new packages with anaconda is often much easier than using pip. – ImportanceOfBeingErnest Aug 08 '17 at 17:59
  • @William Install Anaconda to replace your Python, then use PyCharm to write code that runs on Anaconda's version of Python. Two different tools. To use an analogy, if Python is a car, then Anaconda Python is that car with addons you want (like Seaborn) and PyCharm is the driver that comes with the car. You can use PyCharm together with Anaconda or with regular Python. Pycharm can "drive" either. – Ben Aug 08 '17 at 18:18

1 Answers1

1

You may be interested in installing precompiled python wheel binaries for Windows.

That, or use something like Anaconda python.

JoshuaRLi
  • 1,665
  • 14
  • 23
  • The wheel package allows python's setuptools to compile wheel binaries. It's different. Wheel binaries by themselves is a binary format for packaged and compiled python modules that pip is able to install. – JoshuaRLi Aug 08 '17 at 17:48