![]() ![]() The pip command is basically just an alias for -m pip, so when I issue the above command, I am launching pip with a specific python-installation. What I am doing above basically, is calling the different python installations, and opening it with the following flag: -m mod : run library module as a script (terminates option list) Now let's check my 3.9 installation: PS C:\> py -3.9 -m pip list Here we can see that I have three packages installed. Let's start with my 3.7 installation: PS C:\> py -3.7 -m pip list So, let's check what both of those installations has installed using their own versions of pip. Here you can see that I have two versions of Python installed on my device. Installed Pythons found by C:\windows\py.exe Launcher for Windows ![]() If you're using Windows, then you should have a "python launcher" that you can use to double-check your installed versions of Python like this: PS C:\> py -0 What you're having issues with is that your pip command, is not connected to your installation of python3. I would really like an answer to this problem. The weird thing is that the library numpy works perfectly. The only way I found to execute the program correctly was by moving the file to the folder where the library exists so that atom can find the library. ModuleNotFoundError: No module named 'PyDictionary' This is the error: Traceback (most recent call last):įile "C:\Users\Ziad\Desktop\programs\Dictionary.py", line 1, in This is the program: from PyDictionary import PyDictionary However, when I try to run this simple program in atom, it says module not found. Requirement already satisfied: certifi>=2017.4.17 in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from requests->PyDictionary) (2020.12.5) Requirement already satisfied: chardet=3.0.2 in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from requests->PyDictionary) (4.0.0) ![]() Requirement already satisfied: urllib3=1.21.1 in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from requests->PyDictionary) (1.26.4) Requirement already satisfied: idna=2.5 in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from requests->PyDictionary) (2.10) Requirement already satisfied: futures in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from goslate->PyDictionary) (3.1.1) Requirement already satisfied: soupsieve>1.2 in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from beautifulsoup4->bs4->PyDictionary) (2.2.1) Requirement already satisfied: beautifulsoup4 in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from bs4->PyDictionary) (4.9.3) Requirement already satisfied: click in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from PyDictionary) (7.1.2) Requirement already satisfied: requests in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from PyDictionary) (2.25.1) Requirement already satisfied: goslate in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from PyDictionary) (1.5.1) Requirement already satisfied: bs4 in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (from PyDictionary) (0.0.1) Basically, I downloaded the library using pip install PyDictionary and I made sure it exists by writing the same thing again and this appeared: Requirement already satisfied: PyDictionary in c:\users\ziad\appdata\local\programs\python\python39\lib\site-packages (2.0.1) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |