py25-numpy Failed to Build, 10.5.2
Morgan Sutherland
morgan at morgansutherland.net
Tue May 13 18:36:49 PDT 2008
Ok, so this is what I got at first:
/opt/local/bin: /opt/local/bin/python2.5
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 2.5.2 (r252:60911, Apr 29 2008, 13:48:06)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named math
>>>
I then set PYTHONHOME ("export PYTHONHOME=/opt/local/bin") in .profile
and got this:
/opt/local/bin: /opt/local/bin/python2.5
'import site' failed; use -v for traceback
Python 2.5.2 (r252:60911, Apr 29 2008, 13:48:06)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named math
>>>
I tried some other settings for PYTHONHOME -- bin, lib... same errors as above.
I also tried renaming pydistutils.cfg and got the same errors.
On Tue, May 13, 2008 at 4:11 PM, Morgan Sutherland
<morgan at morgansutherland.net> wrote:
> Right, py25-pygtksourceview is the one. I will mess around tonight or
> tomorrow when I get back to my computer.
>
> On Tue, May 13, 2008 at 3:52 PM, Adam Mercer <ram at macports.org> wrote:
>> On Tue, May 13, 2008 at 2:12 PM, Morgan Sutherland
>> <morgan at morgansutherland.net> wrote:
>> > Adam, I don't know how to do this (I've never used Python before). I'm
>> > just trying to install py-gtksourceview to run a program and it hung
>> > on numpy.
>>
>> There isn't a py-gtksourceview port, don't you mean py25-pygtksourceview?
>>
>> can you send me what you get when you try to "import math" after
>> running /opt/local/bin/python2.5, e.g.
>>
>>
>> $ /opt/local/bin/python2.5
>> Python 2.5.2 (r252:60911, May 7 2008, 13:15:18)
>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import math
>> >>>
>>
>> Cheers
>>
>> Adam
>>
>
>
>
> --
> Morgan Sutherland
>
--
Morgan Sutherland
More information about the macports-users
mailing list