Error Port Py27-sklearn Not Found
Sign in Pricing Blog Support Search GitHub This repository Watch 1,405 Star 14,019 Fork 7,996 scikit-learn/scikit-learn Code Issues 717 Pull requests valueerror: numpy.dtype has the wrong size, try recompiling 456 Projects 4 Wiki Pulse Graphs New issue Can't install on install scikit learn Mac #1129 Closed JBionics opened this Issue Sep 7, 2012 · 7 comments Projects None yet Labels Bug Milestone No milestone Assignees No one assigned 2 participants JBionics commented Sep 7, 2012 MacPorts is version 2.1.2 (up to date). sudo port install py26-scikits-learn Error: Port py26-scikits-learn not found sudo port install py-scikits-learn ---> Computing dependencies for py-scikits-learn Error: Dependency 'py27-scikits-learn' not found. To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py-scikits-learn failed sudo port install py27-scikits-learn Error: Port py27-scikits-learn not found Frustrating. scikit-learn member amueller commented Sep 7, 2012 Hi @JBionics. I an not sure how much we can help you with that issues. Maybe one of the mac users around here can. This seems to be a problem with the port system / package management, this is not a problem with the actual project. Maybe @yarikoptic knows something? I am sorry you are frustrated with installing the package. If you want, you can go around the port package management and install via pip install scikit-learn. Cheers, Andy JBionics commented Sep 7, 2012 I also wasn't able to install from source. I was able to use the superpack install script found here (for Mac 10.6): https://github.com/fonnesbeck/ScipySuperpack/downloads Perhaps you can update your documentation to recommend the Superpack. It seems to be actively maintained. Test Result: $ python -c "import sklearn; sklearn.test()" Ran 1234 tests in 85.338s FAILED (SKIP=12, errors=11, failures=2) Which is most tests passing. I am able to run the clustering example I'm interested in. Woot! scikit-learn member amueller commented Sep 7, 2012 Good that you managed to get an installation
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error installing scikit-learn https://github.com/scikit-learn/scikit-learn/issues/1129 using macport on OS-X up vote 2 down vote favorite I'm getting the following error while installing scikit-learn on OS-X MacBook-Pro:~ $ sudo port install py27-scikit-learn Error: The installed version of Xcode (2.0orlower) is too old to use on the installed OS version. Version 4.5.2 or later is recommended on Mac OS X 10.8. To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets http://stackoverflow.com/questions/15939817/error-installing-scikit-learn-using-macport-on-os-x Error: Processing of port py27-scikit-learn failed Here are the various versions of software on my machine. OS ~ $ uname -a Darwin MacBook-Pro.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 Python $ python Python 2.7.2 (default, Jun 20 2012, 16:23:33) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> Xcode Version: 3.2 (10M2423) Location: /Developer Applications: Xcode: 3.2.5 (1760) Interface Builder: 3.2.5 (823) Instruments: 2.7 (3017) Dashcode: 3.0.2 (333) SDKs: iOS: 4.2: (8C134) iOS Simulator: 3.2: (7W367a) 4.0: (8A400) 4.1: (8B117) 4.2: (8C134) Other: 10.5: (9L31a) 10.6: (10M2423) Port $ port MacPorts 2.1.3 Entering interactive mode... ("help" for help, "quit" to quit) python-2.7 osx-mountain-lion macports scikit-learn share|improve this question asked Apr 11 '13 at 2:41 Soumya Simanta 5,0311261113 You need a newer Xcode - available in the AppStore and then download the command line tools. –Mark Apr 11 '13 at 13:19 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or lo
optimi... How to optimize for speed Up Developer’s G... Developer’s Guide This documentation is for scikit-learn version 0.18 — Other versions If you use the software, please consider citing scikit-learn. Advanced http://scikit-learn.org/stable/developers/advanced_installation.html installation instructions Installing an official release Mac OSX Linux Installing build http://scikit-learn.org/stable/install.html dependencies Building scikit-learn with pip From source package Windows Third party distributions of scikit-learn MacPorts for Mac OSX Arch Linux NetBSD Fedora Building on windows 32-bit Python 64-bit Python Building binary packages and installers Using an alternative compiler Bleeding Edge Testing Testing scikit-learn once installed Testing error port scikit-learn from within the source folder Advanced installation instructions¶ There are different ways to get scikit-learn installed: Install the version of scikit-learn provided by your operating system or Python distribution. This is the quickest option for those who have operating systems that distribute scikit-learn. Install an official release. This is the best approach for users who want a error port py27-sklearn stable version number and aren't concerned about running a slightly older version of scikit-learn. Install the latest development version. This is best for users who want the latest-and-greatest features and aren't afraid of running brand-new code. Note If you wish to contribute to the project, you need to install the latest development version. Installing an official release¶ Scikit-learn requires: Python (>= 2.6 or >= 3.3), NumPy (>= 1.6.1), SciPy (>= 0.9). Mac OSX¶ Scikit-learn and its dependencies are all available as wheel packages for OSX: pip install -U numpy scipy scikit-learn Linux¶ At this time scikit-learn does not provide official binary packages for Linux so you have to build from source if you want the latest version. If you don't need the newest version, consider using your package manager to install scikit-learn. It is usually the easiest way, but might not provide the newest version. Installing build dependencies¶ Installing from source requires you to have installed the scikit-learn runtime dependencies, Python development headers and a working C/C++ compiler. Under Debian-based operati
Up scikit-learn scikit-learn If you use the software, please consider citing scikit-learn. Installing scikit-learn Installing the latest release Third-party Distributions Canopy and Anaconda for all supported platforms Python(x,y) for Windows Installing scikit-learn¶ Note If you wish to contribute to the project, it's recommended you install the latest development version. Installing the latest release¶ Scikit-learn requires: Python (>= 2.6 or >= 3.3), NumPy (>= 1.6.1), SciPy (>= 0.9). If you already have a working installation of numpy and scipy, the easiest way to install scikit-learn is using pip pip install -U scikit-learn or conda: conda install scikit-learn If you have not installed NumPy or SciPy yet, you can also install these using conda or pip. When using pip, please ensure that binary wheels are used, and NumPy and SciPy are not recompiled from source, which can happen when using particular configurations of operating system and hardware (such as Linux on a Raspberry Pi). Building numpy and scipy from source can be complex (especially on Windows) and requires careful configuration to ensure that they link against an optimized implementation of linear algebra routines. Instead, use a third-party distribution as described below. If you must install scikit-learn and its dependencies with pip, you can install it as scikit-learn[alldeps]. The most common use case for this is in a requirements.txt file used as part of an automated build process for a PaaS application or a Docker image. This option is not intended for manual installation from the command line. Third-party Distributions¶ If you don't already have a python installation with numpy and scipy, we recommend to install either via your package manager or via a python bundle. These come with numpy, scipy, scikit-learn, matplotlib and many other helpful scientific and data processing libraries. Available options are: Canopy and Anaconda for all supported platforms¶ Canopy and Anaconda both ship a recent version of scikit-learn, in addition to a large set of scientific python library for Windows, Mac OSX and Linux. Anaconda offers scikit-learn as part of its free distribution. Warning To upgrade or uninstall scikit-learn installed with Anaconda or conda you should not use the pip command. Instead: To upgrade scikit-learn: conda update scikit-learn To uninstall scikit-learn: conda remov