473,405 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Installed MacPython 10.3 Addons - Can't find Modules, even standard ones.

I upgraded to Panther a month ago and just upgraded to MacPython 10.3
Addons (as per Jack Jansen's page - thanks, Jack).

But now my programs can't even find standard modules. from Numeric
import * brings up the error window: Can't find module Numeric. Even
trig functions sine and cosine generate the same type of error. I've
looked over the FAQ and can't see any answers (maybe I missed
something). I'm guessing this is a Path problem, but I'm stumped. I
have PYTHONPATH set to some of my modules (which seems to work), but not
sure what to do about standard stuff.

Any clues appreciated. Thanks.

-- Lou Pecora (my views are my own)

P.S. I posted this on Python-Mac-SIG email list, too. Sorry if you are seeing it again.
Jul 18 '05 #1
4 1443
On Sun, Nov 07, 2004 at 09:26:45AM -0500, Lou Pecora wrote:
I upgraded to Panther a month ago and just upgraded to MacPython 10.3
Addons (as per Jack Jansen's page - thanks, Jack).

But now my programs can't even find standard modules. from Numeric
import * brings up the error window: Can't find module Numeric. Even
trig functions sine and cosine generate the same type of error. I've
looked over the FAQ and can't see any answers (maybe I missed
something). I'm guessing this is a Path problem, but I'm stumped. I
have PYTHONPATH set to some of my modules (which seems to work), but not
sure what to do about standard stuff.


did you install Numeric via the PackageManager in MacPython?
--
Serge Rey http://geography.sdsu.edu/rey.html
Clue: angst and pretentiousness are boring.
-- ESR

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQFBjl6jkUwz5faQld8RAjysAKC/P3L0r6QrjJ5EAek9jNdGm2SlRgCg2iis
29Oy1Zl7ATH7C4iacECZFp4=
=euL2
-----END PGP SIGNATURE-----

Jul 18 '05 #2
Lou Pecora wrote:
I upgraded to Panther a month ago and just upgraded to MacPython 10.3
Addons (as per Jack Jansen's page - thanks, Jack).

But now my programs can't even find standard modules. from Numeric
import * brings up the error window: Can't find module Numeric. Even
trig functions sine and cosine generate the same type of error. I've
looked over the FAQ and can't see any answers (maybe I missed
something). I'm guessing this is a Path problem, but I'm stumped. I
have PYTHONPATH set to some of my modules (which seems to work), but not
sure what to do about standard stuff.

Any clues appreciated. Thanks.

-- Lou Pecora (my views are my own)

P.S. I posted this on Python-Mac-SIG email list, too. Sorry if you are seeing it again.


Did you ever install Python through Fink or had used Fink before?

Try to do
import sys
sys.path()
and see where it points to?

My suspicion is that there are more than one pythons in your system now...

Cheers
maurice
Jul 18 '05 #3
In article <ma**************************************@python.o rg>,
Serge Rey <se***@rohan.sdsu.edu> wrote:

did you install Numeric via the PackageManager in MacPython?


Yes, did that. I think the older MacPythons automatically had Numeric,
but not so now. Thanks. That's working, but trig functions still seem
to be unknown to Python. Can't understand that.

-- Lou Pecora (my views are my own)
Jul 18 '05 #4
In article <ma**************************************@python.o rg>,
Maurice LING <ma*********@acm.org> wrote:
Did you ever install Python through Fink or had used Fink before?

Try to do
import sys
sys.path()
and see where it points to?

My suspicion is that there are more than one pythons in your system now...

Cheers
maurice


Ah...Good idea. Will give that a go. I did not install any Fink stuff
ever. Only thing I had was the old Python 2.2 for Jaguar from 2003.
That seemed to be deleted automatically when I installed the 2.3 addons.

-- Lou Pecora (my views are my own)
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Useko Netsumi | last post by:
windows xp with apache2? I follow all the instruction but I still got the following error when starting the apache2: The Apache service named reported the following error: >>> Cannot load...
119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
4
by: Paul Miller | last post by:
I have a user who is is having trouble getting MacPython on his OS X 10.3.8 system. When he runs ConfigurePythonCarbon, he gets this error: 'import site' failed; use -v for traceback...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
2
by: Tod Olson | last post by:
Anyone have advice for importing the logging module using MacPython 2.4.3? MacPython installs the logging module in: /Library/Frameworks/Python.framework/Versions/2.4/lib/logging/ There's an...
0
by: skip | last post by:
After much wailing and gnashing of teeth the past couple of days, I managed to move (most of?) the content from the MacPython wiki to the main Python wiki (*). All pages were created as subpages...
2
by: Dudeja, Rajat | last post by:
Hi, So, now I've finally started using Eclipse and PyDev as an IDE for my GUI Application. I just wrote some sample programs as an hands on. Now I would like to take up Tkinter. I'm using...
3
by: =?Utf-8?B?UGF0UA==?= | last post by:
We have a site that gets many requests for nonexistent pages, files and folders. We want those requests redirected to the index page. However, for static files (i.e. images and some other...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.