If you felt the problem was vs code, I have a suggestion. Try it out and if it works, get back to me. Open your comman prompt terminal and input Python -m venv venv (press enter) Venv/static/activate (press enter) Then install django again
On Fri, Apr 28, 2023, 3:27 AM Michael Starr <michaelstarr.cod...@gmail.com> wrote: > Thank you for the replies. I am overwhelmed right now but will check back > on them later. > > I think you two are right that it's the IDE. It's VSCode (I don't know > what version). I was just suspicious b/c there were some strange bugs in my > django project. I won't worry about it. If it annoys me I'll redirect the > pointers. > > Michael > > On Thursday, April 27, 2023 at 3:27:31 PM UTC-7 Khaleel Ahmed H. M. > Shariff wrote: > >> Hi Michael >> >> May Peace, Blessings & Mercy of Almighty God be on you! >> >> do you know how to modify the sys.path to add the directory where the >> listed modules are installed? >> >> On Linux/UNIX >> Execute the find command to locate the directory where the modules are >> installed and include the same in the path >> >> On windows >> Execute the dir/s to locate the directory where the modules are >> installed and include the same in the path >> >> Best of luck >> >> God Bless You! >> God Bless India!! >> -- >> >> Love & Regards >> Dr. (h.c.) Khaleel Ahmed H. M. >> >> +91-9845007864 <+91%2098450%2007864> >> >> Taming Python >> >> >> https://www.amazon.in/Taming-Python-comfortable-writing-Scripts-ebook/dp/B08T6PQG7M >> >> ----------------------------------------------------------------------- >> >> Human Life is Precious >> Koran Surah Ma'idah Chapter 5 Verse 32: >> If anyone killed a person, not in retaliation of murder, or (and) to >> spread mischief in the land - it would be as if he killed all mankind, & if >> anyone saved a life, it would be as if he saved the life of all mankind. >> >> On Fri, 28 Apr 2023 at 2:54 AM, Reddy Tintaya <rtin...@momnt.com> wrote: >> >>> Should I suppose that it appears like error only in your editor, but the >>> app runs with no problem? >>> I guess the error is that your IDE is not pointing to the correct python >>> interpreter >>> >>> >>> On 27 Apr 2023, at 16:05, Michael Starr <michaelst...@gmail.com> wrote: >>> >>> I did pip install django on my venv, which is activated, and it reported >>> already installed. But the following modules are reporting the error in the >>> subject line: >>> django.db >>> models >>> django.utils.crypto >>> django.urls >>> django.contrib >>> admin >>> django.shortcuts >>> django.views.generic >>> >>> I don't know what's wrong. My server runs in development mode (not in >>> production yet), but there havev been some bugs that are hard to imagine >>> are caused by this, but still (images not loading, CSS not loading). >>> >>> Thanks. >>> >>> Michael >>> >>> >>> >>> -- >>> 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...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/f7977c43-90ef-4423-bb36-07c550bfda52n%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/f7977c43-90ef-4423-bb36-07c550bfda52n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> >>> -- >>> 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...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/2FFAC08F-0BC9-44B6-98B2-97A8978AB3DC%40momnt.com >>> <https://groups.google.com/d/msgid/django-users/2FFAC08F-0BC9-44B6-98B2-97A8978AB3DC%40momnt.com?utm_medium=email&utm_source=footer> >>> . >> >> >> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/52f5968e-2e0d-4f64-8fb3-5bbd2ef70bean%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/52f5968e-2e0d-4f64-8fb3-5bbd2ef70bean%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALRYqKgu5HL8e3byiQQ4aam46kSzWHPkJtk3GuCLPWg%2BPw7cxw%40mail.gmail.com.