investpy
investpy copied to clipboard
ModuleNotFoundError: No module named 'investpy
Receiving the error: ModuleNotFoundError: No module named 'investpy'
module: main.py import investpy
In vim the command ! clear; python3 main.py
generates the error: ModuleNotFoundError: No module named 'investpy'
Although ! clear; python main.py
works. Using python 3.7
Did you install investpy?
Yes. See attached pipfile
@EM5813 this is a common PATH or install module issue for new users. I'm not a vim user but google something like "vim PATH issues investpy" but the issues are for bugs not install. Perhaps we could expand the simplicity of the install documentation. @alvarobartt I could help with this if you agree.
@EM5813 https://realpython.com/lessons/why-cant-python-find-my-modules/ this is what i find. using "python3 script.py" fixed this problem for me