Python Forum
Installing pygal under Ubuntu 18.04
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing pygal under Ubuntu 18.04
#20
I don't understand why there is this message, while it asks me root password...

But it says that "cffi" is OK in python 3.6
Output:
yonnel@yonnel-Z97X-Gaming-7:~$ sudo python3 -m pip install cffi [sudo] Mot de passe de yonnel : The directory '/home/yonnel/.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/yonnel/.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. Requirement already satisfied: cffi in ./.local/lib/python3.6/site-packages Requirement already satisfied: pycparser in ./.local/lib/python3.6/site-packages (from cffi) yonnel@yonnel-Z97X-Gaming-7:~$
When I run "foobarbaz.py" with python 3.7 IDLE, I still have the same error message...

But when I run "foobarbaz.py" with python 3.6 in Bash terminal, It's working ! It dont shaw anything, but it makes a "foo.png" file with the chart Smile

--> Is it posible to change the version of Python that the IDLE is runing?
Reply


Messages In This Thread
Installing pygal under Ubuntu 18.04 - by ybeco - Aug-01-2018, 02:20 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-01-2018, 09:23 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-02-2018, 01:06 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-02-2018, 01:19 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-03-2018, 05:06 AM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-03-2018, 04:29 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-05-2018, 10:07 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-06-2018, 04:30 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-07-2018, 12:36 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-07-2018, 02:44 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-08-2018, 08:46 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-09-2018, 12:02 PM
RE: Installing pygal under Ubuntu 18.04 - by ybeco - Aug-10-2018, 10:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygal: Displaying information for each data point KirkmanJ 0 1,910 Jul-29-2019, 01:10 PM
Last Post: KirkmanJ
  Ubuntu: Error installing watson-developer-cloud Python module gio123 3 4,503 Mar-15-2018, 09:39 PM
Last Post: gio123

Forum Jump:

User Panel Messages

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