I'm new to Python and the command line of my mac, so please excuse any
errors or omissions I may make.

I first installed Spyder via fink on the recommendation of a friend of
mine. It installed without any obvious errors however when it came to
using Spyder the default variables (e, pi, numpy etc) were not
defined. I also had a list of errors in the console that were as
follows:

Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages/spyderlib/scientific_startup.py", line 16, in <module>
   from pylab import *  #analysis:ignore
 File "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-
macosx-10.7-intel.egg/pylab.py", line 1, in <module>
   from matplotlib.pylab import *
 File "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-
macosx-10.7-intel.egg/matplotlib/pylab.py", line 222, in <module>
   from matplotlib import mpl  # pulls in most modules
 File "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-
macosx-10.7-intel.egg/matplotlib/mpl.py", line 3, in <module>
   from matplotlib import axes
 File "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-
macosx-10.7-intel.egg/matplotlib/axes.py", line 19, in <module>
   import matplotlib.dates as mdates
 File "/Library/Python/2.7/site-packages/matplotlib-1.2.x-py2.7-
macosx-10.7-intel.egg/matplotlib/dates.py", line 122, in <module>
   from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU,
YEARLY, \
ImportError: No module named dateutil.rrule

I uninstalled fink and along with it Spyder and tried to reinstall
using MacPorts. I had more success, however upon loading Spyder I know
find that both e and pi are defined but not numpy. Also the console
shows the following:

'import sitecustomize' failed; use -v for traceback
Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Imported NumPy 1.6.1, SciPy 0.10.0, Matplotlib 1.1.0
Type "scientific" for more details.
>>>

The >>> is puzzling me. I have used Spyder on Windows machines and >>>
is replaced with [In] and [Out]. Is this just the way Spyder works
under OS X or have I done something wrong?

Also, and the most concerning issue for me, is that whilst >>>7./4.
returns the answer 1.75, >>>7/4 also returns 1.75. This shouldn't be
the case as the former is a float calculation and the latter an
integer calculation.

As I'm new to all of this I can't make sense of the error messages
I've had to try and see if the cause of the error is in there.

Any help would be greatly appreciated!

Many thanks

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to