Results 1 to 2 of 2

Thread: Python and IDLE

  1. #1
    Join Date

    Python and IDLE

    Hi guys.

    I've brought a book to learn python programming:
    I've tried to install python and IDLE onto my kali machine but I'm having no joy. I've searched the forums and people seem to say use the command:
    apt-get install idle
    but I get a message saying package is not available. I know Kali has python already on the machine and to cover all bases I downloaded and installed the latest version of python from the python site but can;t get the IDLE gui. I would like to get the gui so that I can go through the book and follow the examples within. Any help here would be greatly appreciated. Please don't insult me for being a 'noob' or what have you, yes I am a programming and linux noob but we all need to start somewhere!

    Thanks all.

  2. #2
    Join Date
    I asked a fella at work whos a linux user and we found that I was missing bits a pieces. I thought I'd write down what we did incase anyone else is having simular issues:
    In terminal or search through the files:

    cd /etc/apt/sources.list

    Once here make sure you have the following:

    deb kali/updates main contrib non-free
    deb kali main contrib non-free
    deb-src kali main contrib non-free
    deb-src kali/updates main contrib non-free

    From there run an update.

    I was then able to intall IDLE using apt-get install idle

    Hope this helps anyone whos in the same boat.

Similar Threads

  1. Replies: 0
    Last Post: 2021-03-23, 12:33
  2. Unresponsive after idle for a few hours
    By gg8 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-10-15, 11:38

Posting Permissions

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