Results 1 to 3 of 3

Thread: Installing Python 3.x modules

  1. #1
    Join Date
    Jul 2012
    Beans
    8

    Installing Python 3.x modules

    Hello,
    I have big problems installing python 3 modules. Specifically I need Matplotlib,Scipy and Numpy. The later is already installed. I downloaded the Sourcecode files from Sourceforge and tried
    Code:
    sudo python3 setup.py
    inside the unpacked directory of the module. Of course I get an error message because I have no ******* idea what I am actually doing. I understand that many ubuntu applications need an older version of python to run (~2.7) but I want to use python 3+.

    I read thing about virtual environment and all that stuff, but I dont understand it. I am going to use Ecplise for programming and it is working fine so far. I can also do
    Code:
    python3
    in console and I enter python 3.3.1 in interactive mode:
    Code:
    neutronst4r@nibbler:~$ python3
    Python 3.3.1 (default, Apr 17 2013, 22:30:32) 
    [GCC 4.7.3] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>>
    I need to know how to install modules for a specific python version. Please help me!
    Last edited by Neutronst4r; May 18th, 2013 at 11:04 PM.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Installing Python 3.x modules

    No need to download anything manually they are already in the repositories, just use the Ubuntu package management system like you would for any other piece of software. Either search for them in Synaptic if you want to use a GUI or run the following command to install them from the terminal.
    Code:
    sudo apt-get install python3-matplotlib python3-scipy python3-numpy
    Last edited by Cheesemill; May 18th, 2013 at 04:48 PM.
    Cheesemill

  3. #3
    Join Date
    Jul 2012
    Beans
    8

    Re: Installing Python 3.x modules

    I feel very dumb now. Thank you very much!

Tags for this Thread

Bookmarks

Posting Permissions

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