How to Set Up Environment for Python Development?
Set Up Environment for Python Development
Published in
2 min readDec 28, 2022
The simple way to set the new environment for development in Python.
Here are the general steps to set up the environment for development:
- Install python
- Create project Directory
- Create a Python Virtual Environment
- Install library in our environment
Detail Steps:
Setting up a virtual environment for development is so important.
1. Installing Python
If you don’t have Python programming language in your system, you must download and install it or you can use Pycharm for development.
2. Creating Project Directory
To create a project directory with bash, you must open a terminal or cmd in Windows. Then write code like this:
# for Windows
md new_project
cd new_project# for Mac OS and Linux
mkdir new_project
cd new_project
3. Creating a Python Virtual Environment
Here is the code for creating a Python virtual environment for Windows OS