Re: django module not found

2022-01-24 Thread Dawda Borje Kujabi
Thank you, it worked. On Mon, Jan 24, 2022, 2:16 PM Kasper Laudrup wrote: > On 24/01/2022 05.18, 'Delvin Alexander' via Django users wrote: > > > > No module named 'django.shortcut' > > Typo. It should be "django.shortcuts" > > Kind regards, > > Kasper Laudrup > > -- > You received this message

Re: django module not found

2022-01-24 Thread Kasper Laudrup
On 24/01/2022 05.18, 'Delvin Alexander' via Django users wrote: No module named 'django.shortcut' Typo. It should be "django.shortcuts" Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: django module not found

2022-01-24 Thread Kasper Laudrup
On 24/01/2022 15.11, Lakshyaraj Dash X-D 25 wrote: Try restarting your code editor or reinstall python. How would that change anything? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: django module not found

2022-01-24 Thread Lakshyaraj Dash X-D 25
If you're using virtual environment then try creating a new virtual environment and install django again in your virtual environment. On Mon, Jan 24, 2022, 19:28 'Delvin Alexander' via Django users < django-users@googlegroups.com> wrote: > Hello, > > I am new and just started to learn Django. I

Re: django module not found

2022-01-24 Thread Lakshyaraj Dash X-D 25
Try restarting your code editor or reinstall python. On Mon, Jan 24, 2022, 19:28 'Delvin Alexander' via Django users < django-users@googlegroups.com> wrote: > Hello, > > I am new and just started to learn Django. I am attempting to create my > first application and ofcourse progress to a website

django module not found

2022-01-24 Thread 'Delvin Alexander' via Django users
Hello, I am new and just started to learn Django. I am attempting to create my first application and ofcourse progress to a website but i am having difficulty at the moment. here is whats going on: ["Import "django.shortcut" could not be resolvedPylancereportMissingImports

Re: Non imported module not found.

2021-05-13 Thread Arun Kumar
Now you can use >From .models import and model Name On Thu, 13 May 2021 at 6:24 PM, Let's Get Going wrote: > Hello Django users, > I was registering my model after importing my model in admin.py file. > > It started showing error like No module named app.E_store where app is > project name

Non imported module not found.

2021-05-13 Thread Let's Get Going
Hello Django users, I was registering my model after importing my model in admin.py file. It started showing error like No module named app.E_store where app is project name and E_store is app name. I used to remove that but it is still showing the same error. Can anyone help me? -- You

Re: module not found

2021-04-28 Thread Satyajit Barik
Install django in a virtualenv. Then it should probably work. On Wed, 28 Apr, 2021, 1:46 pm sebasti...@gmail.com, < sebastian.ju...@gmail.com> wrote: > Install pip3: > > sudo apt install python3-pip > > then install django: > > pip3 install django > > rabi...@gmail.com schrieb am Mittwoch, 28.

Re: module not found

2021-04-28 Thread sebasti...@gmail.com
Install pip3: sudo apt install python3-pip then install django: pip3 install django rabi...@gmail.com schrieb am Mittwoch, 28. April 2021 um 09:12:41 UTC+2: > Go to settings from your pc and add python to your variable path. > > On Tue, 27 Apr 2021, 23:10 Sebastian Jung, wrote: > >> Hello,

Re: module not found

2021-04-28 Thread Rabil Abdullahi
Go to settings from your pc and add python to your variable path. On Tue, 27 Apr 2021, 23:10 Sebastian Jung, wrote: > Hello, > > You Install Django package with pip Install but you need with python3 pip3 > instead of pip. > > Regards > > Théodore KOSSI schrieb am Mo., 26. Apr. 2021, > 13:40: >

Re: module not found

2021-04-27 Thread Sebastian Jung
Hello, You Install Django package with pip Install but you need with python3 pip3 instead of pip. Regards Théodore KOSSI schrieb am Mo., 26. Apr. 2021, 13:40: > can you help me for this problem? > > -- > You received this message because you are subscribed to the Google Groups > "Django

Re: module not found

2021-04-27 Thread Shailesh Yadav
Hi, This issue is because of virtual env please check env and also Django installed in it or not. (You can also check the python interpreter and see the path). for more info please refer to this document.

Re: module not found

2021-04-27 Thread Théodore KOSSI
thanks you very much. I will try this issue and will return later. Le lun. 26 avr. 2021 à 13:48, Benjamin Schollnick < bscholln...@schollnick.net> a écrit : > Okay, it appears you are on a Macintosh…. > > Which is not the problem, but I ran into the same issue, and it’s most > likely that you

Re: module not found

2021-04-26 Thread Roberth Solis Martínez
I think is a problem with your virtual envinmont, just you need add the PYTHONPATH variable, like: export PYTHONPATH="/the/path/of/python3" I think maybe you have a global lib in yout machine maybe, try verify with "pip freeze --local" (without "base" env activated) try to clean your global

Re: module not found

2021-04-26 Thread Benjamin Schollnick
Okay, it appears you are on a Macintosh…. Which is not the problem, but I ran into the same issue, and it’s most likely that you installed a different version of Python than what came with the OS? try: python3 -m pip list | grep -i django python2 -m pip list | grep -i django I would bet

Re: Django GeoIP Module not found; can't remedy

2012-05-28 Thread Thomas Lockhart
... File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 353, in __init__ self._handle = _dlopen(self._name, mode) OSError: dlopen(/usr/local/lib/libGeoIP.dylib, 6): no suitable image found. Did find: /usr/local/lib/libGeoIP.dylib:

Re: Django GeoIP Module not found; can't remedy

2012-05-24 Thread DF
It appeared an import statement error caused the initial problem. But once that was fixed, the following error results: ">>> from django.contrib.gis.utils.geoip import GeoIP Traceback (most recent call last): File "", line 1, in File

Django GeoIP Module not found; can't remedy

2012-05-24 Thread DF
I've spent several hours attempting to resolve my problems setting up GeoIP in Django to no avail and was hoping to get some guidance on what the problem(s) might be. I'm working on an existing Django application that required some geolocation abilities, specifically getting a users IP and

Re: MySQLdb module not found even though it's installed.

2011-08-10 Thread Subhranath Chunder
On Wed, Aug 10, 2011 at 2:20 PM, babak wrote: > Did that and it didn't fail. > But when I run: > python2.6 manage.py syncdb > > everything works fine, so problem solved. > Your python mysql library binder is currently installed with the python2.6 instance only, and not

Re: MySQLdb module not found even though it's installed.

2011-08-10 Thread babak
Did that and it didn't fail. But when I run: python2.6 manage.py syncdb everything works fine, so problem solved. On 10 Aug, 10:48, Subhranath Chunder wrote: > You can check with the following: > > python manage.py shell > > then do the, > import MySQLdb > > If this fails

Re: MySQLdb module not found even though it's installed.

2011-08-10 Thread Subhranath Chunder
You can check with the following: python manage.py shell then do the, import MySQLdb If this fails then you are probably running on different python environments. On Wed, Aug 10, 2011 at 2:02 PM, babak wrote: > Hi I've installed MySQLdb om my mac and can import it: >

MySQLdb module not found even though it's installed.

2011-08-10 Thread babak
Hi I've installed MySQLdb om my mac and can import it: Python 2.6.7 (r267:88850, Jul 20 2011, 12:30:08) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import MySQLdb But when I try to create database I get the following

Re: django-tagging module not found

2009-11-30 Thread neridaj
I'm running django on ubuntu jaunty-9.04, apache2/mod_wsgi, and nginx. I'm having problems with both of my vhosts resolving to the same document root, as well as 500 errors with one of the domains. my first domain works fine i.e., the url resolves to the correct document root, but when I look up

django-tagging module not found

2009-11-30 Thread neridaj
Hello, I'm trying to deploy my simple app and I've mirrored the project as it was on my local dev machine. For some reason, when I try to browse to the url I get a 500 error and the error log says ImportError: No module named tagging. I've added PYTHONPATH env vars as follows: export

Re: Template Syntax Error: url config module not found

2009-11-09 Thread m3mitsuppe
Ok, so I narrowed this down a bit: the problem was with get_absolute_url. I still do not understand why it would complain about the urls.py not being found. I'd still be happy about any hints, but in the meantime I changed my template code to a not-so-DRY but working version with explicit urls.

Template Syntax Error: url config module not found

2009-11-08 Thread m3mitsuppe
Hi all, I have a strange error on a website I developed (quite some time ago...). The main url works: http://www.christina-kratzenberg.de So do all the links at the bottom except for the "portfolio" one. It's of course the interesting part where a photo portfolio is shown. When I click on

Re: Module not found

2009-03-05 Thread neridaj
thanks Jacob. On Mar 5, 11:47 am, Jacob Kaplan-Moss wrote: > On Thu, Mar 5, 2009 at 2:44 PM, neri...@gmail.com wrote: > >    (r'^$', include('dzopastudio.views.current_datetime')), > > There's the bug. ``include()`` does what the name suggests: it

Re: Module not found

2009-03-05 Thread Jacob Kaplan-Moss
On Thu, Mar 5, 2009 at 2:44 PM, neri...@gmail.com wrote: >    (r'^$', include('dzopastudio.views.current_datetime')), There's the bug. ``include()`` does what the name suggests: it includes another urlconf. Drop the include and it should work. Jacob

Module not found

2009-03-05 Thread neri...@gmail.com
Hello, I'm trying to map a simple url to a view but keep getting: "No module named current_datetime" when the view is defined in the views.py file. Here is urls.py: from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin