Reputation: 135
Hi! I tried to use python 3.8 in vscode. But when I changed the version of interpreter, my modules made error. So after changed the interpreter from 3.10.5 to 3.8.9,I input pip3 install 000. But, That is not working.
How I can handle this?
Thank you!
Upvotes: 0
Views: 167
Reputation: 9209
For the first question, you can use "ctrl+shift+P" to choose your python interpreter. And for jupyter file, you can change the kernel by clicking the button in your picture:
For the second question,usually, when you select an interpreter, pip will automatically install the package into the library under the selected interpreter. You can use the following command:
pip install packageName --target="sub python path"
Upvotes: 1