[SciPy-User] scipy install on Mac

Chris Weisiger cweisiger@msg.ucsf....
Thu Jun 7 16:28:54 CDT 2012


On Thu, Jun 7, 2012 at 2:26 PM, Irina Nudelman <irina.nudelman@gmail.com> wrote:
> thanks. Ok, it works now for scipy, but as I feared - every other package is
> screwed up! Now I get no module found for every other import, such as
> networkx, pygraphviz, etc. How do I make them all work together?!! This is
> quite frustrating - I don't understand why scipy installation is so
> difficult? Every other package was fine, including numpy. I just installed
> and it all worked.
>
> your help is much appreciated to help me figure this out.

Every Python install keeps a separate collection of libraries. It's
not that the other libraries are screwed up; they're simply not there.
You have to install them for the python.org Python.

-Chris

>
> On Thu, Jun 7, 2012 at 5:16 PM, Ralf Gommers <ralf.gommers@googlemail.com>
> wrote:
>>
>>
>>
>> On Thu, Jun 7, 2012 at 11:09 PM, Irina Nudelman <irina.nudelman@gmail.com>
>> wrote:
>>>
>>> Thanks Ralf.
>>>
>>> I just tried what you said - I installed Python2.6. Then I ran the scipy
>>> installation again from disc image - this time it finished with "install
>>> succesfull". However, I still get the error saying there's no module named
>>> scipy when I run my code! Also, I don't know where exactly scipy got
>>> installed - when I search I only see the dmg file. Probably my code is still
>>> using the apple python, but if I got installation successful, why can't I at
>>> least see where scipy went?!
>>>
>>
>> It's installed to
>> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy.
>>
>> If you installed the Python from python.org, opening a new terminal and
>> typing "python" should use the newly installed Python. You can check that
>> by:
>>
>> >>> import os
>> >>> os.__file__
>> '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.pyc'
>>
>> Ralf
>>
>>
>>>
>>> On Thu, Jun 7, 2012 at 4:12 PM, Ralf Gommers
>>> <ralf.gommers@googlemail.com> wrote:
>>>>
>>>>
>>>>
>>>> On Thu, Jun 7, 2012 at 7:19 PM, Irina Nudelman
>>>> <irina.nudelman@gmail.com> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I have trouble installing Scipy on my Mac. I downloaded this:
>>>>> scipy-0.10.1-py2.6-python.org-macosx10.3.dmg and clicked and tried to
>>>>> install, but it told me it needs python 2.6. However, that's the version I
>>>>> have already. When I do python, I see:
>>>>>
>>>>> Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
>>>>> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
>>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>
>>>>> Can you help me figure out how to install it?
>>>>
>>>>
>>>> Hi Irina, that is your system Python (installed by Apple, best to leave
>>>> it alone). You should install Python 2.6 from
>>>> http://www.python.org/download/releases/2.6.6/, or 2.7 (also from
>>>> python.org). Then you can use the binary installers of numpy and scipy, in
>>>> that order.
>>>>
>>>> Cheers,
>>>> Ralf
>>>>
>>>>
>>>> _______________________________________________
>>>> SciPy-User mailing list
>>>> SciPy-User@scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>>>
>>>
>>>
>>> _______________________________________________
>>> SciPy-User mailing list
>>> SciPy-User@scipy.org
>>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>>
>>
>>
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list