It's a similar problem; if you install scikit-learn for python2.6 it won't
work with the python2.7 binary, because it's not in the appropriate folder
and it's not built against the proper library. Feel free to `port
uninstall` it and reinstall the python27 version, if that's the version
you're using.

In general it's recommended to use the macports python rather than the
system python, which is a custom built one by Apple.  It's also fine to use
the python from the official binaries on the website, but then you can't
install any libraries via macports, you will need to use `pip` or
`easy_install`.

Yours,
Vlad


On Sat, Aug 24, 2013 at 1:20 PM, MORGANDON G <[email protected]> wrote:

> I downloaded the macports py26 version, without reading carefully enough.
> I have python27 installed- can I use it instead of python26 without fear of
> breaking something?
>
> And thanks for the tips on nosetests. I have made some progress using
> scikits and learning python but I never got that to work.
>
> Thanks again,
> Don
>
> On Aug 24, 2013, at 6:16 PM, Vlad Niculae <[email protected]> wrote:
>
> The `python` and `nosetests` executables that you are running are probably
> not the macports ones. Type `which python` and `which nosetests`; usually
> the macports one should be in /opt/local/bin.
>
> Try running them manually.
>
> Also, any reason not to use py27?
>
> Yours,
> Vlad
>
>
> On Mon, Aug 12, 2013 at 7:58 AM, MORGANDON G <[email protected]> wrote:
>
>>
>>
>> I am very interested in using this software but I am having trouble
>> getting it started. The tests suggested on the install page do not run
>> (nosetests sklearn --exe and python -c "import sklearn; sklearn.test()").
>>
>> To install, I used  the MacPorts command (sudo port install
>> py26-sckkit-learn) assuming it would install all the dependencies. It ran
>> to completion and reported no errors.
>>
>> MacPorts insists that the software is installed and 'active'.
>>
>> I didn't run any other preparation installs, I already had Xcode, the
>> command line tools and XQuartz installed. I am using the latest release of
>> the OS 10.8.4.
>>
>> Can someone tell me what I am doing wrong?
>>
>> Thank you,
>> Don
>>
>> ------------------------------------------------------------------------------
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Scikit-learn-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk_______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to