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''".
#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! )
#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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Broke pinebook GUI, what to do, fix or install new? acruhl 2 1,477 07-13-2023, 05:43 PM
Last Post: acruhl
  can't install a new OS with sd card. pinebook1080. ObviousHobbit 3 4,696 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 2,154 06-11-2019, 01:36 PM
Last Post: k_mp
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 15,344 05-01-2019, 12:09 PM
Last Post: frank-zappa
  Install OS to LUKS tahf 1 3,783 01-20-2019, 12:47 PM
Last Post: Blutkoete
  How to Configure Screen Brightness in mate on pinebook via terinal? shirman 6 10,088 12-02-2018, 05:37 AM
Last Post: mikee3000
  Pinebook Ubuntu XFCE screen resolution options Fox7799 2 4,835 12-01-2018, 06:05 PM
Last Post: Fox7799
  Pinebook 11.6" sound with Ubuntu XFCE Fox7799 1 3,442 11-21-2018, 12:54 PM
Last Post: Fox7799
  Is there a guide somewhere how to upgrade Ubuntu on Pinebook? dejan 7 9,777 11-16-2018, 12:37 AM
Last Post: icemeister
  KDE Install on new Pinebook, howto? Corkonian 8 11,553 11-08-2018, 02:11 PM
Last Post: Luke

Forum Jump:


Users browsing this thread: 2 Guest(s)