zoukankan      html  css  js  c++  java
  • alpine里python安装mssql笔记

    解决:

    apk add apk add --no-cache tzdata g++ gcc unixodbc-dev freetds-dev

    报错:

    安装pymssql的时候报错:
    
         #include "sqlfront.h"
                              ^
        compilation terminated.
        error: command 'gcc' failed with exit status 1
    
    解决办法如下:
    apk add freetds-dev
    
    ----
    EnvironmentError: mysql_config not found
    解决方法如下:
    RUN apk add --no-cache mariadb-dev build-base
    
    ---
    安装uwsgi的时候报错:
        *** uWSGI compiling server core ***
        [gcc] core/utils.o
        In file included from core/utils.c:1:0:
        ./uwsgi.h:238:26: fatal error: linux/limits.h: No such file or directory
         #include <linux/limits.h>
                                  ^
        compilation terminated.
    
    解决办法如下:
    apk add linux-headers
    
    

    致谢

  • 相关阅读:
    love 玫瑰花
    正则表达式
    .NET Mvc
    html收藏
    winform问题集锦
    MSDE2000
    Oracle 语法
    PowerDesigner
    Oracle 操作
    文件转换(待完善)
  • 原文地址:https://www.cnblogs.com/jonnyan/p/14246628.html
Copyright © 2011-2022 走看看