# django-admin startproject problem

**URL:** <https://forum.djangoproject.com/t/django-admin-startproject-problem/16887>\
**Category:** Getting Started\
**Created:** [November 8, 2022, 12:15pm UTC](https://forum.djangoproject.com/t/django-admin-startproject-problem/16887 "2022-11-08T12:15:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RuszakMiklos](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/ruszakmiklos/32/6218_2.png) [@RuszakMiklos](https://forum.djangoproject.com/u/RuszakMiklos)\
**Post date:** [November 8, 2022, 12:15pm UTC](https://forum.djangoproject.com/t/django-admin-startproject-problem/16887/1 "2022-11-08T12:15:18Z")

</div>

Hi!

I have several Django projects on my Mac but now if I try to make a new project like this:  
`django-admin startproject app`

it gives me the following error:

```auto
Traceback (most recent call last):
  File "/usr/local/bin/django-admin", line 6, in <module>
    from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

```

This is strange to me but I tried to (re)install django but:

```auto
Requirement already satisfied: django in /usr/local/lib/python3.9/site-packages (3.1)
Requirement already satisfied: sqlparse>=0.2.2 in /usr/local/lib/python3.9/site-packages (from django) (0.4.1)
Requirement already satisfied: asgiref~=3.2.10 in /usr/local/lib/python3.9/site-packages (from django) (3.2.10)
Requirement already satisfied: pytz in /usr/local/lib/python3.9/site-packages (from django) (2020.5)

```

What should I do?

---

<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:** [November 8, 2022, 3:41pm UTC](https://forum.djangoproject.com/t/django-admin-startproject-problem/16887/2 "2022-11-08T15:41:01Z")

</div>

I’m not a consistent Mac user, so I don’t know how to “fix” this specific issue. But my general response to situations like this are to create a new virtual environment and install the necessary packages in it. (If you’re not using virtual environments for your development environment, you should.)
