In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Liao Xuefeng virtual
Http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432712108300322c61f256c74803b43bfd65c6f8d0d0000
Http://www.jianshu.com/p/08c657bd34f1
Install virtualenv
Pip install virtualenv
Specify the python version to create a virtual environment (generate wxy-virtualenv in the current directory)
Virtualenv-p C:\ Python27\ python.exe wxy-virtualenv
Example: for example, in D:\ VirtualEnvs >
Execute: virtualenv-p D:\ Python35\ python.exe obpy17
By the same token:
D:\ VirtualEnvs > virtualenv-p C:\ Python27\ python.exe ops-portal
D:\ VirtualEnvs > virtualenv-p C:\ Python27\ python.exe-- no-site-packages ops-portal
Add the parameter-- no-site-packages, so that all third-party packages that have been installed in the system's Python environment will not be copied, so we get a "clean" Python runtime environment without any third-party packages.
Enter the virtual environment:
D:\ VirtualEnvs > ops-portal\ Scripts\ activate
(ops-portal) D:\ VirtualEnvs >
Install the software into a specified python or pip environment
Switch to a virtual environment:
(obpy17) D:\ VirtualEnvs\ obpy17\ wxy-packages\ paramiko2.2.1 >
Use pip in a virtual environment:
D:\ VirtualEnvs\ obpy17\ Scripts\ pip.exe install-e git+ https://github.com/paramiko/paramiko/
# egg=paramiko
Use python in a virtual environment:
(obpy17) D:\ VirtualEnvs\ obpy17\ wxy-packages\ paramiko-2.2.1 >
D:\ VirtualEnvs\ obpy17\ Scripts\ python.exe setup.py install
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.