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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions