This is my first writing. I needed to build a Python environment for work, but I was told "Procedure manual? No", so I made a note for the future. Also, when building the environment, I was advised that "it is better to manage packages with pipenv or anaconda", so this time it will be the initial settings of Pycharm and Pipenv.
For Python, download the one that suits your PC environment from here. This time I will download the latest version of Python 3.8.5 without thinking about anything.
After the download is complete, run python-3.8.5.exe. You can set the environment variable PATH by checking "Add Python 3.8 to PATH". If you check it, you can skip [2. Environment variable settings].
Set the following path in the environment variable PATH.
C: \ Users \ <username> \ AppData \ Local \ Programs \ Python \ Python38-32 \
C: \ Users \ <username> \ AppData \ Local \ Programs \ Python \ Python38-32 \ Scripts \
Replace <username>
with your PC login username.
If it looks like this, it's OK.
--Start PowerShell with administrator privileges.
--- Just in case, let's update pip.
pip install --upgrade pip
--Install pipenv.
pip install pipenv
Please download Pycharm from here. You can use the community version for free.
Create a project when the installation is complete.
Location
The project storage location is arbitrary.
Select New environment using
Pipenv.
Specify Base interpreter
python.exe.
Specify Pipenv executable
pipenv.exe.Finally, Create is complete.
Recommended Posts