Re: ModuleNotFoundError: No module named 'mysite'

2024-04-14 Thread Ahmad Irfan
have you checked your virtual env? On Sun, 14 Apr 2024 at 5:38 AM, hikinthru wrote: > I am a new Django user and am setting up my first site on a local MAMP > server. Django is running, but when I run `python manage.py makemigrations` > I get the following error: > >

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
How ??? The views is inside quickstart folder On Sun, Sep 4, 2022, 00:21 Danish Nagori wrote: > Hello > I think you try this > from tutorial import views > > On Fri, 2 Sep 2022, 12:21 pm Pooja Kumari, > wrote: > >> Hello team, >> please help me with this error. >> >> -- >> You received this mes

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Danish Nagori
Hello I think you try this from tutorial import views On Fri, 2 Sep 2022, 12:21 pm Pooja Kumari, wrote: > Hello team, > please help me with this error. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Swetank Subham Roy
It should be: import .views Or from .views import your_view It should be a relative import On Sat, 3 Sep 2022 at 7:16 PM, Lakshyaraj Dash wrote: > She has views inside tutorials then quickstart. She has named every folder > as tutorial. She needs to rename some folders > > On Sat, 3 Sep, 2022,

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
She has views inside tutorials then quickstart. She has named every folder as tutorial. She needs to rename some folders On Sat, 3 Sep, 2022, 18:41 Vj Vijay, wrote: > It should be from tutorial import views > > On Fri, Sep 2, 2022, 12:51 PM Pooja Kumari > wrote: > >> Hello team, >> please help

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Vj Vijay
It should be from tutorial import views On Fri, Sep 2, 2022, 12:51 PM Pooja Kumari wrote: > Hello team, > please help me with this error. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
@rahul There no module for tutorial.quickstart in pypi Pip will throw error as not proper configuration was found against that package. On Fri, 2 Sep, 2022, 12:55 rahul sharma, wrote: > Ti install in terminal pip install totorial.quickstart > > > On Fri, Sep 2, 2022, 12:57 rahul sharma wrot

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
The main problem is that you have every folder named as tutorial so it's throwing errors. On Fri, 2 Sep, 2022, 12:51 Pooja Kumari, wrote: > Hello team, > please help me with this error. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > T

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Muhammad Juwaini Abdul Rahman
Add 'tutorial' to settings.py > INSTALLED_APPS On Fri, 2 Sept 2022 at 15:21, Pooja Kumari wrote: > Hello team, > please help me with this error. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop re

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-02 Thread Abdulrahman Abbas
Having exactly this kind of problem On Fri, Sep 2, 2022, 08:21 Pooja Kumari wrote: > Hello team, > please help me with this error. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-02 Thread Wazed Khan
Use from . import views Because you are in you app directory Or use from tutorial import views On Fri, Sep 2, 2022, 1:21 PM Pooja Kumari wrote: > Hello team, > please help me with this error. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" grou

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-02 Thread rahul sharma
Ti install in terminal pip install totorial.quickstart On Fri, Sep 2, 2022, 12:57 rahul sharma wrote: > Import module name > > On Fri, Sep 2, 2022, 12:21 Pooja Kumari wrote: > >> Hello team, >> please help me with this error. >> >> -- >> You received this message because you are subscribed to

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-02 Thread rahul sharma
Import module name On Fri, Sep 2, 2022, 12:21 Pooja Kumari wrote: > Hello team, > please help me with this error. > > -- > 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

Re: ModuleNotFoundError: No module named [project_name]

2021-12-15 Thread Muhammad Juwaini Abdul Rahman
It seems that you don't have permission to execute your wsgi.py file or the filepath is incorrect. Suggestion: Why don't you use nginx + gunicorn? On Wed, 15 Dec 2021 at 23:05, Kyle Paterson wrote: > I am using django 4.0 with Apache and mod_wsgi. Whenever I try request the > site through apach

Re: ModuleNotFoundError: No module named 'tempfile'

2021-10-06 Thread Adeyemi Deji
Oh, I didn't get that talk about tempfile but I do now, thanks. Since installation is the issue, y not delete and reinstall python latest version Virus-free. www.avast.com <

Re: ModuleNotFoundError: No module named 'tempfile'

2021-10-06 Thread Kasper Laudrup
I think you replied to the wrong post here, but anyway: On 06/10/2021 10.57, Adeyemi Deji wrote: First of all, what text editor do you use, If not visual studio code I recommend you get that one and learn how to use it, then u can always set the python interpreter based on your choice. I don'

Re: ModuleNotFoundError: No module named 'tempfile'

2021-10-06 Thread Adeyemi Deji
First of all, what text editor do you use, If not visual studio code I recommend you get that one and learn how to use it, then u can always set the python interpreter based on your choice. Secondly u need a virtual environment and you can get that with (python -m venv venv) then activate it by cha

Re: ModuleNotFoundError: No module named 'tempfile'

2021-10-05 Thread Kasper Laudrup
On 05/10/2021 17.20, Olalekan Alashe wrote: Pls ,How can i fixed this error (ModuleNotFoundError: No module named 'tempfile').i wanted to install Django with this command "python -m pip installs Django" .I have python 3.8,3.7.3.9 on my system. The tempfile module is part of the Python st

Re: ModuleNotFoundError -- Please help :)

2021-04-01 Thread 'Ajay Rathore' via Django users
try this *from reporter.models import Counties* Regards *Ajay Rathore* Python Developer On Thu, Apr 1, 2021 at 4:17 PM Ryan Nowakowski wrote: > Since your models aren't in the migrations python package, I would use an > absolute path in the import statement here rather than the relative path.

Re: ModuleNotFoundError -- Please help :)

2021-04-01 Thread Ryan Nowakowski
Since your models aren't in the migrations python package, I would use an absolute path in the import statement here rather than the relative path. On March 31, 2021 9:50:30 PM CDT, 'Dante Costabile' via Django users wrote: >Hiya Folks. Relatively new to django and quite enjoying it. However

Re: ModuleNotFoundError: No module named 'django'

2020-07-16 Thread Exactly musty
Are you sure you are in your virtual environment, if not make sure you activate your env then install all requirements before you migrations or runserver On Thursday, July 16, 2020 at 7:50:11 PM UTC+1, harshith kumar pedarla wrote: > > I'm getting this error > > Traceback (most recent call

Re: ModuleNotFoundError:

2020-05-08 Thread Jorge Gimeno
On Fri, May 8, 2020 at 5:12 PM nor sairi wrote: > AttributeError: module 'django.contrib' has no attribute 'gisproperty' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File > "/home/sairi/anaconda3/lib/python3.7/site-packages/dja

Re: ModuleNotFoundError: No module named 'datetime'

2020-01-09 Thread bhushan Gupta
Hello Kasper, thanks for following up. I installed Datetime module using pip. The module is there but still the same error. Looks like a setup error. Here is the pip output: asgiref==3.2.3 DateTime==4.3 Django==3.0.1 pytz==2019.3 pywin32==227 sqlparse==0.3.0 virtualenv==16.7.8 zope.interface==4.7.

Re: ModuleNotFoundError: No module named 'datetime'

2020-01-06 Thread Mohamed A
Can you please check whether the python interpreter inside the virtual environment is python 2 or python 3 ? In order to do so, you need to goto to the virtualenv folder, activate cargo env, and then check "python -V" On Mon, Jan 6, 2020 at 7:10 PM Kasper Laudrup wrote: > Hi Bhushan, > > On 06/0

Re: ModuleNotFoundError: No module named 'datetime'

2020-01-06 Thread Kasper Laudrup
Hi Bhushan, On 06/01/2020 18.20, Bhushan Gupta wrote: Recreated virtual environment – no change. Inside your virtual environment, what's the output of: # pip freeze ? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users"

RE: ModuleNotFoundError: No module named 'datetime'

2020-01-06 Thread Bhushan Gupta
: django-users@googlegroups.com Subject: Re: ModuleNotFoundError: No module named 'datetime' How about deleting your virtualenv and recreating a new one. It may be located here ::: C:\Users\\.virtualenvs\cargo When reactivated, could you please provide as with the results of "ec

Re: ModuleNotFoundError: No module named 'datetime'

2020-01-03 Thread Mohamed A
How about deleting your virtualenv and recreating a new one. It may be located here ::: C:\Users\\.virtualenvs\cargo When reactivated, could you please provide as with the results of "echo $PATH" from cmdline. On Fri, Jan 3, 2020 at 7:09 PM sanusi ibrahim adekunle < ibrahimsanusiw...@gmail.com>

Re: ModuleNotFoundError: No module named 'datetime'

2020-01-03 Thread sanusi ibrahim adekunle
You do not have datetime module installed on your virtual environment. To install, type this command: "pip install datetime" On Fri, Jan 3, 2020, 18:37 bhushan Gupta wrote: > I want to use Django to build a simple portal. I have done the following > on Windows 10 > installed Python 3.8 and pip

Re: ModuleNotFoundError: No module named 'datetime'

2020-01-03 Thread bhushan Gupta
I went to windows environment variables and added the last two lines. I was following instructions from: https://www.codingforentrepreneurs.com/blog/install-python-django-on-windows C:\Program Files (x86)\Python38-32\Lib\site-packages C:\Program Files (x86)\Python38-32\Lib\site-packages\django\b

Re: ModuleNotFoundError: No module named 'datetime'

2020-01-03 Thread Daniel Roseman
On Friday, 3 January 2020 17:38:27 UTC, bhushan Gupta wrote: > > I want to use Django to build a simple portal. I have done the following > on Windows 10 > installed Python 3.8 and pip > Installed virtualenv > Created an env 'cargo' > Installed Djengo 3.0.1 > Set the path: > C:\Program Files (x

Re: ModuleNotFoundError: No module named 'mysite.polls'

2019-10-28 Thread Charles Jason Decena
mysite.apps.polls would solve your problem On Sunday, October 27, 2019 at 1:01:09 AM UTC+8, Beto Joaquim wrote: > > hello guys I'm new on Django and I would like to ask your help, I've added > "mysite.polls'' to my SETTINGS > Installed app... but it still say " > ModuleNotFoundError: No module

Re: ModuleNotFoundError: No module named 'mysite.polls'

2019-10-26 Thread DP Mishra
Can u plz show ur codes as well as ur directory structure. On Sat, 26 Oct, 2019, 10:30 PM Beto Joaquim, wrote: > hello guys I'm new on Django and I would like to ask your help, I've added > "mysite.polls'' to my SETTINGS > Installed app... but it still say " > ModuleNotFoundError: No module nam

Re: ModuleNotFoundError: No module named :

2019-09-25 Thread Rahul Roshan
You have created a model named as "user" in models.py while you are importing model "User" in views.py. Importing model "user" will fix the issue. Thanks, Rahul On Thu, Sep 26, 2019 at 9:09 AM MEGA NATHAN wrote: > > hi. > > populate script error in line 12 > > > > > *Regards* > Meganathan G >

Re: ModuleNotFoundError: No module named :

2019-09-25 Thread MEGA NATHAN
hi. populate script error in line 12 *Regards* Meganathan G On Wed, Sep 25, 2019 at 9:57 AM Abu Yusuf wrote: > share your full project here. > > On Tue, Sep 24, 2019 at 10:43 PM MEGA NATHAN > wrote: > >> >> >> Hi. >> again i change and run but same problem coming >> >> >> >> *Regar

Re: ModuleNotFoundError: No module named :

2019-09-24 Thread Abu Yusuf
share your full project here. On Tue, Sep 24, 2019 at 10:43 PM MEGA NATHAN wrote: > > > Hi. > again i change and run but same problem coming > > > > *Regards* > Meganathan G > > > > On Tue, Sep 24, 2019 at 10:32 AM Abu Yusuf > wrote: > >> Error in admin.py. So same here in admin.py. >> >>

Re: ModuleNotFoundError: No module named :

2019-09-24 Thread MEGA NATHAN
Hi. again i change and run but same problem coming *Regards* Meganathan G On Tue, Sep 24, 2019 at 10:32 AM Abu Yusuf wrote: > Error in admin.py. So same here in admin.py. > > Before starting a django project, try to understand the architecture of it > and the working flow of it. > Oth

Re: ModuleNotFoundError: No module named :

2019-09-23 Thread Abu Yusuf
Error in admin.py. So same here in admin.py. Before starting a django project, try to understand the architecture of it and the working flow of it. Otherwise, you can't go long away. Best Wishes, On Tue, Sep 24, 2019 at 10:32 AM Abu Yusuf wrote: > In your views.py: > from .models import users >

Re: ModuleNotFoundError: No module named :

2019-09-23 Thread Abu Yusuf
In your views.py: from .models import users That's it. On Tue, Sep 24, 2019 at 10:13 AM Deep Sukhwani wrote: > Are you supposed to be using a virtualenv and you don't have that > activated? > > Can you run *pip freeze | grep -i django* and share the output? > > -- > Regards > Deep L Sukhwani >

Re: ModuleNotFoundError: No module named :

2019-09-23 Thread Deep Sukhwani
Are you supposed to be using a virtualenv and you don't have that activated? Can you run *pip freeze | grep -i django* and share the output? -- Regards Deep L Sukhwani On Tue, 24 Sep 2019 at 09:40, MEGA NATHAN wrote: > Hi. > > > i 'm meganathan from india i was doing django trining , > > And

Re: ModuleNotFoundError: No module named 'sample,'

2019-03-08 Thread Ezequiel Bertti
Check your INSTALED_APPS on settings.py I think you have a simple typo with: "sample,", On Fri, Mar 8, 2019 at 7:14 AM abel otugeme wrote: > You must have written code that doesn't work. Check if you imported any > function e.g models that you didn't use. > On Mar 7, 2019 10:44 AM, wrote: > >

Re: ModuleNotFoundError: No module named 'sample,'

2019-03-08 Thread abel otugeme
You must have written code that doesn't work. Check if you imported any function e.g models that you didn't use. On Mar 7, 2019 10:44 AM, wrote: > Hi Team > > My project name is Sample > While I am trying to connect database with models.py > I am finding these type of errors > ModuleNotFoundErro

Re: ModuleNotFoundError: No module named 'sample,'

2019-03-07 Thread lakshmyyreddy
yes I added On Thursday, 7 March 2019 19:09:03 UTC+5:30, 赖信桃 wrote: > > Did you add `sample` to INSTALLED_APPS? > > > 于2019年3月7日周四 下午5:44写道: > >> Hi Team >> >> My project name is Sample >> While I am trying to connect database with models.py >> I am finding these type of errors >> ModuleNotFound

Re: ModuleNotFoundError: No module named 'sample,'

2019-03-07 Thread 赖信桃
Did you add `sample` to INSTALLED_APPS? 于2019年3月7日周四 下午5:44写道: > Hi Team > > My project name is Sample > While I am trying to connect database with models.py > I am finding these type of errors > ModuleNotFoundError: No module named 'sample,' > Can anybody help me. > > -- > You received this mes

Re: ModuleNotFoundError: No module named 'sample,'

2019-03-07 Thread Alex Kimeu
Do you have a model named Sample in your models.py file of your app?? On Thu, 7 Mar 2019, 13:00 Robin Riis, wrote: > from .models import Sample > > Den tors 7 mars 2019 10:44 skrev: > >> Hi Team >> >> My project name is Sample >> While I am trying to connect database with models.py >> I am find

Re: ModuleNotFoundError: No module named 'sample,'

2019-03-07 Thread Robin Riis
from .models import Sample Den tors 7 mars 2019 10:44 skrev: > Hi Team > > My project name is Sample > While I am trying to connect database with models.py > I am finding these type of errors > ModuleNotFoundError: No module named 'sample,' > Can anybody help me. > > -- > You received this messa

Re: ModuleNotFoundError: No module named 'facebook.urls'

2018-11-21 Thread prinx
On Wednesday, November 21, 2018 at 5:14:44 AM UTC+1, Tushar Nadkar wrote: > > I am trying to install Django facebook graph in my project , > > I installed ‘facebook’ in Insatlled_app and added > > > > ['facebook.middleware.SignedRequestMiddleware', > > 'facebook.middleware.AppRequestMiddl

Re: ModuleNotFoundError: No module named 'facebook.urls'

2018-11-21 Thread Jason
you need to add the facebook package in your installed apps -- 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

Re: ModuleNotFoundError: No module named 'models'

2017-05-29 Thread m712 - Developer
How do you expect us to understand your problem if you give us no context at all? For all I know this error could be a file system corruption. On May 30, 2017 2:42 AM, jinghui yang wrote:ModuleNotFoundError: No module named 'models'How to fix this error? -- You received this message because yo

Re: ModuleNotFoundError: No module named 'models'

2017-05-29 Thread VC
from django.db import models # Create your models here. class Student(models.Model): fname = models.CharField(max_length=50, null=True, blank=True) def __str__(self): return self.fname please try this On Mon, May 29, 2017 at 7:42 PM, jinghui yang wrote: > ModuleNotFoundError: No module named

Re: ModuleNotFoundError: No module named 'models'

2017-05-29 Thread Dylan Reinhold
Well simple fix is make sure you have a module named models. Without the code no one is going to know what you did wrong. On Mon, May 29, 2017 at 4:42 PM, jinghui yang wrote: > ModuleNotFoundError: No module named 'models' > > How to fix this error? > > -- > You received this message because