Locust in PyCharm

Introduction

Let us see how to install extra modules and libraries in PyCharm using locust as an example

Open the project settings by pressing

CTRL + ALT + S

Install the requests module in PyCharm
File - Settings

Select Project Interpreter

Click the plus on the right side of the screen

Install the requests module in PyCharm, image from www.andreyolegovich.ru
Project Interpreter

An Available Packages window should appear

Type the name of the module you need into the search box. In our case it is locust

Install the locust module in PyCharm, image from www.andreyolegovich.ru
Type locust into the search box

Click Install Package

You may Specify Version, but you do not have to

Install the locust module in PyCharm, image from www.andreyolegovich.ru
Click Install Package

Wait for the installation to finish

Install the locust module in PyCharm, image from www.andreyolegovich.ru
Wait for the installation to finish

Article author: Andrei Olegovich