I have a module installed in to my python. I try to run it from CMD and it works but when I run a file with the exact same commands it doesn't work. any ideas?
The top row is when I run the file and the file
The bottom row is when I run the command and the program that runs.
any ideas?
UPDATE
doesn't work also when moved to the same dir:
UPDATE 2 Also when I change the file name I get a traceback blaming a drive which doesnt exist (E)
F:\>python env.py
Traceback (most recent call last):
File "env.py", line 1, in <module>
import Envyronment.GUI.welcome
File "E:\Envyronment.py", line 1, in <module>
ImportError: No module named GUI.welcome
UPDATE 3 when I run the code via pycharm I get the following error:
File "F:/env.py", line 1, in <module>
import Envyronment.GUI.welcome
ImportError: bad magic number in 'Envyronment': b'\x03\xf3\r\n'