Location>code7788 >text

Python Development Environment Installation - Includes Anaconda installation and configuration and pycharm installation.

Popularity:252 ℃/2024-08-22 10:37:32

One,Requires an installer

1. Anaconda3-5.3.0-Windows-x86_64.exe python environment

2. pycharm-professional-2021.2. development tools

3. ide-eval-resetter-2.1. crack tool

II. Anaconda Installation

AnacondaChinese University of *python, is an open sourcePythonRelease Version.

1. Access (free of charge):

(1) Login-Registration:/

(2) Sign in to get points

(3) Search: it vernacular - python development environment installation - including the installation and configuration of Anaconda and the installation and cracking method of pycharm

Get the web address to get the installer

 

1. Installation

 

 

Try not to install it on the C drive in this next step, I chose to install it on the D drive.

 

As follows: the first option means that the installation path is filled into the system environment variables, here check the box, the back of the use of the problem will occur, we still do not choose, and then manually add theenvironment variable

 

Waiting for installation - takes a bit of time

 

 

As follows: skip this step

 

 

2、Environmental variable configuration

(1) Direct search for environment variables

 

(2) Setting environment variables

 

 

Add the following four environment variables:

D:\ProgramData\Anaconda3

D:\ProgramData\Anaconda3\Scripts

D:\ProgramData\Anaconda3\Library\mingw-w64\bin

D:\ProgramData\Anaconda3\Library\bin

 

(3) Verify that the settings are successful

Open a dos window and type python to see if there is version information, type conda-version to see the version information

 

Type conda info to also see

 

 III. Use of Anaconda

# List all my local environments, the first one is self-created, and the ones after that are ones I've subsequently created myself.

C:\Users\yc>conda info -e

# conda environments:

#

myenv                    C:\Users\yc\.conda\envs\myenv

base                  *  D:\ProgramData\Anaconda3

 

# Create the environment, followed by python=3.8 to specify the version of python

$ conda create --name python3.8env python=3.8

Just write y to agree when you need to interact

 

installation process

 

Successful installation

 

 Again, listing all the environments on my local machine, with one more newly installed environment

 

activation environment

C:\Users\yc>activate python3.8env

 

(python3.8env) C:\Users\yc>conda info -e

# conda environments:

#

myenv                    C:\Users\yc\.conda\envs\myenv

base                     D:\ProgramData\Anaconda3

python3.8env          *  D:\ProgramData\Anaconda3\envs\python3.8env

 

View current python version information

(python3.8env) C:\Users\yc>python -V

Python 3.8.16

 

List all packages installed in the current project path

pip list 

 

View information about installed packages

pip show

As:

pip show django: to see django-specific information

 

pip show --files django: view all files for django

 

Uninstallation:

pip uninstall library name

 

Export information about all packages installed in the project directory to a file

pip freeze > :

 

 

Reads the package information from the file and installs all packages.

pip freeze -r : this

Sample first save the version information of the project's three-way package in a file, switch to a different environment, you can also install all the three-way packages in the file.

IV. pycharm installation

1. Installation

Installation package: pycharm-professional-2021.2.

Cracked package: ide-eval-resetter-2.1.

1、Double click to start installation

 

Change the path to the D drive.

 

Select the contents of the illustration

 

 

installation

 

This will restart your computer, either immediately or later, depending on your situation.

 

At this point there is a shortcut on the desktop

 

Select below

 

 

 

 

 

Select the previously created environment python3.8env as follows

 

 

Project Created Successfully

 

2. Crack

 

 

 

 

Open the valid time update again, to this development environment is installed!