How to Set Up Environment for Python Development?

Set Up Environment for Python Development

Ronny Fahrudin
Coube Mind

--

Photo by Vinicius “amnx” Amano on Unsplash

The simple way to set the new environment for development in Python.

Here are the general steps to set up the environment for development:

  1. Install python
  2. Create project Directory
  3. Create a Python Virtual Environment
  4. 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

--

--

Ronny Fahrudin
Coube Mind

Data Scientist | AI Engineer | Market Researcher | Blockchain Post-Quantum Cryptography Enthusiast | www.linkedin.com/in/ronnyf