install python3.5 Possible dependencies
yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel
yum install gcc gcc-c++ -y
To python Find the download path on the official website , use wget download
decompression tgz package
tar -zxvf Python-3.5.1.tgz
hold python Move to /usr/local below
mv Python-3.5.1 /usr/local
Get into python Catalog
compile , install
Delete the old version of python rely on
ll /usr/bin | grep python
rm -rf /usr/bin/python
Create new soft links to the latest python
ln -s /usr/local/bin/python3.5 /usr/bin/python
solve python After upgrading yum Report errors
When we yum When ordered , Will prompt
“File "/usr/bin/yum", line 30
except KeyboardInterrupt, e:
SyntaxError: invalid syntax”
It could be an upgrade python Caused by the ,yum Yes, it is python As an interpreter
Run again yum command , No more mistakes
- CentOS Install configuration on Python3.7
One . Install dependency packages , I don't know the specific function of this , It feels like a tool that will be used during installation . yum install zlib-devel bzip2-devel openssl-devel ncurses-de ...
- CentOS Installation under system python3+Django
Reprint :CentOS Installation under system python3+Django 1. First use yum Installation vim, because CentOS 7 Maybe they didn't bring their own complete vim, Frequent input garbled :yum -y install vim 2. Install on ...
- CentOS 7 Lower installation Python3.6
CentOS 7 Lower installation Python3.6.4 CentOS 7 Lower installation Python3.5 • install python3.6 Possible dependencies yum install openssl-devel bzip2-de ...
- CentOS 7 Lower installation Python3.6.4
CentOS 7 Lower installation Python3.5 • install python3.6 Possible dependencies yum install openssl-devel bzip2-devel expat-devel gdbm-deve ...
- centos python2 Upgrade to python3 Upgrade the old version django
Alibaba cloud centos python3 And django Configuration of install python3 after pip Will install the downloaded package into python2.7 Here's how to solve the problem python3.5 install 1, Install dependency packages #yum install ...
- CentOS 7 Lower installation Python3.5
CentOS 7 Lower installation Python3.5 • install python3.5 Possible dependencies yum install openssl-devel bzip2-devel expat-devel gdbm-deve ...
- ESRally Pressure measurement ElasticSearch performance CentOS 7.5 install Python3.7
1,CentOS 7.5 install Python3.7 1. Install developer tools yum -y groupinstall "Development Tools"2. install Python Compiling dependency packages ...
- CentOS Next Apache Configure multi domain name or multi port mapping
CentOS Next Apache The default site root is /var/www/html, If I default to one CI The project in html Folder , At the same time, the server's external network IP by ExampleIp, Because it uses MVC frame ,Apache To be opened ...
- CentOS 6.3 To configure PPTP VPN Methods
1. verification ppp use cat Command to check if it is on ppp, Most servers are turned on , Except for the special VPS Outside the host . [root@localhost1 /]# cat /dev/ppp cat: /dev/ppp: No ...
- be based on VMware by CentOS 6.5 Configure two network cards
by CentOS 6.5 Configure two network cards , One is eth0, One is eth1, Let's say master For example 1. choice “master”-->“ Edit virtual machine settings ”, As shown below 2. single click “ add to ”, as follows 3. choice “ Network adaptation ...
- Groovy Handle XML
1. Parsing XML 1.1. XmlParser and XmlSlurper The most commonly used approach for parsing XML with Gr ...
- It must be SQL sentence （ 3、 ... and ） Insert
1. Some small specifications for using insert statements 1) Before the Chinese string best Add one more N 2) Use brackets for column names Expand like this [ Name ] 2. Conventional writing Insert into tableName ( [col ...
- Audio playback (iOS Development )
Audio processing One . sound recording Recording application scenarios Voice chat In instant messaging software , All of them have voice sending function Voice memo Record an audio , To record something The recording function is realized Import AVFoundation frame effect : Some multimedia processing , It's basically ...
- Commonly used html Element value and assignment method summary
1. get type The type is TEXT perhaps AREATEXT Value var textval = $("#text_id").attr("value"); var textv ...
- Python Use openpyxl Reading and writing excel file
Python Use openpyxl Reading and writing excel file This is a third-party library , Can handle xlsx Format Excel file .pip install openpyxl install . If you use Aanconda, It's time to bring your own . Read E ...
- How to submit and release wechat apps ？ Post questions ： Applets only support https visit
http://www.jisuapp.cn/news/305.html Post questions :1. Applets only support https visit 2. To configure the service domain name
- C# In the operation data table XML Formatted data
I haven't seen data table storage before XML Formatted data , When I first heard about it , I thought it was in the data table XML Field type of , Learn more about , It's actually a string type , It's just that the format of the string is XML Format . It's really uninformed ! Khan, ... ( Additable ...
- HDU 3376
http://acm.hdu.edu.cn/showproblem.php?pid=3376 The question : A matrix , Every point has value , The upper left corner of the starting point and the lower right corner of the ending point , You can only go to the next or right point of the current point at a time , From the beginning to the end , Again from ...
If you've ever built Web Reference program , You've probably dealt with a lot of DOM operation . Access and operation DOM The element is almost every Web Common requirements for applications . We often collect information from different controls , We need to set value value , modify div or span Labeled ...
- So why do you want to see when you learn to divide trees vector ah sjb
Clearly should brush the topic desperately, but leisurely fill vector And a pointer ------------------------------------------------------------------- . http:// ...