• Register
0 votes
161 views

Problem :

When I try to install PyGame with:pip install pygame i am getting below error

python could not find a version that satisfies the requirement

6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

Pease note pygame is not distributed via pip. 

  1. Install Python
  2. Make sure you have python on your PATH
  3. Download the appropriate wheel.
  4. Install pip
  5. Finally, use bellow commands to install pygame wheel with pip

    • Python 2 (usually called pip)

      • pip install file.whl
    • Python 3 (usually called pip3)

      • pip3 install file.whl

Further Readings:

https://github.com/psf/requests-html/issues/241

9 7 4
38,600 points

Related questions

0 votes
1 answer 12 views
12 views
Problem: could not find a version that satisfies the requirement pip.
asked Feb 18 Ethan ross 1.9k points
0 votes
1 answer 66 views
66 views
I am struggling with Jetson TX2 board (aarch64). I need to install python wrapper for OpenCV. I can do: $ sudo apt-get install python-opencv But I cannot do: $ sudo pip install opencv-python Is this because there is no proper wheel file in http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv ? Is there a way to install opencv-python through pip?
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 144 views
144 views
Problem : I want to intstall the TensorFlow using pip. I tried below command: $ pip install tensorflow –user But I got below error: Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow How can I install the TensorFlow?
asked Feb 19, 2020 mphil 2.3k points
1 vote
1 answer 118 views
118 views
Problem : I am very beginner to Tensorflow. I am trying to install the Tensorflow but I am unable to do so. I am following below procedure to install the tensorflow. >>> python -V Python 2.7.6 >>> pip -V pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2 ... /root/.pip/pip.log I am stuck with this error from past couple of days. Still unable to fix it. Please guide me in fixing this issue?
asked Mar 28, 2020 morrisBson 3.2k points
0 votes
2 answers 741 views
741 views
Problem : In the MacOS Mojave terminal I am trying to install a python package with pip. At the end of it says as follows : You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Here ... to do.Also I just realized that it says Python 2.7 in the error message but I have python 3 and want to use only python 3.
asked Dec 10, 2019 alecxe 7.5k points
0 votes
1 answer 1.8K views
1.8K views
Problem : I am very new to Quartz. So whenever I try to install Quartz on my system using pip install Quartz, I face the following error. Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> ... [Errno 2] No such file or directory: 'requirements.txt' I am using Mac OSX with Anaconda. Does anyone have any clue on this issue?
asked Nov 27, 2019 alecxe 7.5k points
0 votes
1 answer 4 views
4 views
Problem: any help : Python: can't open file 'get-pip.py': [errno 2] no such file or directory.
asked 2 days ago Wafa Abu Yousef 2.3k points
0 votes
1 answer 2 views
2 views
Problem: How to fix this error: socket.error: command python setup.py egg_info failed HELP! I need help understanding this error: command python setup.py egg_info failed Can someone please help fix this, I am new in python() : command python setup.py egg_info failed
asked Mar 1 Mashhoodch 11.4k points
0 votes
1 answer 58 views
58 views
Problem: I am trying to install python package rpy2 with pip install on Ubuntu 16.04: pip install rpy2==2.2.7 but get error message (see full output below): Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-EuOI6K/unroll/
asked Jan 10 Mashhoodch 11.4k points
0 votes
1 answer 47 views
47 views
Problem: I am trying to install virtualenv on Ubuntu. First it said command 'pip' not found, so I typed sudo apt install python-pip then it said E: Unable to locate package python-pip I tried to reset WSL, download using cmd but it doesn't work with Ubuntu. I don' ... though I have downloaded python3, virtualenv, and pip using cmd. It doesn't work with Ubuntu 18.04. It also fails on Ubuntu 14.04.
asked Jan 8 Mashhoodch 11.4k points