ModuleNotFoundError: Requests module not found despite successful installation in Python 3.12
I've installed the requests module in Python 3.12 using pip, and the installation shows as successful (see attached screenshot). I've also confirmed that I'm working in the correct directory. However, when I try to run my script, I still get the error:
ModuleNotFoundError: No module named 'requests'
I've double-checked both the installation path and the script's directory, and everything seems correct. Could anyone suggest what I might be missing?
Comments
-
Hi,
It seems like the issue might be related to the installation path of the
requests
module, especially if there are multiple versions ofpip
installed on your system. To ensure the module is installed in the correct location, try running the following command:python -m pip install requests --target="C:\Program Files\Python310\Lib\site-packages"
This will specify the installation path explicitly and help avoid any version conflicts between different Python installations.
Thanks.
Howdy, Stranger!
Categories
- 4.1K All Categories
- 60 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions