What Linux distribution are you using? Does it have FiPy in the repositories? If so, you should probably install FiPy from there (unless you need a newer version that your distribution provides). Did you install pip from the distribution's repositories?
On Sat, Feb 28, 2015 at 2:45 PM, Franck Kalala <[email protected]> wrote: > divine@franck-laptop:~$ python -c "from distutils.sysconfig import > get_python_lib; print(get_python_lib())" > /usr/lib/python2.7/dist-packages > divine@franck-laptop:~$ ls -l `which python` > lrwxrwxrwx 1 root root 9 Feb 26 10:05 /usr/bin/python -> python2.7 > divine@franck-laptop:~$ > > > 2015-02-28 21:39 GMT+02:00 Raymond Smith <[email protected]>: > >> It looks like pip is installing to >> /usr/local/lib/python2.7/dist-packages/ (very normal). Perhaps that's not >> where you're python is looking for packages. What is the output of >> >> $ python -c "from distutils.sysconfig import get_python_lib; >> print(get_python_lib())" >> >> (from >> https://stackoverflow.com/questions/122327/how-do-i-find-the-location-of-my-python-site-packages-directory >> ) >> Also, is there an issue with python multiple versions and, e.g. "python" >> pointing to python3? What is output from >> >> $ ls -l `which python` >> >> Ray >> >> On Sat, Feb 28, 2015 at 2:33 PM, Franck Kalala < >> [email protected]> wrote: >> >>> test give this >>> >>> divine@franck-laptop:~$ python -c "import fipy; fipy.test()" >>> Traceback (most recent call last): >>> File "<string>", line 1, in <module> >>> ImportError: No module named fipy >>> divine@franck-laptop:~$ >>> >>> >>> 2015-02-28 21:27 GMT+02:00 Raymond Smith <[email protected]>: >>> >>>> Looks to me like pip thinks you already have fipy installed >>>> ("Requirement already satisfied"). I guess you've already tried running the >>>> test and it failed? What was the output of that? >>>> >>>> Ray >>>> >>>> >>>> On Sat, Feb 28, 2015 at 2:25 PM, Franck Kalala < >>>> [email protected]> wrote: >>>> >>>>> I have install ez_setup package, now I get this >>>>> >>>>> divine@franck-laptop:~$ sudo pip install fipy >>>>> Requirement already satisfied (use --upgrade to upgrade): fipy in >>>>> /usr/local/lib/python2.7/dist-packages/FiPy-3.1-py2.7.egg >>>>> Cleaning up... >>>>> >>>>> >>>>> cheers >>>>> >>>>> 2015-02-28 0:26 GMT+02:00 Raymond Smith <[email protected]>: >>>>> >>>>>> It means you don't have a python module called ez_setup. See >>>>>> https://pypi.python.org/pypi/ez_setup. Maybe try >>>>>> $ sudo pip install ez_setup >>>>>> >>>>>> Ray >>>>>> >>>>>> On Fri, Feb 27, 2015 at 5:23 PM, Franck Kalala < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> I am trying to install Fipy, but I am getting this >>>>>>> >>>>>>> divine@franck-laptop:~/Downloads/FiPy-3.1$ sudo python setup.py >>>>>>> install >>>>>>> [sudo] password for divine: >>>>>>> Traceback (most recent call last): >>>>>>> File "setup.py", line 44, in <module> >>>>>>> import ez_setup >>>>>>> ImportError: No module named ez_setup >>>>>>> >>>>>>> Any help? >>>>>>> >>>>>>> -- >>>>>>> Franck Kalala Mutombo, Ph.D. >>>>>>> https://sites.google.com/a/aims.ac.za/dr-franck-kalalaf-mutombo/ >>>>>>> Tel: +243 824018007 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> fipy mailing list >>>>>>> [email protected] >>>>>>> http://www.ctcms.nist.gov/fipy >>>>>>> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy >>>>>>> ] >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> fipy mailing list >>>>>> [email protected] >>>>>> http://www.ctcms.nist.gov/fipy >>>>>> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy >>>>>> ] >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Franck Kalala Mutombo, Ph.D. >>>>> https://sites.google.com/a/aims.ac.za/dr-franck-kalalaf-mutombo/ >>>>> Tel: +243 824018007 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> fipy mailing list >>>>> [email protected] >>>>> http://www.ctcms.nist.gov/fipy >>>>> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> fipy mailing list >>>> [email protected] >>>> http://www.ctcms.nist.gov/fipy >>>> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] >>>> >>>> >>> >>> >>> -- >>> Franck Kalala Mutombo, Ph.D. >>> https://sites.google.com/a/aims.ac.za/dr-franck-kalalaf-mutombo/ >>> Tel: +243 824018007 >>> >>> >>> >>> >>> >>> _______________________________________________ >>> fipy mailing list >>> [email protected] >>> http://www.ctcms.nist.gov/fipy >>> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] >>> >>> >> >> _______________________________________________ >> fipy mailing list >> [email protected] >> http://www.ctcms.nist.gov/fipy >> [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] >> >> > > > -- > Franck Kalala Mutombo, Ph.D. > https://sites.google.com/a/aims.ac.za/dr-franck-kalalaf-mutombo/ > Tel: +243 824018007 > > > > > > _______________________________________________ > fipy mailing list > [email protected] > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] > >
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
