On 05/07/18 12:49, Umar Kambala wrote:

Please am sorry am new to django, I don't really understood what u mean

I know that Tim has helped you in this occassion but  you really do need to  know how to find your way around a computer

the commands 'ls' and 'cd ..'

are nothing to do with Django - they are basic commands for managing your file system which will work regardless of whether you use Django or not

I know in a previous answer, someone suggested that you learn some basic Python knowledge, can I also suggest that you learn some basic console commands - how to change directory, list files, delete and rename files how to look at the file details (file size, dates etc). These are all useful things when you are trying to do development.


On Jul 5, 2018 11:42 AM, "Tim Vogt (Tim Vogt)" <timtv...@gmail.com <mailto:timtv...@gmail.com>> wrote:

    do $ls and find the directory where the manage.py file is.
    cd.. to go one directory back



    Op 5 jul. 2018, om 13:25 heeft Umar Kambala
    <umarkamb...@gmail.com <mailto:umarkamb...@gmail.com>> het
    volgende geschreven:

    thanks Mr Tim
    i have python 3.6 install on my computer, i try running python
    manage.py migrate and this is what i got

    C:\Users\Admin\Desktop\Django web>python manage.py migrate
    python: can't open file 'manage.py': [Errno 2] No such file or
    directory

    On Thu, Jul 5, 2018 at 4:21 AM, Tim Vogt (Tim Vogt)
    <timtv...@gmail.com <mailto:timtv...@gmail.com>> wrote:

        perhaps run the project with python2 or
        do python manage.py migrate.


        Op 5 jul. 2018, om 13:18 heeft Umar Kambala
        <umarkamb...@gmail.com <mailto:umarkamb...@gmail.com>> het
        volgende geschreven:

        please this what i had after running my Django-admin
        startproject myproject

          File
        
"c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\django\core\management\__init__.py",
        line 371, in execute_from_command_line
            utility.execute()
          File
        
"c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\django\core\management\__init__.py",
        line 365, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
          File
        
"c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\django\core\management\__init__.py",
        line 216, in fetch_command
            klass = load_command_class(app_name, subcommand)
          File
        
"c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\django\core\management\__init__.py",
        line 36, in load_command_class
            module = import_module('%s.management.commands.%s' %
        (app_name, name))
          File
        
"c:\users\admin\appdata\local\programs\python\python36-32\lib\importlib\__init__.py",
        line 126, in import_module
            return _bootstrap._gcd_import(name[level:], package, level)
          File "<frozen importlib._bootstrap>", line 994, in _gcd_import
          File "<frozen importlib._bootstrap>", line 971, in
        _find_and_load
          File "<frozen importlib._bootstrap>", line 955, in
        _find_and_load_unlocked
          File "<frozen importlib._bootstrap>", line 665, in
        _load_unlocked
          File "<frozen importlib._bootstrap_external>", line 678,
        in exec_module
          File "<frozen importlib._bootstrap>", line 219, in
        _call_with_frames_removed
          File
        
"c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\django\core\management\commands\startproject.py",
        line 1, in <module>
            from django.core.management.templates import TemplateCommand
          File
        
"c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\django\core\management\templates.py",
        line 17, in <module>
            from django.template import Context, Engine
        ModuleNotFoundError: No module named 'django.template'

        what should i do to debug this error please?


-- 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
        <https://groups.google.com/group/django-users>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/django-users/CAPkbFbatt4e_SVMPbWEHk--tBKC8VJR6xYcAEjwEJRjMFwT7Wg%40mail.gmail.com
        
<https://groups.google.com/d/msgid/django-users/CAPkbFbatt4e_SVMPbWEHk--tBKC8VJR6xYcAEjwEJRjMFwT7Wg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
        For more options, visit https://groups.google.com/d/optout
        <https://groups.google.com/d/optout>.


-- 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
        <https://groups.google.com/group/django-users>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/django-users/C04E4BEF-E8FF-4EF0-936A-69F04E1DD061%40gmail.com
        
<https://groups.google.com/d/msgid/django-users/C04E4BEF-E8FF-4EF0-936A-69F04E1DD061%40gmail.com?utm_medium=email&utm_source=footer>.
        For more options, visit https://groups.google.com/d/optout
        <https://groups.google.com/d/optout>.



-- 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
    <https://groups.google.com/group/django-users>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/django-users/CAPkbFbbQ2ufECP6emgND2LD_fKKk%2BNHuF_KoyWP7c6EN-z3QZw%40mail.gmail.com
    
<https://groups.google.com/d/msgid/django-users/CAPkbFbbQ2ufECP6emgND2LD_fKKk%2BNHuF_KoyWP7c6EN-z3QZw%40mail.gmail.com?utm_medium=email&utm_source=footer>.


    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

-- 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
    <https://groups.google.com/group/django-users>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/django-users/34C036D9-E62B-4441-919B-D9CC2F53F784%40gmail.com
    
<https://groups.google.com/d/msgid/django-users/34C036D9-E62B-4441-919B-D9CC2F53F784%40gmail.com?utm_medium=email&utm_source=footer>.


    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

--
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/CAPkbFbbjYhT0joH%2BFxQNuxzaggU9m%3DNN7meTyvC2t7dbMrVLGA%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAPkbFbbjYhT0joH%2BFxQNuxzaggU9m%3DNN7meTyvC2t7dbMrVLGA%40mail.gmail.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/9b35877e-2be5-189c-782f-cad17985bf89%40btinternet.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to