Friday, May 15, 2020

Re: Issue with Heroku Getting Started

C:\Users\jakem\python-getting-started>pip freeze
asgiref==3.2.7
dj-database-url==0.5.0
Django==3.0.6
django-heroku==0.3.1
django-utils==0.0.2
gunicorn==20.0.4
psycopg2==2.8.5
pytz==2020.1
sqlparse==0.3.1
whitenoise==5.0.1

On Friday, May 15, 2020 at 11:29:29 AM UTC-4, jlgimeno71 wrote:


On Thu, May 14, 2020 at 5:02 AM J Maryott <jmar...@knox.edu> wrote:
Wondering if anyone may be able to shed some light on this...I've cloned the latest dev. version of Django from Git, and though I'm a bit of a newbie here, and this might sound totally dumb to the professionals (I'm unsure), I also tried     pip install django.utils    as a last ditch effort. It seemed to download a package successfully, but still I'm receiving the same error.

I've made it about halfway though the "Getting Started with Python" tutorial on the Heroku Dev Center (https://devcenter.heroku.com/articles/getting-started-with-python#run-the-app-locally), and I get the following error when attempting to run collectstatic:


python manage.py collectstatic
Traceback (most recent call last):    File "manage.py", line 8, in <module>      from django.core.management import execute_from_command_line    File "C:\Users\jakem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\django\__init__.py", line 1, in <module>      from django.utils.version import get_version  ModuleNotFoundError: No module named 'django.utils'

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1be60359-eb10-4def-90dc-762d1315e66a%40googlegroups.com.

Can you type pip freeze into your terminal and copy/paste the output here, please?

-Jorge

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eda9f804-4949-4cdd-9b34-8bf7db3b049a%40googlegroups.com.

No comments:

Post a Comment