Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

MOOC-E

  • 2 years ago

A little help: After following @RoamingBlue 's very helpful instructions here (http://openstudy.com/study#/updates/502ee916e4b0e46adced0063) one of our MechMOOCers is still confronted by the following when trying to install Python (From his e-mail): mike@ubuntu:~$ python -V Python 2.6.7 mike@ubuntu:~$ Still have to install Idle... Holding thumbs! One minor nit: the line for i in `cat list`; do apt-get -y install $i; done has to be run as root. I.e. $ sudo su password... # for i in `cat list`; do apt-get -y install $i; done Any thoughts?

  • This Question is Closed
  1. RoamingBlue
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I'd checks: First, did he install the version of Python he wanted using Pythonbrew? Second, can he find that version in whatever directory Pythonbrew is storing his versions in? Third, if he looks in ./bin under that directory, is the python executable there? If so, is idle? ... If idle is there, he probably needs to repeat the step about updating his .bashrc file. If not, then yes he needs to install idle. I've not used idle under Pythonbrew, though I'm relatively certain Pythonbrew installs it. Like I posted in the link you reference, I highly recommend (and personally use) Wing101 instead.

  2. rsmith6559
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    The prompt that the user is getting suggests, and the error message confirms, that the installation needs to be done by the super user, root. su is the Substitute User command so that the user can become root in the shell (window) that they're in.

  3. MikeR
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    It's just the command apt-get that has to be performed by the SuperUser. Easiest way is just "sudo su" before the loop (and "exit" after it)

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.