Re: Regarding the Django ImportError Issue

2023-09-07 Thread Ferney Bermeo Ruiz
t; >> Hello, >> >> I hope this message finds you well. I wanted to let you know that I've >> taken a look at the error message you shared: >> >> ``` >> Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure >> it's inst

Re: Regarding the Django ImportError Issue

2023-08-25 Thread ivan harold
I wanted to let you know that I've > taken a look at the error message you shared: > > ``` > Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure it's > installed and available on your PYTHONPATH environment variable? Did you > forget to acti

Regarding the Django ImportError Issue

2023-08-25 Thread abhijeet tripathi
Hello, I hope this message finds you well. I wanted to let you know that I've taken a look at the error message you shared: ``` Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forge

Re: ImportError:

2022-12-23 Thread Raeesh Rayeen
ImportError: cannot import name 'views' from 'it_training_platform' for the above error please write like that: import app_name from views note: we have two things project name and app_name when we are creating Django project That app_name import. Thanks On

Re: ImportError:

2022-12-23 Thread 'Kasper Laudrup' via Django users
On 23/12/2022 12.36, JOSEPH OCHELEBE O. wrote: Am getting this errors bellow when i tried to run my Django project     from . import views ImportError: cannot import name 'views' from 'it_training_platform' (C:\Users\Dreams Reality\Desktop\Django-project\

ImportError:

2022-12-23 Thread JOSEPH OCHELEBE O.
Am getting this errors bellow when i tried to run my Django project from . import views ImportError: cannot import name 'views' from 'it_training_platform' (C:\Users\Dreams Reality\Desktop\Django-project\it_training_platform\it_training_platform\__init__.py) -- You r

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread Luqman Lawal
Okay On Thu, Sep 1, 2022, 4:21 PM Ashish Rawat wrote: > There is error in line number 3 you are importing the module from restapi > but you should take that from model > > On Thu, Sep 1, 2022, 7:30 PM Pooja Kumari wrote: > >> Can anyone explain this error? >> >> -- >> You received this message

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread M Adnan
>From webapp.models import employee On Thu, 1 Sep 2022, 7:02 pm Pooja Kumari, wrote: > Can anyone explain 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, sen

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread Shams Ulhaq
>From . models import employees Then use in serializer On Thu, 1 Sep 2022, 19:02 Pooja Kumari, wrote: > Can anyone explain 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 em

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread Pooja Kumari
Understood. Thank you very much On Thu, Sep 1, 2022, 7:45 PM MAHESH KUMAR wrote: > You can write your serializers in 3rd line > > From .models import employees > > Thanks, > Mahesh > > On Thu, Sep 1, 2022, 19:30 Pooja Kumari wrote: > >> Can anyone explain this error? >> >> -- >> You received t

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread subin
Thanks again for the info. On Thu, Sep 1, 2022 at 4:21 PM Ashish Rawat wrote: > There is error in line number 3 you are importing the module from restapi > but you should take that from model > > On Thu, Sep 1, 2022, 7:30 PM Pooja Kumari wrote: > >> Can anyone explain this error? >> >> -- >> Yo

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread Ashish Rawat
There is error in line number 3 you are importing the module from restapi but you should take that from model On Thu, Sep 1, 2022, 7:30 PM Pooja Kumari wrote: > Can anyone explain this error? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" grou

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread Akash Kundoo
>From where you're importing employees? Check that? On Thu, 1 Sep, 2022, 7:31 pm Pooja Kumari, wrote: > Can anyone explain 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 em

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread MAHESH KUMAR
You can write your serializers in 3rd line >From .models import employees Thanks, Mahesh On Thu, Sep 1, 2022, 19:30 Pooja Kumari wrote: > Can anyone explain this error? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: Please help. ImportError with django 3.1

2021-01-05 Thread Steven Mapes
at I get in the command prompt >> >> !*<<<(env) C:\Users\Documents\Learn >> Python\django\my_django_work\my_django_work\urls.py", line 19, in >> from hello.views import index >> ImportError: cannot import name 'index' from 'hello.v

Re: Please help. ImportError with django 3.1

2021-01-04 Thread Mr. X Offencer
wser. > This is the error message that I get in the command prompt > > !*<<<(env) C:\Users\Documents\Learn > Python\django\my_django_work\my_django_work\urls.py", line 19, in > from hello.views import index > ImportError: cannot import name 'index&#x

Re: Please help. ImportError with django 3.1

2021-01-04 Thread Josh Raj
mes up in my browser. > This is the error message that I get in the command prompt > > !*<<<(env) C:\Users\Documents\Learn > Python\django\my_django_work\my_django_work\urls.py", line 19, in > from hello.views import index > ImportError: cannot import name &

Please help. ImportError with django 3.1

2021-01-04 Thread Gasar Iyali
k\urls.py", line 19, in from hello.views import index ImportError: cannot import name 'index' from 'hello.views'>>>!! Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Salima Begum
;>>>> admin.py >>>>>> apps.py >>>>>> cron.py >>>>>> Forms.py >>>>>>functions.py >>>>>>models.py >>>>>> urls.py >>>>>>

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Shahprogrammer
0 AM Akinfolarin Stephen < >>>>>> akinfolar...@gmail.com> wrote: >>>>>> >>>>>>> First I will like you to tell me the folder where test.py is and >>>>>>> views.py >>>>>>> >>>>>>> On Fri, Oct 16,

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Salima Begum
20, 06:27 Salima Begum < >>>>>> salim...@rohteksolutions.com> wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> I have written test case for views for details page. Here is below >>>>>>> code I have written >>>>>>&

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Akinfolarin Stephen
>>>>> >>>>>> Hi all, >>>>>> >>>>>> I have written test case for views for details page. Here is below >>>>>> code I have written >>>>>> >>>>>> ``` >>>>>> from django.te

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Salima Begum
t;>> from django.contrib.auth.models import User >>>>> from pages.models import vk_customer >>>>> from mixer.backend.django import mixer >>>>> import pytest >>>>> >>>>> from pages.views import ProductDetails >>

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Shahprogrammer
end('pages.vk_master_table') >>>> path = reverse('detail', kwargs={'pk': 1516}) >>>> request = RequestFactory().get(path) >>>> request.user = mixer.blend(vk_customer) >>>> >>>> response = P

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Dhwanil Shah
es.vk_master_table') >>>> path = reverse('detail', kwargs={'pk': 1516}) >>>> request = RequestFactory().get(path) >>>> request.user = mixer.blend(vk_customer) >>>> >>>> response =

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-15 Thread Salima Begum
: 1516}) >>> request = RequestFactory().get(path) >>> request.user = mixer.blend(vk_customer) >>> >>> response = ProductDetails(request, pk=1516) >>> print(response) >>> assert response.status_code == 200 >>> ```

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-15 Thread Salima Begum
27;pk': 1516}) >>> request = RequestFactory().get(path) >>> request.user = mixer.blend(vk_customer) >>> >>> response = ProductDetails(request, pk=1516) >>> print(response) >>> assert response.status_

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-15 Thread Salima Begum
s(request, pk=1516) >> print(response) >> assert response.status_code == 200 >> ``` >> *This the error i am getting.* >> ERROR >> collecting pages/tests/test_views.py >> __

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-15 Thread Akinfolarin Stephen
er) > > response = ProductDetails(request, pk=1516) > print(response) > assert response.status_code == 200 > ``` > *This the error i am getting.* > ____ ERROR > collecting pages/tests/test_v

ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-15 Thread Salima Begum
ting pages/tests/test_views.py ________ ImportError while importing test module 'H:\vikreya\mysite\pages\tests\test_views.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: c:\users\user\appdata\local\programs\p

ImportError: DLL load failed: The specified module could not be found.

2019-12-18 Thread Mukesh Kalaga
init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "E:\DjanjoWeb\acumen\env\lib\site-packages\django\db\backends\sqlite3\base.py", line 14, in from sqlite3 import dbapi2 as Database File "C:\Users\kalag\A

[import pyzbar.pyzbar as pyzbar] raises ImportError('Unable to find zbar shared library')

2019-07-12 Thread SUDHAN DC
Hello guys, I am very new in the Django and python and I am trying to write a barcode-reader code. my requirements.txt file is as follows Django>=2.2,<3.0 psycopg2>=2.7,<3.0 Pillow>=6.1.0 pyzbar==0.1.8 numpy==1.16.4 django-sslserver==0.20 but when I try to import the prybar it raises an error

Re: ImportError: cannot import name 'RemovedInDjango40Warning'

2019-07-04 Thread Andréas Kühne
Hi Dave, This is the django users mailing list - not the django dev. I think you would get better help in the django dev mailing list. Also - are you sure you want to work on developing django, and not just use django? Regards, Andréas Den ons 3 juli 2019 kl 16:20 skrev Dave Ladeji : > Pleas

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-05 Thread رهام صادقی
gt; >>> urlpatterns = [ >>> path('boadts/', include ('boadts.urls')), >>> path('admin/',admin.site.urls), >>> ] >>> File "/home/myproject/myproject/myproject/urls.py", line 2, in >>> from

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-05 Thread Dheeraj Kumar
#x27;admin/',admin.site.urls), >> ] >> File "/home/myproject/myproject/myproject/urls.py", line 2, in >> from django.conf.urls import include, path >> ImportError: cannot import name path >> >> please tell. >> >> On Tue, 4 Dec 2018

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread Harryxon Ndegwa
ts/', include ('boadts.urls')), > path('admin/',admin.site.urls), > ] > File "/home/myproject/myproject/myproject/urls.py", line 2, in > from django.conf.urls import include, path > ImportError: cannot import name path > > please tell.

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread Dheeraj Kumar
ject/myproject/urls.py", line 2, in from django.conf.urls import include, path ImportError: cannot import name path please tell. On Tue, 4 Dec 2018 at 19:40, C. Kirby wrote: > from django.conf.urls import include > > > you are missing conf > > On Tuesday, December 4, 2018 at

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread C. Kirby
from django.conf.urls import include you are missing conf On Tuesday, December 4, 2018 at 8:21:39 AM UTC-5, tal...@gmail.com wrote: > > plz advise... > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re

from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread talkdkg
plz advise... -- 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@google

Re: ImportError : cannot import name include

2018-05-18 Thread James Farris
del Leon >> fi...@flm.cat >> Phone: +34 622 26 44 92 >> GPG: 2585 30C2 E3C7 7151 0864 946B 7423 F94B 5753 5FC7 >> >> El 17 de mayo de 2018 a las 20:56:56, Tristan Demot ( >> cont...@journal-immo.com) escribió: >> >> Hello, >> >> I use

Re: ImportError : cannot import name include

2018-05-18 Thread Journal-Immo
13 Gjango 1.11.13 Creating the Polls app OK Write your first view OK But python manage runserver don't work With : python -Wall manage.py test ImportError : cannot import name include If you want to see something, ask me Many thanks -- You received th

Re: ImportError : cannot import name include

2018-05-18 Thread Gerald Brown
manage runserver don't work With : python -Wall manage.py test ImportError : cannot import name include If you want to see something, ask me Many thanks -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: ImportError : cannot import name include

2018-05-18 Thread Fidel Leon
5FC7 > > El 17 de mayo de 2018 a las 20:56:56, Tristan Demot ( > cont...@journal-immo.com) escribió: > > Hello, > > I use docs.djangoproject.co/en/2.0 > Python 2 7 13 > Gjango 1.11.13 > > Creating the Polls app OK > Write your first view OK > But python manage runserver d

Re: ImportError : cannot import name include

2018-05-18 Thread Daniel Hepper
.djangoproject.co/en/2.0 > Python 2 7 13 > Gjango 1.11.13 > > Creating the Polls app OK > Write your first view OK > But python manage runserver don't work > With : python -Wall manage.py test > ImportError : cannot import name include > If you want to see something

Re: ImportError : cannot import name include

2018-05-18 Thread Journal-Immo
Hello,  I use docs.djangoproject.co/en/2.0 <http://docs.djangoproject.co/en/2.0>  Python 2 7 13 Gjango 1.11.13 Creating the Polls app OK Write your first view OK But python manage runserver don't work With : python -Wall manage.py test ImportError : cannot import name inc

Re: ImportError : cannot import name include

2018-05-17 Thread Pranay reddy
smartphone.From: Tristan DemotSent: Friday 18 May 2018 00:27To: Django usersReply To: django-users@googlegroups.comSubject: ImportError : cannot import name includeHello, I use docs.djangopro

Re: ImportError : cannot import name include

2018-05-17 Thread Daniel Hepper
tan Demot : > > Hello, > > I use docs.djangoproject.co/en/2.0 > Python 2 7 13 > Gjango 1.11.13 > > Creating the Polls app OK > > Write your first view OK > > But python manage runserver don't work > With : python -Wall manage.py test > > Impo

Re: ImportError : cannot import name include

2018-05-17 Thread Fidel Leon
( cont...@journal-immo.com) escribió: Hello, I use docs.djangoproject.co/en/2.0 Python 2 7 13 Gjango 1.11.13 Creating the Polls app OK Write your first view OK But python manage runserver don't work With : python -Wall manage.py test ImportError : cannot import name include If you want t

ImportError : cannot import name include

2018-05-17 Thread Tristan Demot
Hello, I use docs.djangoproject.co/en/2.0 Python 2 7 13 Gjango 1.11.13 Creating the Polls app OK Write your first view OK But python manage runserver don't work With : python -Wall manage.py test ImportError : cannot import name include If you want to see something, ask me Many t

Re: importError

2018-05-04 Thread Fidel Leon
path >>> *[No error]* And this is an example with Django v1.11 >>> from django import get_version >>> get_version() *'1.11.13' * >>> from django.urls import include, urls Traceback (most recent call last): File "", line 1, in *ImportError: ca

importError

2018-05-04 Thread gkfka5968
__import__(name) File "C:\Users\gkfka\PycharmProjects\django\cafe\mysite\mysite\urls.py", line 17, in from django.urls import include, path ImportError: cannot import name include -- You received this message because you are subscribed to the Google Groups "Django use

Re: ImportError: No module named 'main'

2018-04-14 Thread shubham jhandei
Hi, I agree with Samuel Muiruri, your app definition in settings.py is incorrect. try this: INSTALLED_APPS = [ ... #'DjangoRestfulServer', #remove there is no need toimport the main project 'main', #no need for substantiating an app ] On Friday, April 13, 2018 at 8:04:51 PM UTC+5:30, Артём Ор

Re: ImportError: No module named 'main'

2018-04-14 Thread Samuel Muiruri
try this INSTALLED_APPS = [ ... #'DjangoRestfulServer', #remove you don't import the main project 'main', #no need for substanciating an app ] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

ImportError: No module named 'main'

2018-04-13 Thread Артём Орлов
Hello! Django does not see application created with *django-admin startapp main*. ./DjangoRestfulServer/ ├── __init__.py ├── main │ ├── admin.py │ ├── apps.py │ ├── __init__.py │ ├── models.py │ ├── __pycache__ │ │ ├── admin.cpython-35.pyc │ │ ├── __init__.cpython-35.pyc │

Re: importError: Count Not import Django inside Virtualenv

2018-02-14 Thread PASCUAL Eric
: PASCUAL Eric Cc: django-users@googlegroups.com Subject: Re: importError: Count Not import Django inside Virtualenv Hi Eric, Le 2018-02-14 à 03:44, PASCUAL Eric a écrit : Hi, Hard to say without knowing the exact context, but my gut feeling is that you've modified a system wide library

Re: importError: Count Not import Django inside Virtualenv

2018-02-14 Thread PASCUAL Eric
From: django-users@googlegroups.com on behalf of tango ward Sent: Wednesday, February 14, 2018 10:09:51 AM To: django-users@googlegroups.com Subject: Re: importError: Count Not import Django inside Virtualenv that's odd. Whenever I test a pacakge, it's always installe

Re: importError: Count Not import Django inside Virtualenv

2018-02-14 Thread Etienne Robillard
like this... ;-) Cheers, Etienne *From:* django-users@googlegroups.com on behalf of tango ward *Sent:* Wednesday, February 14, 2018 3:40:04 AM *To:* django-users@googlegroups.com *Subject:* Re: importError: Count Not imp

Re: importError: Count Not import Django inside Virtualenv

2018-02-14 Thread tango ward
for projects > related libs, for the same reasons. > > > Eric > -- > *From:* django-users@googlegroups.com on > behalf of tango ward > *Sent:* Wednesday, February 14, 2018 3:40:04 AM > *To:* django-users@googlegroups.com > *Subject:* Re: importError: Count Not impor

Re: importError: Count Not import Django inside Virtualenv

2018-02-14 Thread PASCUAL Eric
_ From: django-users@googlegroups.com on behalf of tango ward Sent: Wednesday, February 14, 2018 3:40:04 AM To: django-users@googlegroups.com Subject: Re: importError: Count Not import Django inside Virtualenv Hi Eric, I tried what you suggested and it works! I was just wondering why my exi

Re: importError: Count Not import Django inside Virtualenv

2018-02-13 Thread tango ward
quot;manage.py", line 8, in > from django.core.management import execute_from_command_line > ModuleNotFoundError: No module named 'django' > > The above exception was the direct cause of the following exception: > > Traceback (most recent call last): > Fi

Re: importError: Count Not import Django inside Virtualenv

2018-02-13 Thread tango ward
following exception: Traceback (most recent call last): File "manage.py", line 14, in ) from exc ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? @Jaso

Re: importError: Count Not import Django inside Virtualenv

2018-02-13 Thread PASCUAL Eric
ated then. Best. Eric From: django-users@googlegroups.com on behalf of tango ward Sent: Tuesday, February 13, 2018 9:43:45 PM To: django-users@googlegroups.com Subject: importError: Count Not import Django inside Virtualenv Hi, I want to seek some advice about the error.

Re: importError: Count Not import Django inside Virtualenv

2018-02-13 Thread Jason
if pip freeze doesn't include django in the output, then the django package is not installed in the virtualenv. are you sure the virtualenv was active when you installed django? also, remember that if you installed latest django, eg *pip install django*, it won't install for python2 venvs. On

importError: Count Not import Django inside Virtualenv

2018-02-13 Thread tango ward
Hi, I want to seek some advice about the error. All of my pet projects in my desktop are getting the same error even though virtualenv is activated. I can confirm that when I started playing around with the projects, I have installed Django inside virtualenv without using "sudo". Now, I can't run

Package django-imagekit produces "ImportError: cannot import name conf"

2017-10-25 Thread bill.torcaso
the error, and the whole stack trace is further below. File "/home/ec2-user/green-here/www.oxfamamerica.org/venv/www/local/lib/python2.7/dist-packages/imagekit/__init__.py" , line 2, in from . import conf ImportError: cannot import name conf This doesn't make any sense, b

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-04 Thread Melvyn Sopacua
Is it possible you create your virtual environments with global site-packages? >From what I'm seeing this is caused primarily by version mismatches of the six library and using OS site-packages with virtualenv would certainly do it as setuptools and pip both use six. The difference with 1.10/1.11

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-04 Thread Derek Zeng
Hi Melvyn, Renaming MIDDELWARE_CLASSES doesn't help either. These are the requirements I have: django==1.10.5 djangorestframework markdown django-filter django-jinja pytest factory_boy fabric3 pytest-django feedparser==5.2.1 pytz PyYAML lxml requests django-extensions Werkzeug django-cors-he

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-04 Thread Melvyn Sopacua
Rename MIDDLEWARE_CLASSES to MIDDLEWARE in settings to see if that changes anything. If not, remove one by one (except static). There are some changes to the static files middleware [1], but I can't really relate that to your error. Is there anything in your project requirements that also uses six

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-04 Thread Derek Zeng
If I turn off debug mode, it gives me 500 error and showing the same stack trace in the console. I also tried 1.11.4, still the same error. On Mon, Sep 4, 2017 at 2:33 AM, Raffaele Salmaso wrote: > On Sun, Sep 3, 2017 at 4:26 PM, Derek Zeng wrote: >> >> When I use django==1.10.7, this does not

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-03 Thread Raffaele Salmaso
On Sun, Sep 3, 2017 at 4:26 PM, Derek Zeng wrote: > > When I use django==1.10.7, this does not happen. > When I use django==1.11a1 this happens. > Why 1.11a1? Current is 1.11.4 -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You rec

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-03 Thread Melvyn Sopacua
ptured when i > was just debugging it in 3.5. > > On Sun, Sep 3, 2017 at 2:55 PM, James Schneider > wrote: >> >> >> >> File >> "/Users/coderek/Documents/projects/py3.5/lib/python3.5/site-packages/django/contrib/staticfiles/storage.py", >> line

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-03 Thread Derek Zeng
torage.py", > line 21, in > from django.utils.six.moves import range > ImportError: cannot import name 'range' > > > Are you sure you're using 3.6.2? Do you have another virtualenv with 3.5 > and no Django installed? > > -James > > -- > Y

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-03 Thread James Schneider
File "/Users/coderek/Documents/projects/py3.5/lib/python3.5/site-packages/django/contrib/staticfiles/storage.py", line 21, in from django.utils.six.moves import range ImportError: cannot import name 'range' Are you sure you're using 3.6.2? Do you have another v

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-03 Thread Derek Zeng
l = self.url(context) File "/Users/coderek/Documents/projects/py3.5/lib/python3.5/site-packages/django/templatetags/static.py", line 102, in url return self.handle_simple(path) File "/Users/coderek/Documents/projects/py3.5/lib/python3.5/site-packages/django/templatetags/static.py",

Re: from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-02 Thread James Schneider
x.moves import range, ImportError: cannot import name > 'range' Really not sure why it has this weird error. I'm using python 3.6.2 Any help is appreciated! Is the referenced error coming from code that you wrote? There's a comma at the end of the import line, which

from django.utils.six.moves import range, ImportError: cannot import name 'range'

2017-09-02 Thread Derek Zeng
Hi, Today I tried to install my django project on a new mac computer. I used virutalenv to setup the packages. After I start the app by running './mange.py runserver' and access the home page I got the error from django.utils.six.moves import range, ImportError: cannot import name

Re: how can i fix ImportError: No module named 'archive.settings'

2017-07-04 Thread Antonis Christofides
b/__init__.py", line > 126, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "", line 986, in _gcd_import > File "", line 969, in _find_and_load > File "", line 956, in _find_and_load_unlocked > ImportError:

Re: how can i fix ImportError: No module named 'archive.settings'

2017-07-04 Thread James Schneider
File "", line 969, in _find_and_load File "", line 956, in _find_and_load_unlocked ImportError: No module named 'archive.settings' If I had to guess, you're missing the settings.py file in the root of your Django project. That should have been created b

how can i fix ImportError: No module named 'archive.settings'

2017-07-04 Thread Body Abdo
mod = importlib.import_module(self.SETTINGS_MODULE) File "/var/www/project/venv/lib64/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 986, in _gcd_import File "", line 969

Re: Django 1.7: ImportError: No module named .models

2017-04-18 Thread Leonard Cohen
I WENT ALMOST CRAZY thanx a lot !!! ;) Τη Τρίτη, 12 Αυγούστου 2014 - 12:19:34 μ.μ. UTC+3, ο χρήστης ngangsia akumbo έγραψε: > > i have had this same erroe too but it happed that i include instead the > module class name in the settings.py file > > make sure u are having the name of the app in th

Re: ImportError while starting django server

2017-02-02 Thread Tim Graham
, in execute* > > *django.setup()* > > * File "/Library/Python/2.7/site-packages/django/__init__.py", line 22, > in setup* > > * configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)* > > * File "/Library/Python/2.7/site-packages/django/uti

Re: ImportError while starting django server

2017-02-02 Thread Antonis Christofides
gement/__init__.py", line > 341, in execute* > > *django.setup()* > > * File "/Library/Python/2.7/site-packages/django/__init__.py", line 22, in > setup* > > *configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)* > > * File "/Library/Pytho

ImportError while starting django server

2017-02-02 Thread Parth Shah
G)* * File "/Library/Python/2.7/site-packages/django/utils/log.py", line 69, in configure_logging* *logging_config_func = import_string(logging_config)* * File "/Library/Python/2.7/site-packages/django/utils/module_loading.py", line 27, in import_string* *six.reraise(Impor

Re: ImportError at/ No module name

2016-10-01 Thread Aravind S
Check this post <http://stackoverflow.com/questions/22011791/importerror-no-module-named-views> On Thursday, December 20, 2012 at 6:57:42 PM UTC+5:30, djangobie wrote: > > Hi, I have just started practicing a tutorial for buidling a basic blog ( > http://www.djangorocks.com/t

Re: django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'treebeard.templatetags.admin_tree_list': cannot import name 'patterns'

2016-08-30 Thread Richard C
jango 1.10. > I have run into a few libraries that needed patterns() removing which I've > done and raised issues with the appropriate owners, but now have run into > this: > > django.template.library.InvalidTemplateLibrary: Invalid template library >> spe

django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'treebeard.templatetags.admin_tree_list': cannot import name 'patterns'

2016-08-30 Thread Richard C
into this: django.template.library.InvalidTemplateLibrary: Invalid template library > specified. ImportError raised when trying to load > 'treebeard.templatetags.admin_tree_list': cannot import name 'patterns' > I've been through treebeard and the django backend but can't seem to find any refe

Re: ImportError: No module named south

2016-05-20 Thread Frank Wiles
ine > 90, in create > module = import_module(entry) > File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module > __import__(name) > ImportError: No module named south > > -- > You received this message because you are subscribed to th

ImportError: No module named south

2016-05-20 Thread Priyadharshini S
", line 90, in create module = import_module(entry) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named south -- You received this message because you are subscribed to the Google Groups "Django use

Re: Error: ImportError: No module named south

2016-05-20 Thread Priyadharshini S
On Sunday, August 11, 2013 at 5:00:54 PM UTC+5:30, alekto.a...@gmail.com wrote: > > Hi, > am using django==1.5.1 and south==0.8.2, as well as pip-1.1-py2.7.egg > (python 2.7) > I keep getting this error: ImportError: No module named south, when I run: > sudo python manage.p

Django ImportError: No module named admin

2016-03-19 Thread addison . slabaugh
jango/utils/module_loading.py", line 74, in autodiscover_modules import_module('%s.%s' % (app_config.name, module_to_search)) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named admin Using print_st

Django ImportError: No module named admin

2016-03-18 Thread addison . slabaugh
jango/utils/module_loading.py", line 74, in autodiscover_modules import_module('%s.%s' % (app_config.name, module_to_search)) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named admin Using print_st

Re: ImportError: no module named polls

2016-01-25 Thread James Schneider
On Jan 25, 2016 1:05 PM, "moon jo" wrote: > > Using django 1.6.10 > I finished the polls tutorial and tried to create my own project. > I tried to runserver and it gives me the import error. But it's a blank project, haven't added anything in the settings. > When I do import settings form django.c

Re: ImportError: no module named polls

2016-01-25 Thread Rafael E. Ferrero
if its a blank project you don't have a polls app yet,so... why you put your polls app there? Rafael E. Ferrero 2016-01-25 16:14 GMT-03:00 moon jo : > Using django 1.6.10 > I finished the polls tutorial and tried to create my own project. > I tried to runserver and it gives me the import error.

ImportError: no module named polls

2016-01-25 Thread moon jo
Using django 1.6.10 I finished the polls tutorial and tried to create my own project. I tried to runserver and it gives me the import error. But it's a blank project, haven't added anything in the settings. When I do import settings form django.conf and print settings.INSTALLED_APPS, it prints th

Re: ImportError: No module named security(SOLVED)

2016-01-04 Thread Gary Roach
ome/gary/workspace/TangoWithDjango/local/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, in import_string module = import_module(module_path) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name)

Re: ImportError: No module named security

2016-01-04 Thread knbk
oWithDjango/local/lib/python2.7/site-packages/django/core/handlers/base.py", > > > line 44, in load_middleware > mw_class = import_string(middleware_path) >File > "/home/gary/workspace/TangoWithDjango/local/lib/python2.7/site-packages/django/utils/module_loading.p

ImportError: No module named security

2016-01-04 Thread Gary Roach
/python2.7/site-packages/django/utils/module_loading.py", line 26, in import_string module = import_module(module_path) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named security [05/Jan/2016 00:21:51] &quo

Re: ImportError at/ No module name

2015-11-07 Thread Scott Anderson
012 05:27:42 UTC-8, djangobie wrote: >> >> Hi, I have just started practicing a tutorial for buidling a basic blog >> ( >> http://www.djangorocks.com/tutorials/how-to-create-a-basic-blog-in-django/starting-your-application.html >> ) >> >> Did exactly the same (e

ImportError after some updates

2015-07-17 Thread Marta J.
pdates. Out of sudden the commands "python manage.py ..." stopped working (to be precise I was trying to use python manage.py runserver command), and I was getting ImportError (a long stack trace with info Import by filename is not supported). So I moved my project to trash and trie

Re: Django 1.8 ImportError: No module named formtools

2015-03-12 Thread Alasdair Nicol
00:33:29 UTC-4, Neto a écrit : I'm trying to use form wizard but when I put 'django.contrib.formtools', in INSTALLED_APPS appear on my terminal 'ImportError: No module named formtools' -- You received this message because you are subscribed to the Go

  1   2   3   4   5   6   7   >