git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unable to import pip installed packages and modules in python 3.7.3


On 2019-07-09 17:13, pro_ bro wrote:
> On Mon, 8 Jul 2019 22:37 pro_ bro, <weaponx4120 at gmail.com> wrote:
> 
>> environmental variables are all good ,(i also set path for
>> site-packages,scripts )
>> when i install any package using pip   it says installation is successful,
>> but when i try to import the package(module) it says "NO MODULE NAMED
>> (MODULE NAME)"
>> THIS IS HAPPENING TO ALL PIP INSTALLED MODULES
>>                       PLEASE CHECK THE IMAGES AND
>>               """"""HELP ME OVERCOME THIS PROBLEM""""""
>>
This list is text-only. Images are automatically removed.

Copy and paste any error messages and include details such as which 
operating system and which version of Python you're using.

Incidentally, on Windows the recommended way to start Python from the 
command is via the py launcher:

py.exe

You can install modules by calling the pip module from it:

py.exe -m pip install MODULE_NAME

The advantage is that you know that it's being installed into the 
correct version of Python if there's more than one version on the system.