Python新手,对不起,如果我的问题发现愚蠢但需要帮助。我需要在我的服务器上安装sqlite devel。但是当我试图运行 public static DateTime GetDateOfBirth(int year, int month, int day)
{
var today = DateTime.Today;
int currentYear = today.Year;
int currentDay = today.Day;
int currentMonth = today.Month;
if (day >= currentDay)
{
currentMonth--;
currentDay += DateTime.DaysInMonth(currentYear, currentMonth);
}
if (month >= currentMonth)
{
currentMonth += 12;
currentYear--;
}
return new DateTime(currentYear - year, currentMonth - month, currentDay - day);
}
时会发出以下错误
sudo yum install sqlite3 libsqlite3-dev