Hi Marcos,

Your problem is that your previous version of scikit-learn was installed
using setuptools. Setuptools puts versions that it installs in front of
everything else.

Pretty much your only solution to avoid this problem, is to remove the
folders of the old install.

Gaël

On Sat, Sep 01, 2012 at 06:41:06AM +0100, Brian Holt wrote:
>    Hi Marcos,

>    The easiest option is always to uninstall version 0.11. Failing that, try
>    putting the new location at the beginning of your PYTHONPATH.

>    Cheers
>    Brian

>    On Sep 1, 2012 3:36 AM, "Marcos Wolff" <[1][email protected]> wrote:

>      for compiling yes:
>      git clone git://[2]github.com/scikit-learn/scikit-learn.git
>      cd scikit-learn
>      sudo python setup.py install

>      for testing no, I do:
>      cd ..
>      python
>      import sklearn # (this imports correctly)
>      help(sklearn)
>      I think there are both versions installed, but it chooses 0.11,
>      libraries for some reason.
>      On Fri, Aug 31, 2012 at 11:25 PM, W. Bryan Smith <[3][email protected]>
>      wrote:

>        are you in the sklearn build directory?
>        if so, just cd somewhere else and try again.

>        regards,
>        bryan

>        On Fri, Aug 31, 2012 at 7:06 PM, Marcos Wolff <[4][email protected]>
>        wrote:

>          Hi,

>          I'm currently using scikit-learn 0.11 (stable version) in Ubuntu
>          11.04 64bits with Python2.7.

>          Now I need to try the development version (0.12). I downloaded the
>          lastest version and installed:

>          git clone git://[5]github.com/scikit-learn/scikit-learn.git
>          cd scikit-learn
>          sudo python setup.py install

>          but when I try to use it:

>          python
>          import sklearn
>          help(sklearn)

>          I get:

>          FILE
>             
>          
> /usr/local/lib/python2.7/dist-packages/scikit_learn-0.11-py2.7-linux-x86_64.egg/sklearn/__init__.py

>          and I can't use the new features :(

>          I tried adding the source directory to PYTHONPATH variable. But
>          didn't work either.

>          How sholud I deal with it ?
>          Thanks !

>          Thanks!
>          
> ------------------------------------------------------------------------------
>          Live Security Virtual Conference
>          Exclusive live event will cover all the ways today's security and
>          threat landscape has changed and how IT managers can respond.
>          Discussions
>          will include endpoint security, mobile security and the latest in
>          malware
>          threats.
>          [6]http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>          _______________________________________________
>          Scikit-learn-general mailing list
>          [7][email protected]
>          [8]https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

>        
> ------------------------------------------------------------------------------
>        Live Security Virtual Conference
>        Exclusive live event will cover all the ways today's security and
>        threat landscape has changed and how IT managers can respond.
>        Discussions
>        will include endpoint security, mobile security and the latest in
>        malware
>        threats. [9]http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>        _______________________________________________
>        Scikit-learn-general mailing list
>        [10][email protected]
>        [11]https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

>      
> ------------------------------------------------------------------------------
>      Live Security Virtual Conference
>      Exclusive live event will cover all the ways today's security and
>      threat landscape has changed and how IT managers can respond.
>      Discussions
>      will include endpoint security, mobile security and the latest in
>      malware
>      threats. [12]http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>      _______________________________________________
>      Scikit-learn-general mailing list
>      [13][email protected]
>      [14]https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

> References

>    Visible links
>    1. mailto:[email protected]
>    2. http://github.com/scikit-learn/scikit-learn.git
>    3. mailto:[email protected]
>    4. mailto:[email protected]
>    5. http://github.com/scikit-learn/scikit-learn.git
>    6. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>    7. mailto:[email protected]
>    8. https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>    9. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>   10. mailto:[email protected]
>   11. https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>   12. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>   13. mailto:[email protected]
>   14. https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general


-- 
    Gael Varoquaux
    Researcher, INRIA Parietal
    Laboratoire de Neuro-Imagerie Assistee par Ordinateur
    NeuroSpin/CEA Saclay , Bat 145, 91191 Gif-sur-Yvette France
    Phone:  ++ 33-1-69-08-79-68
    http://gael-varoquaux.info            http://twitter.com/GaelVaroquaux

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to