Results 1 to 2 of 2

Thread: python versions, numpy, scipy, pandas...

  1. #1
    Join Date
    Feb 2012

    Question python versions, numpy, scipy, pandas...

    How to install python2.7.3 + numpy + scipy + matplotlib + scikits.statsmodels + pandas0.7.3 correctly ? The problem:

    ~$ python --version
    Python 2.7.3
    so i already have a system-default 2.7.3, which is good!

    ~$ dpkg -s python-numpy
    Package: python-numpy
    Status: install ok installed
    and i already have numpy installed! great! But...

    ~$ python
    Python 2.7.3 (default, Oct 23 2012, 01:07:38) 
    [GCC 4.6.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import numpy as nmp
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: No module named numpy
    this module couldn't be find by python. The same with scipy, matplotlib. Why?

    ~$ sudo apt-get install python-numpy
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    python-numpy is already the newest version.
    why it does not see numpy and others ?

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Nux Jam
    Ubuntu Development Release

    Re: python versions, numpy, scipy, pandas...

    python-numpy (1:1.7.0~b2-1ubuntu1) raring; urgency=low

    * Merge with Debian; remaining changes:
    - debian/patches/20_disable-plot-extension.patch
    Disable plot_directive extension, and catch ImportErrors when
    matplotlib cannot be imported, which allows us to remove
    python-matplotlib from dependencies. This is required because
    python-numpy is in main, while python-matplotlib is in universe.
    - Build using dh_python2
    add bin/f2py* to .install files

    -- Matthias Klose <> Mon, 22 Oct 2012 15:26:41 +0200

Tags for this Thread


Posting Permissions

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