investpy icon indicating copy to clipboard operation
investpy copied to clipboard

ModuleNotFoundError: No module named 'investpy

Open EM5813 opened this issue 2 years ago • 4 comments

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

EM5813 avatar Apr 25 '22 15:04 EM5813

Did you install investpy?

bitcloudx avatar Apr 25 '22 16:04 bitcloudx

Yes. See attached pipfile Screen Shot 2022-04-25 at 9 43 54 AM

EM5813 avatar Apr 25 '22 16:04 EM5813

@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.

datatalking avatar Jun 19 '22 04:06 datatalking

@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

JustMyD avatar Jul 05 '22 15:07 JustMyD