I wanted to use contributions graph in my Django project, so after quick research I decided to use 'contributions-django' library. But when I tried to install it, I got stuck with this error::
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I am no pip expert, but I can see that requirements.txt file exists in this repository (altough it's empty). How to fix this? Can I install the libary manually? How? Thanks for help in advance.
At the comment request, here is the command I used:
first I activated virtual environment:
my_venv\Scripts\activate
then I used this command to install the library:
pip install contributions-django
See https://github.com/vsoch/contributions-django/issues/3 . The bug was reported in 2020, still open. The last commit also was 4 years ago. The project seems to be abandoned.
This command works, though:
pip install git+https://github.com/vsoch/contributions-django.git
You need Git installed and git
command present in the %PATH%
.