-1

For around a week or two now, I've been trying to get certain packages working, and I've tried almost everything.

I've tried using pip, and pip3 when installing packages
I've tried re-installing python 32 bit and 64 bit
I've tried different versions of python
I've tried different versions of the packages

Some of the things I've tried to install are things like pygame and opengl

Please help me with this

Thou
  • 1
  • 1
  • 1
    which version do you have installed now? Which platform (Windows/Linux/Mac)? Do you get any specific errors? – AMG Apr 15 '18 at 02:54
  • I have Windows 10 Home, I have Python 3.6 64 bit, and the error I get most of the time is "no module named 'whatever module im getting'" – Thou Apr 15 '18 at 03:26
  • 3
    Without any details about the problem or error messages there is no way we could give qualified help. – Klaus D. Apr 15 '18 at 03:45
  • That is the error message – Thou Apr 15 '18 at 03:47
  • Possible duplicate of [pip install fails for every package ("Could not find a version that satisfies the requirement")](https://stackoverflow.com/questions/49748063/pip-install-fails-for-every-package-could-not-find-a-version-that-satisfies-th) – Anupam Apr 15 '18 at 08:55

1 Answers1

0

This official link has information regarding installation of packages https://packaging.python.org/tutorials/installing-packages/#use-pip-for-installing

Steps:

1. Download `get-pip.py` file from https://bootstrap.pypa.io/get-pip.py
2. Install pip - python get-pip.py
3. Then install any packages using pip - pip install <package>
  • I tried 'pip install 'pygame~=3.6' and it said that pip was outdated, so I got pip 10.0.0 and now there's a fatal error whenever I try to get anything. – Thou Apr 15 '18 at 03:45
  • The package pygame with version 3.6 is not available. I got "No matching distribution found for pygame==3.6 ". Did you tried with other packages ? –  Apr 15 '18 at 03:53
  • I still get a fatal error. Though, I'm going to re-install python and try again. – Thou Apr 15 '18 at 04:00
  • I re-installed python and tried to install PyOpenGL instead, and still got a fatal error. – Thou Apr 15 '18 at 04:10
  • Try the steps mentioned above which I have followed in my machine. This definitely works !! –  Apr 15 '18 at 04:12
  • ..How do I download get-pip.py? – Thou Apr 15 '18 at 04:26
  • Open this URL: `https://bootstrap.pypa.io/get-pip.py`. Right click and select 'Save as' and save the file as 'get-pip.py'. –  Apr 15 '18 at 04:38
  • It says "ERROR: To modify pip, please run the following command: C:\Users\my name\Appdata\Local\Programs\Python\Python36\python.exe -m pip" – Thou Apr 15 '18 at 05:56