I'm trying to import pygame on pycharm, i already have installed pygame and it runs when i execute programs by command line, but when i try to use it from pycharm it doesn't work. I tried to add it to the project interpreter but an error occurs:
Non-zero exit code (1)
Collecting Pygame
No matching distribution found for Pygame the requirement Pygame (from versions: )
Also triedpip install Pygame from command line but occurs:
Collecting Pygame
Could not find a version that satisfies the requirement Pygame (from versions: )
No matching distribution found for Pygame
I'm running python 3.5 and pygame v1.9.1 and pycharm is updated.
Os: Linux Mint 17.3
I solved the problem by uninstalling and reinstalling pygame making sure to correctly solve all dependencies as explained by the wiki
Related
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
enter image description here
i tried using "pip install mediapipe" and "py pip install mediapipe" but didn't work.
Also tried using a specific version and went down all the way to 0.8.9 of it in pycharm but the same error pops up
I am trying to install mediapipe with pip in Python 3.10 from MacOS Monterey.
(mp_env_3.10_rosetta) ➜ ~ pip3.10 install mediapipe
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for mediapipe
I've even downloaded the wheel files, but they tell me that the platform doesn't match when I try to install them. I have tried this with and without Rosetta (since mediapipe is not supported on the APple M1 chip yet), and with all the wheel files.
(mp_env_3.10_rosetta) ➜ ~ pip3.10 install ~/Downloads/MediaPipe/mediapipe-0.8.10-cp310-cp310-macosx_10_15_x86_64.whl
ERROR: mediapipe-0.8.10-cp310-cp310-macosx_10_15_x86_64.whl is not a supported wheel on this platform.
All my teammates, who have the same laptops with the same OS, doing the same thing as I am doing, are not running into this problem. I am totally puzzled.
My main question here is, is there some way to get debugging info from pip to tell why it doesn't think it can find a match? Can I see if it doesn't know my platform, or OS, or Python version?
I have PyCharm and Python 3.10.2 installed, and I'm trying to get PyQt5 to work on PyCharm but I get an error that says
No module named 'PyQt5'.
I checked on Command Prompt with 'pip install pyqt5'
and this is what I got:
Requirement already satisfied: pyqt5 in c:\users\wsup2\appdata\local\programs\python\python310\lib\site-packages (5.15.6)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in c:\users\wsup2\appdata\local\programs\python\python310\lib\site-packages (from pyqt5) (12.10.1)
Requirement already satisfied: PyQt5-Qt5>=5.15.2 in c:\users\wsup2\appdata\local\programs\python\python310\lib\site-packages (from pyqt5) (5.15.2)
So I added the above address to Path.
and I tried:
pip3 show PyQt5
and I got:
Name: PyQt5
Version: 5.15.6
Summary: Python bindings for the Qt cross platform application toolkit
Home-page: https://www.riverbankcomputing.com/software/pyqt/
Author: Riverbank Computing Limited
Author-email: info#riverbankcomputing.com
License: GPL v3
Location: c:\users\wsup2\appdata\local\programs\python\python310\lib\site-packages
Requires: PyQt5-Qt5, PyQt5-sip
Required-by:
And that's where I'm not sure what else I'm supposed to do to make it work on PyCharm.
Please help.
It is probably because Pycharm by default starts new projects in a virtual environment.
Try running the same install command inside the terminal that is built into Pycharm.
pip3 install PyQt5
I am trying to install Tkinter for PyDictionary which has installed fine, but Tkinter has not.
pip install tkinter
But this error has arisen:
ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none)
ERROR: No matching distribution found for tkinter
Anyone know any possible ways of fixing it? I downloaded python from python.org and I am coding on Visual Studio Code.
im trying to install the pyHook package in pycharm but get the error in the title. I have successfully installed it in cmd with pip install pyHook-1.5.1-cp37-cp37m-win_amd64.whl ,but when I go to install it in pycharm I get the aforementioned error :
Collecting pyHook Could not find a version that satisfies the requirement pyHook (from versions: ) No matching distribution found for pyHook
I ran into this problem myself, and after alot of searching, found that although pyhook has wheels for python 3, it's incompatible. Look at the last release date for pyhook: October 10th 2008. Python 3 was released in: December 3rd 2008.
I would suggest that you look into the keyboard module. It supports python 3, and has all of the functions of pyhook as far as I know.
Solved this problem by fixing the package version: PyUserInput==0.1.10