In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. At present, there are many Python version management tools, and pyenv is a relatively easy to use one, which is installed as follows:
Enter:
Git clone https://github.com/pyenv/pyenv.git ~ / .pyenvecho 'export PYENV_ROOT= "$HOME/.pyenv" > ~ / .bashrcecho' export PATH= "$PYENV_ROOT/bin:$PATH" > > ~ / .bashrcecho-e'if command-v pyenv 1 > / dev/null 2 > & 1; then\ neval "$(pyenv init -)"\ nfi' > > ~ / .bashrcsource ~ / .bashrc
If there is no problem, the installation is successful. During installation, there is a prompt for missing dependencies and packages, and what packages are missing and what packages are installed.
2. Install the plug-in pyenv-virtualenv of pyenv to manage the virtual environment, and set it up after installation.
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, as shown in the figure.
5. Install SciPy, which is based on Numpy and provides a large number of functions for calculating and manipulating arrays, which are very useful for different types of scientific and engineering calculations, as shown in the figure.
6. Install Pillow, which is derived from PIL (Python Imaging Library) and is the image processing library of Python, as shown in the figure.
7. Install Matplotlib, which is a drawing library, as shown in the figure
Summary
The above is the Ubuntu 18.04 introduced by the editor to install pyenv, pyenv-virtualenv, virtualenv, Numpy, SciPy, Pillow, Matplotlib. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to the website!
If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.