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.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 267 Administration
- 212 Portal
- 496 General Q & A
- 706 Forms
- 338 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions