django 学习问题解答
程序员文章站
2022-03-24 23:10:40
...
问题1
当用pycharm 编辑器安装django-bootstrap3 时:
$pip3 install django-bootstrap3
遇到以下错误:
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 "<string>", line 1, in <module> File "/Users/hh/Library/Python/3.6/lib/python/site-packages/setuptools/__init__.py", line 10, in <module> 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
上一篇: 是你亲自。。。买的吧