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

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” 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.

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

Thank you for your help, Ken!