'Import "statsmodels.tsa.stattools.pacf" could not be resolved (Pylance report MissingImports)
I successfully installed statsmodels and its dependencies, but when trying to import statsmodels.tsa.stattools.pacf in VSCode, I get the yellow line warning saying : "Import "statsmodels.tsa.stattools.pacf" could not be resolved (Pylance report MissingImports)"
Solution 1:[1]
Have you checked if the python environment you installed statsmodels in, is the same environment VSCode is using? Make sure that VSCode is using the same environment by selecting Python: Select Interpreter in the VSCode command palette.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | tnwei |
