I study Django too and my first lesson was be here
https://tutorial.djangogirls.org/en/
use virtualenv

С уважением, Владислав Котвицкий
г.Краснодар, +7(988)4112077

2017-03-29 12:28 GMT+03:00 Paul Rusu-Tibreanu <[email protected]>:

> Hi to all,
>
> I am trying to get started with Django. So  installing Django through pip
> and following the tutorial on the project's website, I first created a
> "mysite" project and now try to run "
>
> python manage.py runserver". However, this gives me following error:
>
> C:\mysite>python manage.py runserver
> Traceback (most recent call last):
>   File "manage.py", line 22, in <module>
>     execute_from_command_line(sys.argv)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\core\management\__init__.py",
>  line 367, in execute_from_command_line
>     utility.execute()
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\core\management\__init__.py",
>  line 359, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\core\management\base.py", 
> line 294, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\core\management\commands\runserver.py",
>  line 58, in execute
>     super(Command, self).execute(*args, **options)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\core\management\base.py", 
> line 345, in execute
>     output = self.handle(*args, **options)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\core\management\commands\runserver.py",
>  line 97, in handle
>     self.run(**options)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\core\management\commands\runserver.py",
>  line 106, in run
>     autoreload.main(self.inner_run, None, options)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\utils\autoreload.py", line 
> 333, in main
>     reloader(wrapped_main_func, args, kwargs)
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\utils\autoreload.py", line 
> 304, in python_reloader
>     exit_code = restart_with_reloader()
>   File 
> "C:\Users\User\Anaconda3\lib\site-packages\django\utils\autoreload.py", line 
> 290, in restart_with_reloader
>     exit_code = os.spawnve(os.P_WAIT, sys.executable, args, new_environ)
> UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: 
> invalid character
>
>
> Does anyone know th ereason for this error and how to fix it?
>
> Thanks a lot.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/2269a709-c132-4935-85cb-6a59e2907a9d%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/2269a709-c132-4935-85cb-6a59e2907a9d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit 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 [email protected].
To post to this group, send email to [email protected].
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/CAGVCDGQJaPznhoicQBZbNXs0GGYfF3HH8xWyMugr52z1fAethw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to