Skip to content

Files

Latest commit

42d90c0 · Oct 8, 2023

History

History
21 lines (13 loc) · 1.03 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.03 KB

python_env_setup in Windows

1. install python interpreter

open Windows PowerShell, type in python. If python is not installed, Windows will redirect you to the Miscrosoft Store to install. After installing python, open another Windows PowerShell and type in python, you may see the following screen

image

2. install poetry

open Windows PowerShell and run pip install poetry. After a while, poetry should be successfully installed. To run 'poetry --version', need to add the poetry path into system enviromental variable PATH. Check the below screenshot for your reference.

image

3. create a virtual env and run your first code

Use this "How to use poetry to create a virutal project" as the input to ask ChatGPT. The response is good.

4. install IDE: VSCode