In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Download python3.6 source package wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz2. Extract and start installing tar-xvf Python-3.6.5.tgzcd Python-3.6.5/./configuremake & & make install3. Replace python3 with python3.6update-alternatives-- install / usr/bin/python3 python3 / usr/bin/python3.5 1update-alternatives-- install / usr/bin/python3 python3 / usr/local/bin/python3.6 2update-alternatives-- config python34. Resolve pip3 installation issu
The error subprocess.CalledProcessError: Command 'lsb_release-a' returned non-zero exit status 1 will be prompted when pip3 install after the replacement version, focusing on the module lsb_release.py
We copy the lsb_release.py from python3.5 to python3.6
Root@ubuntu:~# find /-name 'lsb_release.py'/usr/lib/python2.7/dist-packages/lsb_release.py/usr/lib/python3/dist-packages/lsb_release.py/usr/share/pyshared/lsb_release.pyroot@ubuntu:~# cp / usr/lib/python3/dist-packages/lsb_release.py/usr/ local/lib/python3.6/
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: 264
*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.