Running make install errors out while installing django-sendsms
- Dominant language
- Python
- Stars
- 158
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
### 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?
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 40/100