Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6325969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:59:39+00:00 2026-05-24T16:59:39+00:00

I installed the scikits package but can’t import it, I am on Macbook, please

  • 0

I installed the scikits package but can’t import it, I am on Macbook, please let me know what is missing here

bash-3.2$ sudo port install py26-scikits-learn
--->  Computing dependencies for py26-scikits-learn
--->  Fetching archive for py26-scikits-learn
--->  Attempting to fetch py26-scikits-learn-0.8_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/py26-scikits-learn
--->  Fetching py26-scikits-learn
--->  Verifying checksum(s) for py26-scikits-learn
--->  Extracting py26-scikits-learn
--->  Configuring py26-scikits-learn
--->  Building py26-scikits-learn
--->  Staging py26-scikits-learn into destroot
--->  Installing py26-scikits-learn @0.8_0
--->  Activating py26-scikits-learn @0.8_0
--->  Cleaning py26-scikits-learn
bash-3.2$ python -c "import scikits.learn as skl; skl.test()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named scikits.learn

FIXED
How do I uninstall python from OSX Leopard so that I can use the MacPorts version?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:59:40+00:00Added an answer on May 24, 2026 at 4:59 pm

    Unfortunately I don’t know how port commnad works (I guess it comes from MacPorts) but you should use Python to maintain Python packages (which is encouraged eg. by homebrew). You can try pip:

    sudo pip install scikits.learn
    

    In OS X Lion default version of Python is 2.7, if you want to use 2.6 you have to:

    sudo python2.6 pip install scikits.learn
    

    (Python keeps separate packages for every version)

    You can browse all packages available via pip (or easy_install) using pypi or search it with

    pip searh foo
    

    If you are afraid of cluttering you system please give a try virtualenvwrapper.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

installed ejabberd using synaptic package manager on Ubuntu 10.04 without any error. sudo dpkg-reconfigure
I installed subclipse in eclipse, but I get an error message Expected format '3'
Installed Mono 2.4 on Ubuntu using the instructions here: http://www.nabble.com/forum/PrintPost.jtp?post=22841086 When I run xsp
Installed the IronPython tools for VS 2010 but it didn't associate the *.py files
I installed both Python 2.7 and Python 2.6.5. I don't know what went wrong,
Installed Attlassian JIRA on windows 7, and it works only on h_t_t_p://localhost:8088, but if
I installed Asp.net MVC 3 beta which also installs NuPack, but when I open
I installed Windows Phone Developer Tools. I can create the projects with Blend 4
I installed the opencv-android plugin successfully and I can build and run the cvcamera
I installed ruby in steel (visual studio8) on windows 7 ultimate. But when i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.