Install drf-api-key in django

I am trying to install drf-api-key in django. I am using Linux Mint 21.3. But I am getting below error.

python3 -m pip install drf-api-key

Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement drf-api-key (from versions: none)
ERROR: No matching distribution found for drf-api-key

I do not see a package by that name on PyPi. I do see drf-api-key-auth · PyPI, is it possible that this is the package you’re looking for?

1 Like

Thanks @KenWhitesell . Actually I am trying to run pip install drf-api-key command and getting those errors. Thanks.

I understand that’s the command you’re trying to run.

However, I don’t see a package by that name on PyPi. Are you sure that’s the right package name?

(What information do you have that is telling you that that is the name of the package to install?)

1 Like

Thanks @KenWhitesell . I am learning Django Rest API Development with API Key. Could you please check this ChatGPT solution ? ChatGPT