Install pygame in Ubuntu Mate
#1
Hi all, I have been trying to install pygame using pip and have been unsuccessful so far. Has anyone had success. SO far I have installed build-dep python-pygame and libfreetype6-dev dependancies based on stack overflow searches.

My latest error is:

Code:
"Exception:
Traceback (most recent call last):
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
   status = self.run(options, args)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
   prefix=options.prefix_path,
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
   **kwargs
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
   self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
   isolated=self.isolated,
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
   clobber(source, lib_dir, True)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
   ensure_dir(destdir)
 File "/home/pine64/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
   os.makedirs(path)
 File "/usr/lib/python2.7/os.py", line 157, in makedirs
   mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pygame''".
  Reply
#2
I placed your log in a code block; please do this yourself from now on.

thanks
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#3
**Update**
I was able to get pygame to successfully install tonight. First I updated pip. Oddly tis would only complete using sudo. Just using the pip command woud have it claim it was up to date and then immediately tell me I should update.
Code:
sudo -H pip install --upgrade pip

Then I was able to install pygame.
Code:
sudo -H pip install pygame

Best I can tell the system did not like installing with a straight pip command and required sudo for this.

Now to try and get PyQt.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  can't install a new OS with sd card. pinebook1080. ObviousHobbit 3 155 07-24-2019, 07:52 AM
Last Post: neilman
  Adding coherent_pool to boot.cmd on Xenial Mate by Ayufan causes boot loop k_mp 0 79 06-11-2019, 01:36 PM
Last Post: k_mp
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 509 05-01-2019, 12:09 PM
Last Post: frank-zappa
  Install OS to LUKS tahf 1 233 01-20-2019, 12:47 PM
Last Post: Blutkoete
  How to Configure Screen Brightness in mate on pinebook via terinal? shirman 6 1,033 12-02-2018, 05:37 AM
Last Post: mikee3000
  Pinebook Ubuntu XFCE screen resolution options Fox7799 2 482 12-01-2018, 06:05 PM
Last Post: Fox7799
  Pinebook 11.6" sound with Ubuntu XFCE Fox7799 1 416 11-21-2018, 12:54 PM
Last Post: Fox7799
  Is there a guide somewhere how to upgrade Ubuntu on Pinebook? dejan 7 603 11-16-2018, 12:37 AM
Last Post: icemeister
  KDE Install on new Pinebook, howto? Corkonian 8 583 11-08-2018, 02:11 PM
Last Post: Luke
Smile Ubuntu Release Upgrade (16.04 => 16.10 => 17.04) working stohn 19 2,520 10-21-2018, 03:34 AM
Last Post: soupbowl

Forum Jump:


Users browsing this thread: 1 Guest(s)