Results 1 to 5 of 5

Thread: installing NumPy

  1. #1
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default installing NumPy

    im trying to install the NumPy module,and i cant find any usefull tutorials on google.

    i ran the .exe installer for python 2.7 on windows, and the source seems to be in the correct folder: c:\python 2.7\lib\whateverthefolderiscalled. but when i move the source out of the folder and into the Lib folder, it messes up the python shell
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  2. #2
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    The exe should install it, you shouldn't need to move any files.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  3. #3
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    your right, its just that site-packages is an odd place to put the stuff
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  4. #4
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by Awkwardsaw View Post
    your right, its just that site-packages is an odd place to put the stuff
    Perl does the same thing =/

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  5. #5
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    an other quick question, im getting a DLL error:
    Code:
    Traceback (most recent call last):
      File "C:\Users\owner\Desktop\biorythm.py", line 3, in <module>
        import pylab
      File "C:\Program Files (x86)\python27\lib\pylab.py", line 1, in <module>
        from matplotlib.pylab import *
      File "C:\Program Files (x86)\python27\lib\matplotlib\pylab.py", line 220, in <module>
        from matplotlib import mpl  # pulls in most modules
      File "C:\Program Files (x86)\python27\lib\matplotlib\mpl.py", line 1, in <module>
        from matplotlib import artist
      File "C:\Program Files (x86)\python27\lib\matplotlib\artist.py", line 6, in <module>
        from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath
      File "C:\Program Files (x86)\python27\lib\matplotlib\transforms.py", line 34, in <module>
        from matplotlib._path import affine_transform
      File "C:\Program Files (x86)\python27\lib\matplotlib\_path.py", line 7, in <module>
        __bootstrap__()
      File "C:\Program Files (x86)\python27\lib\matplotlib\_path.py", line 6, in __bootstrap__
        imp.load_dynamic(__name__,__file__)
    ImportError: DLL load failed: %1 is not a valid Win32 application.
    everything im using is 32bit, python, pylab(matplotlib), and numPy.

    incase it helps, File "C:\Program Files (x86)\python27\lib\matplotlib\_path.py":
    Code:
    def __bootstrap__():
       global __bootstrap__, __loader__, __file__
       import sys, pkg_resources, imp
       __file__ = pkg_resources.resource_filename(__name__,'_path.so')
       __loader__ = None; del __bootstrap__, __loader__
       imp.load_dynamic(__name__,__file__)
    __bootstrap__()
    Last edited by Awkwardsaw; 01-18-2011 at 03:29 AM.
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •