大家好我想在CentOS上使用Django(== 1.11.4)ORM(== 7.3),python 2.7.x,
所以我正在尝试安装python包mysqlclient(> = 1.3.9)
(而不是MySQL-python,因为最后一个版本是在2014-01-02)
我收到这样的错误:
Select Case input >= 20 And input <= 99
Case True
Dim tens As String = Math.Floor(input \ 10)
Dim ones As String = Math.Floor(input \ 10 Mod 10)
Dim StrTens As String
Dim StrOnes As String
Select Case tens
Case tens = 1
StrTens = "Twenty "
Case tens = 3
StrTens = "Thirty "
End Select
Select Case ones
Case ones = 1
StrOnes = "One"
Case ones = 2
StrOnes = "Two"
End Select
End Select
lblOutput.Text = StrTens + StrOnes
所以我发现我需要安装mysql-devel RPM, 但最新版本是针对CentOS 6.9的:
所以我找到了另一个相关的RPM,但是对于CentOS 7.3,它的名字就像旧的python包一样: