Closed ReddyKilowatt closed 3 months ago
Why does this website ask for trace files that are too long to paste into bug reports???????????????????????????
It looks like my venv was the problem. Somehow, the packages I installed into the venv (yes, it was activated) were installed in the global python env.
Somehow, the packages I installed into the venv (yes, it was activated) were installed in the global python env.
This can happen if you run pip install
vs python -m pip install
. See here for more details: https://snarky.ca/why-you-should-use-python-m-pip/
@karthiknadig I know about python -m pip install xxx After I discovered the problem, I had tried adding more packages to the venv, but they still went to the global python. (the venv was activated, and I was using python -m pip install xxx).
I have never had this problem with Python on Windows until now. I ended up deleting the venv, and Python, and reinstalling Python for all users, so that it doesn't get installed in my user directory (Appdata ....) Now, the venv seems to work much better, and vscode is able to resolve most python symbols/objects now.
pylint_bug.txt