Running make install errors out while installing django-sendsms

Open
#116 0 comments 0 reactions 1 assignee View on GitHub

@sumit4613 is already working on this.

Since Sep 20, 2021.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
40/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Domain
build-system

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.

Description

bug
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?
Dominant language
Python
Stars
158
Forks
69
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 101Loop/drf-user

All issues in 101Loop/drf-user

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.