Problem creating the environment with django

0

I'm trying to create a project in virtualized environment with the virtualwrapper tool, in this environment I installed django but when trying to create a project with the command django-admin startproject meu-projeto it does not create the default files that are (but creates the empty folder):

Andyouhaveanerrorwhilerunningthecreationcommand(alreadyquoted):

  

ifnew_path.endswith(extensions)orfilenameinextra_files:  UnicodeDecodeError:'ascii'codeccannotdecodebyte0xc3inposition  13:ordinalnotinrange(128)

Ifound this article but I do not think so if it applies in this case (because I circled the commands and the creation of the default files did not occur), does anyone know how to proceed to solve?

    
asked by anonymous 07.12.2016 / 19:14

1 answer

1

I found this answer that seems to have a lot to do with what you're doing, because in the answers I saw that you're using python3

link

Are you using pip3 to install the packages?

In time, you are trying to create a project with a hyphen. I tried to do the same using python-2.7 and django 1.10 and get the following message:

$ django-admin startproject teste-com-hifem
CommandError: 'teste-com-hifem' is not a valid project name. Please use only numbers, letters and underscores.

Hugs and good fonts!

    
08.12.2016 / 22:34