首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >django-rest-auth安装错误

django-rest-auth安装错误
EN

Stack Overflow用户
提问于 2017-12-27 19:36:23
回答 2查看 573关注 0票数 0

我正在尝试在(venv)的应用程序中安装django -rest- auth

代码语言:javascript
复制
pip install django-rest-auth

但是我得到了这个错误。为什么?注意:** django和djangorestframwork已经安装

代码语言:javascript
复制
pip install django-rest-auth
Collecting django-rest-auth
  Using cached django-rest-auth-0.9.2.tar.gz
Requirement already satisfied: Django>=1.8.0 in ./venv/lib/python3.5/site-packages (from django-rest-auth)
Requirement already satisfied: djangorestframework>=3.1.0 in ./venv/lib/python3.5/site-packages (from django-rest-auth)
Requirement already satisfied: six>=1.9.0 in ./venv/lib/python3.5/site-packages (from django-rest-auth)
Requirement already satisfied: pytz in ./venv/lib/python3.5/site-packages (from Django>=1.8.0->django-rest-auth)
Building wheels for collected packages: django-rest-auth
  Running setup.py bdist_wheel for django-rest-auth ... error
  Complete output from command /home/mohammadreza/PycharmProjects/mohammadrezaDjangoApp/Django/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-xl9ds058/django-rest-auth/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp5sk4s13wpip-wheel- --python-tag cp35:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for django-rest-auth
  Running setup.py clean for django-rest-auth
Failed to build django-rest-auth
Installing collected packages: django-rest-auth
  Running setup.py install for django-rest-auth ... done
Successfully installed django-rest-auth-0.9.2
EN

回答 2

Stack Overflow用户

发布于 2020-07-03 19:49:38

只需安装轮子包似乎就可以解决这个问题。pip install wheel,然后再次使用pip install django-rest-auth

票数 2
EN

Stack Overflow用户

发布于 2018-10-26 14:11:38

在收到Successfully installed django-rest-auth-0.9.2消息时忽略该错误

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47991469

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档