Just for info:
I stated that I had changed the "system variables" of my win10 in the correct way. Fyi, this is a printout of the output of "echo %PATH%:
As you can see, the "G:\Pythonmodules" folder, that contains the to-be-imported module, is listed as being part of the "User Variables" (after line with ".........") and of the "System Variables"(before line with "........."). But when I display in Python "pprint (sys.path)", the folder does not show up.
Strange!
I stated that I had changed the "system variables" of my win10 in the correct way. Fyi, this is a printout of the output of "echo %PATH%:
Output:C:\Users\actname>echo %path%
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
C:\WINDOWS\System32\OpenSSH\;
C:\Program Files (x86)\EaseUS\Todo Backup\bin;
C:\Program Files\dotnet\;
C:\Program Files (x86)\dotnet\;
C:\Program Files (x86)\Pinnacle\Shared Files\;
C:\Program Files (x86)\Pinnacle\Shared Files\Filter\;
G:\Pythonmodules;
.........
C:\Users\actname\AppData\Local\Programs\Python\Python37-32\Scripts\;
C:\Users\actname\AppData\Local\Programs\Python\Python37-32\;
C:\Users\actname\AppData\Local\Microsoft\WindowsApps;
G:\Pythonmodules;
Note: I edited the output manually to make it better readable.As you can see, the "G:\Pythonmodules" folder, that contains the to-be-imported module, is listed as being part of the "User Variables" (after line with ".........") and of the "System Variables"(before line with "........."). But when I display in Python "pprint (sys.path)", the folder does not show up.
Strange!