Running make install errors out while installing django-sendsms
- 主要语言
- Python
- 星标
- 158
- 派生
- 69
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Environment
- `drf-user` version(s) (`drf-user --version`:
- Operating System(s): WSL2
- Python version(s): Python 3.8.5
### Description of the bug
Running make install errored out with the below traceback.
Building wheels for collected packages: django-sendsms
Building wheel for django-sendsms (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/drf-user/101loop/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4fh1i_2n/django-sendsms/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4fh1i_2n/django-sendsms/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/pip-wheel-fdb0yfh_
cwd: /tmp/pip-install-4fh1i_2n/django-sendsms/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for django-sendsms
Running setup.py clean for django-sendsms
Failed to build django-sendsms
ERROR: djangorestframework-jwt 1.11.0 has requirement PyJWT<2.0.0,>=1.5.2, but you'll have pyjwt 2.1.0 which is incompatible.
### What you expected to happen
All the packages to get installed.
### How to reproduce (as minimally and precisely as possible)
### Anything else we need to know?
贡献指南
调研方向
The error occurs during 'make install' when building django-sendsms wheel and has a PyJWT version conflict. Check the project's setup.py or requirements files for django-sendsms and djangorestframework-jwt dependencies. Look at the Makefile to see the install command. Resolve by ensuring wheel is installed and adjusting PyJWT version constraints.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- django, python
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100