101Loop / 101Loop/drf-user

Running make install errors out while installing django-sendsms

Đang mở
#116 0 bình luận 0 reaction 1 người được giao Được @sumit4613 nhận Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
158
Fork
69
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
django, python
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
40/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.