django 学习问题解答

阅读更多

问题1

当用pycharm 编辑器安装django-bootstrap3 时

 

 

$pip3 install django-bootstrap3
 
遇到以下错误:


django 学习问题解答_第1张图片
 

 

Collecting django-bootstrap3==8.2.3
  Using cached django-bootstrap3-8.2.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "", line 1, in 
      File "/Users/hh/Library/Python/3.6/lib/python/site-packages/setuptools/__init__.py", line 10, in 
        from six.moves import filter, map
    ModuleNotFoundError: No module named 'six'
    
    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/mb/8cw7c6tx5_3bc9gjkvw6xgd80000gp/T/pycharm-packaging/django-bootstrap3/
 解决方法:
$ brew install brew install gcc@5
$ pip3 install djanjo-bootstrap3

 

 

  • django 学习问题解答_第2张图片
  • 大小: 208.6 KB
  • 查看图片附件

你可能感兴趣的:(python,django,bootstrap3,自动化测试)