Newbie needs help!

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Newbie needs help!
# 1  
Old 04-02-2011
Newbie needs help!

Hello all. I stumbled upon this site trying to get help. I'm a total newb to using Unix and I'm real eager and excited to learn it. So I'm in a computing class and to do the homework I need to install some software: scipy, numpy, python, ipython, matplotlib/pylab, mercurial, gfortran, openMP, open MPI, LApack, and Sphinx. A ton of stuff. So I'm totally new to all of this and I guess all of the installation instructions are geared more to those with Linux.

So for now I just need to worry about python, ipython, numpy, scipy, gfortran, and matplotlib/pylab(are these the same or different things?). So I know Mac os comes with pythong 2.6, so I skipped that and I was able to find an installer for fortran. Then I started trying to download each of the remaining deals using the command
sudo easy_install PACKAGE

and for package went down the list of: IPython[kernel,security],numpy,
scipy, and matplotlib.

So when I did this all sorts of crazy went through the command window and
I had no clue what it meant. So I went into ipython( which I really
have no idea what is the difference between python and ipython. Are
they the same thing or two different programs?) and I tried to import
numpy, scipy,matplotlib and pylab and this is what I get:

**********************************************************************
Code:
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
Type "copyright", "credits" or "license" for more information.

IPython 0.10.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import numpy

In [2]: import matplotlib
/Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/pytz/tzinfo.py:5: DeprecationWarning: the sets module is deprecated
  from sets import Set

In [3]: import scipy
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/jonathanthompson/<ipython console> in <module>()

ImportError: No module named scipy

In [4]: import pylab
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/jonathanthompson/<ipython console> in <module>()

/Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/pylab.py in <module>()
----> 1 from matplotlib.pylab import *
      2 import matplotlib.pylab
      3 __doc__ = matplotlib.pylab.__doc__

/Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/matplotlib/pylab.py in <module>()
    204 # replace the present numpy.ma implementation in a future

    205 # numpy release.

--> 206 from matplotlib.numerix import npyma as ma
    207 
    208 from matplotlib import mpl  # pulls in most modules

/Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/matplotlib/numerix/__init__.py in <module>()
    164 g = globals()
    165 l = locals()
--> 166 __import__('ma', g, l)
    167 __import__('fft', g, l)
    168 __import__('linear_algebra', g, l)

/Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/matplotlib/numerix/ma/__init__.py in <module>()
     14         print "using maskedarray"
     15     else:
---> 16         from numpy.core.ma import *
     17         #print "using ma"

     18     def getmaskorNone(obj):

ImportError: No module named ma

In [5]:


So I have no clue what all that means. I really could use some help.
I just started using Unix like a week ago really, so I feel TOTALLY
overwhelmed. I would REALLY appreciate all the help I can get. Thanks
so much!!

Last edited by pludi; 04-02-2011 at 03:55 PM..
# 2  
Old 04-04-2011
It means what it says: It doesn't have those modules. you may need to install them.
# 3  
Old 04-05-2011
Google Mac Ports and Fink, these along with the developer tool's installed will allow you to install many different command line tools and binaries.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl newbie . &&..programming newbie

Hi, I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script. I have a files named in this format... (13 Replies)
Discussion started by: xytiz
13 Replies

2. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

3. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

4. Solaris

Newbie

Hello Guys, I just join the unix world today, I had my first lesson on unix today. So expect so much questions from me the next time I log in. Thanks (3 Replies)
Discussion started by: Micko
3 Replies

5. UNIX for Dummies Questions & Answers

Newbie in need of help

Hey all. I am a MS person that is looking to get into real computing for a change. I have seen a few different references to "UNIX Essentials and Core" DVD in different newbie threads and a quick intraweb search on Google only comes up with links to this forum and an Amazon review. Does anyone... (3 Replies)
Discussion started by: cfjohnsn
3 Replies

6. UNIX Desktop Questions & Answers

newbie

Hi, I am interested in learning unix and would like some advice on how I would start to learn unix. Therefore, What would be a good (free) unix distribution to install? Would it be better to invest in a packaged Linux distribution (redhat etc) and get the feel for unix this way? Are... (4 Replies)
Discussion started by: wolf2
4 Replies

7. UNIX for Dummies Questions & Answers

Newbie

I know I'm jsut a newbie, I'm setting up a 1.3 ghz dell as a server. I have experiance using Windows for a webserver, and I was jsut woundering if I would have great difficulty using Unix. is there there like netscape for internet? is there like word? can you listen to Mp3s? can someone... (4 Replies)
Discussion started by: Special K
4 Replies

8. UNIX for Dummies Questions & Answers

newbie needs help

hi i need some help on command grep and pipe but the man grep and man pipe doesn't help me much is there any site show more detail help on all the unix command?? (1 Reply)
Discussion started by: goodman
1 Replies

9. Programming

help<newbie>

i am new to the programing enviroment i know html and some of cgi i would like to know how to creat programs i know nothing!!!!!!!!!!!!! what do i need to get started where can i learn the language what language do i need to learn i tried scheme http://www.htdp.com it did not work out well... (9 Replies)
Discussion started by: skistar
9 Replies

10. IP Networking

help<newbie>

hello i would like to get a server so i may post websites on the web do i have to pay a lot of money to use someone else's server or is there a way to turn a computer into a basic server please help i am trying to find the most inexpensive way to get my own domain up on the web if this is... (1 Reply)
Discussion started by: skistar
1 Replies
Login or Register to Ask a Question