Home>

installed module Request via Pip. , established successfully. I'm trying to import the module in pycharm. (way Import Requests. ), it does not work, writes that the module is not known Import Requests

MODULENOTFOUDERROR: NO MODULE NAMED 'Requests')

Look at the Pycharm environment he installed Settings ->Project ->Interpreter

Twiss2021-05-04 15:40:34
  • Answer # 1

    I caught such an error when the modules were installed in one folder, and the interpreter worked from the second. I was helped to remove the entire Paiton and Paicharm and roll again (plus take steps from "Option 2" in Answer above)

  • Answer # 2

    I caught such an error when the modules were installed in one folder, and the interpreter worked from the second. I was helped to remove the entire Paiton and Paicharm and roll again (plus take steps from "Option 2" in Answer above)

  • Answer # 3

    Option 1: via virtual environment Usually Venv in your project directory Open the virtual environment related to this project and enter there: Pip Install Requests.

    Option 2: Install through Pycharm settings Settings -> Project -> Interpreter -> +. In the search bar, enter the library you need (in your case Requests), select it, and click Install Package

    Option 2 helped. Many thanks.

    Андрей2021-05-04 16:58:30
  • Answer # 4

    Option 1: via virtual environment Usually Venv in your project directory Open the virtual environment related to this project and enter there: Pip Install Requests.

    Option 2: Install through Pycharm settings Settings -> Project -> Interpreter -> +. In the search bar, enter the library you need (in your case Requests), select it, and click Install Package

    Option 2 helped. Many thanks.

    Андрей2021-05-04 16:58:30