On 04/06/18 12:01, Gerald Brown wrote:
On Monday, June 4, 2018 at 6:58:39 PM UTC+8, Gerald Brown wrote:
I have been using ./manage.py shell for awhile and now all of a
sudden it has stopped working with the error "AttributeError:
'property' object has no attribute '__dict__'". I get the same
error with anything I enter after the ./manage.py (i.e. runserver,
dbshell, etc)
I think it might have to do with something I added to my
requirements.txt file.
Does anyone know of a way other than committing out the
requirements.txt one-by-one on how to solve this problem?
By the way it is running in a pyvenvwrapper virtual environment .
if everything is running in your virtual enviornment, do a `pip freeze`
in both environments - and then do a diff between them - that at least
will tell you which packages you have in the non-working environment
which might be different from the working environment; there might be a
lot though.
Have you possibly upgraded your django installation in the non-working
environment - I can't image any 3rd Party non django installations
breaking the Django such that the manage.py now doesn't work.
the other possibility is that your default python is different between
the two environment.
Thanks.
--
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+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/b0b8631b-990b-4123-bc14-e10cf9b1406a%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/b0b8631b-990b-4123-bc14-e10cf9b1406a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
--
Anthony Flury
email : *anthony.fl...@btinternet.com*
Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*
--
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/1c00d406-ddc7-b4ff-dfe3-efbab446a07e%40btinternet.com.
For more options, visit https://groups.google.com/d/optout.