101Loop / 101Loop/drf-user

Running make install errors out while installing django-sendsms

Offen
#116 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @sumit4613 Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
158
Forks
69
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
django, python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
40/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.