Bonjour,

je débute en python, et je cherche à récupérer des bibliothèques pour tester mes premiers petits programmes.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
C:\Users\phill\PycharmProjects\PythonProject>pip install IMDbPY
Requirement already satisfied: IMDbPY in c:\users\phill\appdata\local\programs\python\python313\lib\site-packages (2022.7.9)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
C:\Users\phill\PycharmProjects\PythonProject>where python
C:\Users\phill\AppData\Local\Programs\Python\Python313\python.exe
C:\Users\phill\AppData\Local\Microsoft\WindowsApps\python.exe
Déjà, j'ai 2 python....A part monter un spectacle, est-ce normal. en tous cas, quand je commence mon code

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
#pip install IMDbPY
from imdb import IMDb
 
def get_movie_rating():
J'ai une erreur
C:\Users\phill\PycharmProjects\PythonProject\.venv\Scripts\python.exe C:\Users\phill\PycharmProjects\PythonProject\main.py
Traceback (most recent call last):
File "C:\Users\phill\PycharmProjects\PythonProject\main.py", line 6, in <module>
from imdb import IMDb
ModuleNotFoundError: No module named 'imdb'

Je ne comprends pas. Normal, je débute....

Merci de votre aide

Cordialement

Phillip