Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why so complicated?
#14
I had to put in a little work today (I swear, if those people didn't pay me, I'd simply stay home >:@ ), but now I've managed to install Ubuntu, had a wee look at the structure of the O/S, and am currently going through Snippsat's guide. Which is very helpful for a beginner, I might add; thank you for the effort :)

Upon inserting sudo pip3 install virtualenv I receive:

Output:
The directory '/home/vulpes/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/vulpes/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
I have a hunch that it's somehow connected to what I was experiencing yesterday in terms of the errno 13, that kept popping up; there's something off with my permissions. Even if I'm running the O/S as admin.

Proceeding, after succesfully installing virtualenv, I get:

Output:
You are using pip version 8.1.1, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
I typed in sudo apt install python-pip, and then I received some white text:

Output:
The program 'pip' is currently not installed. You can install it by typing: sudo apt install python-pip
Moving along I get versions: 3.5.2 & 2.7.12

I skipped the hello.py part, and went on to seeing if I could fetch the request module, and once more I received:

Output:
The directory '/home/vulpes/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/vulpes/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
I'll stop here for now and simply read the guide, as I suspect that the permission problem will persist and - god forbid - disrupt something if I provoke it too much.
Reply


Messages In This Thread
Why so complicated? - by vulpesVelox - Jan-27-2018, 10:06 PM
RE: Why so complicated? - by wavic - Jan-27-2018, 10:26 PM
RE: Why so complicated? - by vulpesVelox - Jan-28-2018, 12:14 AM
RE: Why so complicated? - by snippsat - Jan-27-2018, 10:52 PM
RE: Why so complicated? - by Gribouillis - Jan-27-2018, 11:33 PM
RE: Why so complicated? - by league55 - Jan-28-2018, 01:11 AM
RE: Why so complicated? - by wavic - Jan-28-2018, 01:37 AM
RE: Why so complicated? - by vulpesVelox - Jan-28-2018, 10:59 AM
RE: Why so complicated? - by league55 - Jan-28-2018, 11:14 AM
RE: Why so complicated? - by Gribouillis - Jan-28-2018, 05:37 AM
RE: Why so complicated? - by league55 - Jan-28-2018, 08:28 AM
RE: Why so complicated? - by Gribouillis - Jan-28-2018, 08:44 AM
RE: Why so complicated? - by snippsat - Jan-28-2018, 01:35 PM
RE: Why so complicated? - by vulpesVelox - Jan-28-2018, 07:15 PM
RE: Why so complicated? - by wavic - Jan-28-2018, 09:21 PM
RE: Why so complicated? - by vulpesVelox - Jan-30-2018, 01:51 PM
RE: Why so complicated? - by snippsat - Jan-30-2018, 06:52 PM
RE: Why so complicated? - by nelsonkane - Jan-31-2018, 02:40 AM
RE: Why so complicated? - by vulpesVelox - Jan-31-2018, 11:16 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020