# Error running 'python -m pip install --user django-polls/dist/django-polls.0.1.tar.gz

**URL:** <https://forum.djangoproject.com/t/error-running-python-m-pip-install-user-django-polls-dist-django-polls-0-1-tar-gz/11394>\
**Category:** Using Django\
**Created:** [January 5, 2022, 6:11pm UTC](https://forum.djangoproject.com/t/error-running-python-m-pip-install-user-django-polls-dist-django-polls-0-1-tar-gz/11394 "2022-01-05T18:11:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndrewSRea](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/andrewsrea/32/6537_2.png) [@AndrewSRea](https://forum.djangoproject.com/u/AndrewSRea)\
**Post date:** [January 5, 2022, 6:11pm UTC](https://forum.djangoproject.com/t/error-running-python-m-pip-install-user-django-polls-dist-django-polls-0-1-tar-gz/11394/1 "2022-01-05T18:11:20Z")

</div>

In following the “Advanced Tutorial: How to write reusable apps”, I have installed all the necessary files and add-ons to “package my (django-polls) app.” Now, in following the “[Using your own package](https://docs.djangoproject.com/en/3.1/intro/reusable-apps/#using-your-own-package)” instructions, I have run the following in my terminal: `python -m pip install --user django-polls/dist/django-polls-0.1.tar.gz`; but I get this error in return: `ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtual env.` Please help.

---

<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:** [January 5, 2022, 6:28pm UTC](https://forum.djangoproject.com/t/error-running-python-m-pip-install-user-django-polls-dist-django-polls-0-1-tar-gz/11394/2 "2022-01-05T18:28:13Z")

</div>

If you’re running this in a virtual environment, you do not need to use the `--user` parameter. You can install this package directly in that environment. See the supplemental information at [Advanced tutorial: How to write reusable apps | Django documentation | Django](https://docs.djangoproject.com/en/3.1/intro/reusable-apps/#installing-python-packages-with-a-virtual-environment)

---

<div class="post-metadata">

**Author:** ![AndrewSRea](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/andrewsrea/32/6537_2.png) [@AndrewSRea](https://forum.djangoproject.com/u/AndrewSRea)\
**Post date:** [January 5, 2022, 10:07pm UTC](https://forum.djangoproject.com/t/error-running-python-m-pip-install-user-django-polls-dist-django-polls-0-1-tar-gz/11394/3 "2022-01-05T22:07:19Z")

</div>

Thank you for your help, Ken!
