1

I'm learning python3 now and I want to ask a question about it.

My Ubuntu has Python2 and Python3 already. I'm just learning python3. Should I install these packages?

Packages:

sudo apt-get install tcl-dev tk-dev zlib1g-dev ncurses-dev libreadline-dev libdb-dev libgdbm-dev libzip-dev libssl-dev libsqlite3-dev libbz2-dev liblzma-dev

My Python3 version:

Python 3.4.3+

My Python2 version:

Python 2.7.10
4
  • 1
    For learning purposes? I would only install them if you specifically have a reason for it. Idle and Idle3 are handy IDE's though. Mar 18, 2016 at 16:54
  • Yes, for only learning the python3. But I don't know that which package is necessary for which code..
    – user513724
    Mar 18, 2016 at 16:59
  • You will find out if you get import errors :), but most of the things you mention, I don't have on my system. Mar 18, 2016 at 17:02
  • Ah okay! This comment helped enough with your answer. I will select now.
    – user513724
    Mar 18, 2016 at 17:03

1 Answer 1

1

For learning purposes, you need nothing more than python and a plain text editor like gedit. Indeed python (2) and python3 are pre-installed on a modern Ubuntu version.

Additional libraries, I would only install if you have a specific reason for it. You will find out if you get import errors for example.
Many of the things you mention, I do not have on my system.

Idle, the python IDE

For automatic indentation, easy editing and test- running your code, I would advice to install both idle and idle3 though (python IDE)

1
  • @InterestingKnox you're welcome! Mar 18, 2016 at 17:11

You must log in to answer this question.