alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.59k stars 374 forks source link

ModuleNotFoundError: No module named 'investpy #554

Open EM5813 opened 2 years ago

EM5813 commented 2 years ago

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

bitcloudx commented 2 years ago

Did you install investpy?

EM5813 commented 2 years ago

Yes. See attached pipfile

Screen Shot 2022-04-25 at 9 43 54 AM
datatalking commented 2 years ago

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

JustMyD commented 1 year ago

@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