So I have been asking around on a few different related threads but have decided to pull all the information I have so far into a single thread.
I am trying to get Pygame installed on an Edison.
My first attempt was just by seeing if Python-pygame was available in the standard repo and installing using opkg. The standard repo does not include that module so that was a dead end.
Then I tried using PIP which I got working by following this thread:
Once PIP was installed:
# pip install Pygame Downloading/unpacking Pygame Could not find any downloads that satisfy the requirement Pygame Some externally hosted files were ignored (use --allow-external Pygame to allow). Cleaning up... No distributions at all found for Pygame Storing debug log for failure in /home/root/.pip/pip.log
I then tried again with --allow-external and again with --allow-unverified
root@VaneScope2:~# pip install Pygame --allow-unverified Pygame Downloading/unpacking Pygame Pygame is potentially insecure and unverifiable. HTTP error 400 while getting http://www.pygame.org/../../ftp/pygame-1.6.2.tar.bz2 (from http://www.pygame.org/download.shtml) Cleaning up... Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python2.7/site-packages/pip/req.py", line 1197, in prepare_files do_download, File "/usr/lib/python2.7/site-packages/pip/req.py", line 1375, in unpack_url self.session, File "/usr/lib/python2.7/site-packages/pip/download.py", line 547, in unpack_http_url resp.raise_for_status() File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/models.py", line 795, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 400 Client Error: Bad Request
So it seems the installing Pygame via PIP is also broken. Anyone have any other advice?