Hi @GuilhermeFreitas-5489-- I noticed in the startup logs the container found a virtual environment and tried to start it.Are you deploying a virtual env with your code? Virtual environments aren't portable, so that could be why the request module is not found.
20.04.2020 · I am using a machine I inherited with an Anaconda 3 installation on it. I am trying to complete a Python course, which is my first foray into Python ever. When I open a Python interpreter in Command
31.07.2020 · Hello, if you still haven't solved it, I would ask you to check the version of your python, using the command "python -version" in your cmd, and then install the plugin using the same cmd as well, do this through anaconda prompt, make it be installed in an instance to use only anaconda if I'm not mistaken.
ModuleNotFoundError: No module named 'requests' using venv in vscode · Using Visual Studio Code, installed today with standalone Python x64 3.7. · Python ...
29.10.2020 · How to Install and Configure Squid Proxy Server on RHEL/CentOS 7/8. Primitive Data Types in Java - int, char, byte, short, long, float, double and boolean
02.06.2021 · If so hold ‘Ctrl+Shift+P’ in Windows or ‘Command+Shift+P’ in Mac to open up the context menu in Visual Studio Code. There search for ‘Python: Select Interpreter’
When I run: import requests. I get: Traceback (most recent call last): File "<pyshell#9>", line 1, in <module> import requests ModuleNotFoundError: No module named 'requests'. When I check pip list on my terminal, it tells me that I have a request module installed already (2.19.1). When I run pip3 install requests on my terminal, it tells me this:
04.01.2020 · 6. This answer is not useful. Show activity on this post. The issue was that Visual Studio Code comes with its own version of Python, while I had installed my own. The issue was solved by changing the version VSC was running so it matched the one where the modules were being installed. Share.
29.09.2019 · 4. This answer is not useful. Show activity on this post. try get python version in vscode terminal. python --version. and check python version vscode IDE used by clicking left buttom corner. make sure these 2 versions are consistent. if not, select the version of IDE with the same version of your terminal. Share.