python2 出现ERROR: Command errored out with exit status 1
                    
                
                
                     
                            记录一下遇到的一个bug
系统:ubuntu
python2,代码里用到了import MySQLdb,但是运行时报错
  import MySQLdb as db
ImportError: No module named MySQLdb
于是去pip安装这个包
    pip install mysql-python
发现报错
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

最后在https://github.com/specify/specify7/issues/652 这里找到了解决方法
     sudo apt-get install libmysqlclient-dev
     pip install mysql-python

             评论
        
        
    评论插件加载失败
    
    
    正在加载评论插件
        
            
    