1. There are many Python version management tools at present. Pyenv is a relatively easy-to-use one. The installation is as follows: enter: git clone https://github.com/pyenv/pyenv.git ~/.pyenv echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc source ~/.bashrc If there are no problems, the installation is successful. During the installation process, there will be prompts about missing dependencies and packages. Install the packages that are missing. 2. Install the pyenv plug-in 3. Install virtualenv to the system environment and use it with pip 4. Install Numpy Numpy is the core library for scientific computing in Python. It provides high-performance multidimensional array objects and related tools. The installation is shown in the figure. 5. Install SciPy, which is based on Numpy and provides a large number of functions for calculating and operating arrays. These functions are very useful for different types of scientific and engineering calculations. The installation is as shown in the figure. 6. Install Pillow, which is derived from PIL (Python Imaging Library), an image processing library for Python. The installation is as shown in the figure. 7. Install Matplotlib, which is a drawing library. Install it as shown in the figure. Summarize The above is the introduction of Ubuntu 18.04 installation of pyenv, pyenv-virtualenv, virtualenv, Numpy, SciPy, Pillow, Matplotlib. I hope it will be helpful to everyone. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Vue mobile terminal determines the direction of finger sliding on the screen
>>: Data Structure - Tree (III): Multi-way Search Tree B-tree, B+ tree
1. The emergence of the problem Wrote a flat list...
1. Basic lines 2. Special effects (the effects ar...
Although I have run some projects in Docker envir...
1. Basic Introduction of Linux Group In Linux, ev...
The span tag is often used when making HTML web pa...
Preface This article introduces the installation ...
Preface Usually, a "paging" strategy is...
This article shares the specific code for JavaScr...
This article is compiled with reference to the My...
The semantics, writing style, and best practices ...
Table of contents 1. Panorama II. Background 1. R...
Deepin 2014 download and installation For downloa...
Syntax composition: 1 Annotation information 2 Co...
MySQL InnoDB monitoring (system layer, database l...
In the previous article, we talked about MySQL tr...