# Install drf-api-key in django

**URL:** <https://forum.djangoproject.com/t/install-drf-api-key-in-django/35005>\
**Category:** Getting Started\
**Created:** [September 22, 2024, 2:01pm UTC](https://forum.djangoproject.com/t/install-drf-api-key-in-django/35005 "2024-09-22T14:01:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![afoysal](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/afoysal/32/20425_2.png) [@afoysal](https://forum.djangoproject.com/u/afoysal)\
**Post date:** [September 22, 2024, 2:01pm UTC](https://forum.djangoproject.com/t/install-drf-api-key-in-django/35005/1 "2024-09-22T14:01:28Z")

</div>

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

```

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 22, 2024, 2:06pm UTC](https://forum.djangoproject.com/t/install-drf-api-key-in-django/35005/2 "2024-09-22T14:06:55Z")

</div>

I do not see a package by that name on PyPi. I do see [drf-api-key-auth · PyPI](https://pypi.org/project/drf-api-key-auth/), is it possible that this is the package you’re looking for?

---

<div class="post-metadata">

**Author:** ![afoysal](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/afoysal/32/20425_2.png) [@afoysal](https://forum.djangoproject.com/u/afoysal)\
**Post date:** [September 22, 2024, 2:23pm UTC](https://forum.djangoproject.com/t/install-drf-api-key-in-django/35005/3 "2024-09-22T14:23:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 22, 2024, 4:11pm UTC](https://forum.djangoproject.com/t/install-drf-api-key-in-django/35005/4 "2024-09-22T16:11:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![afoysal](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/afoysal/32/20425_2.png) [@afoysal](https://forum.djangoproject.com/u/afoysal)\
**Post date:** [September 22, 2024, 4:50pm UTC](https://forum.djangoproject.com/t/install-drf-api-key-in-django/35005/5 "2024-09-22T16:50:09Z")

</div>

Thanks @KenWhitesell . I am learning Django Rest API Development with API Key. Could you please check this ChatGPT solution ? [ChatGPT](https://chatgpt.com/share/66f04a1c-e178-8003-8cca-1fe6f4a93456)
