zoukankan      html  css  js  c++  java
  • scrapy django

    1

    (venv) root@yu:/software/code/dpb/web/byb# pip install mysqlclient
    Collecting mysqlclient
    Using cached mysqlclient-1.3.12.tar.gz
    Complete output from command python setup.py egg_info:
    /bin/sh: 1: mysql_config: not found
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-qzurcx6s/mysqlclient/setup.py", line 17, in <module>
    metadata, options = get_config()
    File "/tmp/pip-build-qzurcx6s/mysqlclient/setup_posix.py", line 44, in get_config
    libs = mysql_config("libs_r")
    File "/tmp/pip-build-qzurcx6s/mysqlclient/setup_posix.py", line 26, in mysql_config
    raise EnvironmentError("%s not found" % (mysql_config.path,))
    OSError: mysql_config not found

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qzurcx6s/mysqlclient/

    apt-get install libmariadbclient-dev
    pip install mysqlclient
  • 相关阅读:
    ARC管理内存(一)
    懒加载lazyload
    View的封装
    Plist文件与数据解析
    ubuntu16.04 安装python3.6
    ubuntu16.04 安装 wxPython方法
    第三章
    第二章
    协方差的意义
    内存区--Java
  • 原文地址:https://www.cnblogs.com/yugengde/p/8666896.html
Copyright © 2011-2022 走看看