In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
[TOC]
Ubuntu installs virtualenv1, installs pip1, installs pipsudo apt-get install python3-pip-y # sudo apt-get install python2-pip-y2, configures pip source sudo mkdir ~ / .pipsudo cat ~ / .pip/ pip.conf.global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple[install]trusted-host = https://pypi.tuna.tsinghua.edu.cnEOF II, installs virtualenv1, installs virtualenvsudo pip3 install virtualenv2, Configure virtualenv environment find ~ /-name virtualenv/home/hxy/.local/bin/virtualenvcat ~ / aexport PATH=$PATH:/home/hxy/.local/binEOF 3, configure virtualenv environment 1, create virtual environment virtualenv-- python=/usr/bin/python3 py3 $lsbin include lib2, Activate using the environment cd py3 $lsbin include lib$ cd bin/$ lsactivate activate.ps1 easy_install pip3 python3 wheelactivate.csh activate_this.py easy_install-3.6 pip3.6 python3.6activate.fish activate.xsh pip python python-config# activate $source activate (py3) hxy@mghxy [18:17:43]: ~ / py3/bin# close 3, Related command # create python system default virtual environment virtualenv pyenv# create python3 virtual environment virtualenv-- python=/usr/bin/python3 py3env
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.