Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing matplotlib-venn

I have a problem using easy-install or pip for installing matplotlib-venn. I'm on a windows computer using python2.7. However, the cmd shows there's always some errors.

This is the windows using "easy_install", I typed in the command $easy_install matplotlib-venn in cmd, then it shown error:

"no lapack/blas resources found ".`

Then when I used pip to install, typed in command $pip install matplotlib-venn in cmd, it shown:

    Command ""C:\Python27\New Folder\python.exe" -c "import setuptools, tokenize
;__file__='c:\\users\\qiu\\appdata\\local\\temp\\pip-build-cz2ob6\\scipy\\setup.
py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n'
, '\n'), __file__, 'exec'))" install --record c:\users\qiu\appdata\local\temp\pi
p-tfwzxc-record\install-record.txt --single-version-externally-managed --compile
" failed with error code 1 in c:\users\qiu\appdata\local\temp\pip-build-cz2ob6\s
cipy

like image 836
Masijia Qiu Avatar asked Jan 22 '15 15:01

Masijia Qiu


1 Answers

An alternative is to use the Anaconda Python distribution, which includes more than 300 of the most popular Python packages for science, math, engineering, and data analysis (including NumPy, and matplotlib), and avoids many such headaches.

Installing matplotlib-venn on it was straightforward (pip install matplotlib-venn).

This command can be run from an IPython/Jupyter notebook cell by starting with the bang: !pip install matplotlib-venn

like image 109
Franck Dernoncourt Avatar answered Oct 30 '22 18:10

Franck Dernoncourt