In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces Ubuntu how to install and configure pyenv related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe you will get something after reading this Ubuntu how to install and configure pyenv article, let's take a look at it.
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
This is the end of the article on "how Ubuntu installs and configures pyenv". Thank you for reading! I believe you all have a certain understanding of "how to install and configure pyenv in Ubuntu". If you want to learn more, you are welcome to follow the industry information channel.
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.