Discussion:
[Scikit-learn-general] help installing scikit-learn (and scipy) on Cygwin
Howard Karloff
2015-08-20 21:48:20 UTC
Permalink
Hi. I am attempting to install scikit-learn on my Windows 7 laptop on
which I'm running Cygwin. I want to be able to
use scikit-learn from within a Cygwin window. I have Python 3.4 and
numpy installed. However, I am having trouble installing scipy and
this obviously may be related.
pip install scipy
Collecting scipy
Using cached scipy-0.16.0.tar.gz
Installing collected packages: scipy
Running setup.py install for scipy
Operation cancelled by user

whereas I didn't cancel the operation at all.


Here's the error message I get when I try to install scikit-learn.
(God, sometimes I hate cygwin!)

/usr/bin/python3 -c "import setuptools,
tokenize;__file__='/tmp/pip-bui

ld-dn16j_ad/scikit-learn/setup.py';exec(compile(getattr(tokenize,
'open', open)(
__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-xkjxfnbf-record/install-record.txt
--single-version-externally-managed --compile" failed with error code
1 in /tmp/pip-build-dn16j_ad/scikit-learn

Any suggestions? Thank you for your help.

------------------------------------------------------------------------------
Sebastian Raschka
2015-08-21 00:42:36 UTC
Permalink
Hi, Howard,
I have no experience with Windows in particular, but installing libraries from the Sci-stack (SciPy, NumPy) is usually a little bit of a hassle on every platform. I can only highly recommend you looking at Anaconda, a Python distribution for scientific computing — it’s free. 99% of the people who are doing any kind of research with Python are using it since it is very convenient to install those packages; also it is create for managing multiple virtual environments (http://docs.continuum.io/anaconda/install <http://docs.continuum.io/anaconda/install>)

Best,
Sebastian
Post by Howard Karloff
Hi. I am attempting to install scikit-learn on my Windows 7 laptop on
which I'm running Cygwin. I want to be able to
use scikit-learn from within a Cygwin window. I have Python 3.4 and
numpy installed. However, I am having trouble installing scipy and
this obviously may be related.
pip install scipy
Collecting scipy
Using cached scipy-0.16.0.tar.gz
Installing collected packages: scipy
Running setup.py install for scipy
Operation cancelled by user
whereas I didn't cancel the operation at all.
Here's the error message I get when I try to install scikit-learn.
(God, sometimes I hate cygwin!)
/usr/bin/python3 -c "import setuptools,
tokenize;__file__='/tmp/pip-bui
ld-dn16j_ad/scikit-learn/setup.py';exec(compile(getattr(tokenize,
'open', open)(
__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-xkjxfnbf-record/install-record.txt
--single-version-externally-managed --compile" failed with error code
1 in /tmp/pip-build-dn16j_ad/scikit-learn
Any suggestions? Thank you for your help.
------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
Andreas Mueller
2015-08-24 21:55:21 UTC
Permalink
Post by Sebastian Raschka
99% of the people who are doing any kind of research with Python are
using it
I'm curious to see the stats on that ;)

Also, if you're happy with the distribution versions of packages, linux
is usually really simple.
It's only these two odd operating systems that don't come with package
managers on which it is hard.
But then it is hard to install anything really on those ;)

------------------------------------------------------------------------------
Yuxiang Wang
2015-08-25 16:51:00 UTC
Permalink
Haha +1 for the "only two odd OSs" =D

Shawn
Post by Andreas Mueller
Post by Sebastian Raschka
99% of the people who are doing any kind of research with Python are
using it
I'm curious to see the stats on that ;)
Also, if you're happy with the distribution versions of packages, linux
is usually really simple.
It's only these two odd operating systems that don't come with package
managers on which it is hard.
But then it is hard to install anything really on those ;)
------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
--
Yuxiang "Shawn" Wang
Gerling Haptics Lab
University of Virginia
***@virginia.edu
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/

------------------------------------------------------------------------------
Yuxiang Wang
2015-08-21 14:51:47 UTC
Permalink
Hi Howard,

I think Anaconda is a great option, and I also strongly recommend you
try the WinPython distribution that comes with Python 3.4,
scikit-learn and other parts of scipy stack.

winpython.github.io

Shawn
Post by Howard Karloff
Hi. I am attempting to install scikit-learn on my Windows 7 laptop on
which I'm running Cygwin. I want to be able to
use scikit-learn from within a Cygwin window. I have Python 3.4 and
numpy installed. However, I am having trouble installing scipy and
this obviously may be related.
pip install scipy
Collecting scipy
Using cached scipy-0.16.0.tar.gz
Installing collected packages: scipy
Running setup.py install for scipy
Operation cancelled by user
whereas I didn't cancel the operation at all.
Here's the error message I get when I try to install scikit-learn.
(God, sometimes I hate cygwin!)
/usr/bin/python3 -c "import setuptools,
tokenize;__file__='/tmp/pip-bui
ld-dn16j_ad/scikit-learn/setup.py';exec(compile(getattr(tokenize,
'open', open)(
__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-xkjxfnbf-record/install-record.txt
--single-version-externally-managed --compile" failed with error code
1 in /tmp/pip-build-dn16j_ad/scikit-learn
Any suggestions? Thank you for your help.
------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
--
Yuxiang "Shawn" Wang
Gerling Haptics Lab
University of Virginia
***@virginia.edu
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/

------------------------------------------------------------------------------
Loading...