Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4

I wrote an article because I decided to develop python and introduced Anaconda to Spring Tools Suites.

Installation of Anaconda

Anaconda is a python distribution. When developing with python, I understand that it is convenient to be able to install the library immediately, but with the pip command it is troublesome to check the dependency, but with conda the dependency is automatically resolved I chose this because it will do it. (As of 2020.4, conda 3.7 was the latest.) ■ Latest version of installer * Past installers can be found here.

Create a virtual environment with Anaconda

This time we will create a virtual environment named py37 with python3.7. (-N can be -name) If you can create it, activate it.

First, start Anaconda Prompt.

(base)conda info -e
# conda environments:
#   
base                  *  C:\Users\XXXX\anaconda3
(base)$>conda create -n py37 python=3.7
(base)$>activate py37
(py37)$>conda info -e
# conda environments:
#
base                     C:\Users\XXXX\anaconda3
py37                  *  C:\Users\XXXX\anaconda3\envs\py37

Install the library in Anaconda.

$set HTTP_PROXY=http://User name:password@Proxy:port
$set HTTPS_PROXY=https://User name:password@Proxy:port

After that, install the required libraries.

$conda install pyinstaller
$conda install -c conda-forge selenium
$conda install -c conda-forge python-chromedriver-binary
···Such

Enable Python to be used with STS.

① Start STS. └Help → Eclipse marketplace → Search by pyDev Install when pyDev hits (python IDE for Eclipse 7.5.0 * as of 2020.4).

② python interpreter settings. └ Window → Settings → pyDev → python interpreter A dialog will open where you can set the interpreter name and interpreter executable. Interpreter name: py32 Interpreter executable file: C: \ Users \ XXXX \ anaconda3 \ envs \ py37 \ python.exe

At this point, you should be able to select a new Pydev → Pydev project from the project explorer.

We'll add more about running and debugging files in the future.

reference


I referred to this article. Thank you. [[Eclipse x Python] Python development environment construction procedure] (https://takilog.com/eclipse-python-environment/) [[For beginners] Try creating a virtual environment with Anaconda] (https://qiita.com/ozaki_physics/items/985188feb92570e5b82d) Anaconda memorandum

Recommended Posts

Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4
Anaconda3 python environment construction procedure
Python development environment construction
python2.7 development environment construction
Python development server construction procedure (AWS + Anaconda)
Python + Anaconda + Pycharm environment construction
[MEMO] [Development environment construction] Python
Google App Engine / Python development environment construction procedure (late 2014)
Anaconda python environment construction on Windows 10
Python environment construction (pyenv, anaconda, tensorflow)
[Python3] Development environment construction << Windows edition >>
Python development environment construction on macOS
Emacs Python development environment construction memo
Python3.6 environment construction (using Win environment Anaconda)
Python environment construction
Environment construction (python)
python environment construction
Python --Environment construction
Python environment construction
python environment construction
Python project environment construction procedure (for windows)
Python3 + venv + VSCode + macOS development environment construction
Environment construction procedure: Ubuntu + Apache2 + Python + Pyramid
Windows + gVim + Poetry python development environment construction
python windows environment construction
homebrew python environment construction
About Python development environment
Anaconda3 environment installation procedure
Development environment in Python
Anaconda environment construction memo
Mac environment construction Python
Python environment construction @ Win7
VS Code + Azure Functions + Python environment construction procedure
Python environment construction (Anaconda + VSCode) @ Windows10 [January 2020 version]
Kotlin / Native development environment construction & installation procedure & tutorial
From Python environment construction to virtual environment construction with anaconda
Install Python environment with Anaconda
Anaconda environment construction on CentOS7
Django development environment construction memo
Python environment construction (Windows10 + Emacs)
CI environment construction ~ Python edition ~
Create a comfortable Python 3 (Anaconda) development environment on windows
Python environment construction For Mac
Anaconda3 × Pycharm environment construction memo
Python3 environment construction (for beginners)
Organize your Python development environment
Python environment construction and TensorFlow
[ev3dev × Python] Build ev3dev development environment
Python development environment with Windows + Anaconda3 + Visual Studio Code
Python development environment construction 2020 [From Python installation to poetry introduction]
QGIS3 Python plugin development environment construction with VSCode (macOS)
[Python] Django environment construction (pyenv + pyenv-virtualenv + Anaconda) for macOS
Python environment construction under Windows7 environment
Procedure to exe python file from Ubunts environment construction
[For organizing] Python development environment
django project development environment construction
Environment construction of python2 & 3 (OSX)
[MEMO] [Development environment construction] wine
Python environment construction on Mac (pyenv, virtualenv, anaconda, ipython notebook)
[Python] Anaconda environment construction (installation, startup, virtual environment, package management) Mac environment
Construction of Python local development environment Part 2 (pyenv-virtualenv, pip usage)