2
Good night, you guys! I am with Ubuntu 16.04, trying to get back to Django, ms when I try to start a project of that error here:
raceback (Most recent call last):
File "/home/alekys/Envs/test3/bin/Django-admin", line 11, in<module>
sys.Exit(execute_from_command_line())
File "/home/alekys/Envs/test3/local/lib/python2.7/site-Packages/Django/core/management/init.py", line 353, in execute_from_command_line Utility.()
File "/home/alekys/Envs/test3/local/lib/python2.7/site-Packages/Django/core/management/init.py", line 345, in execute self.fetch_command(subcommand). run_from_argv(self.argv)
File "/home/alekys/Envs/test3/local/lib/python2.7/site-Packages/Django/core/management/base.py", line 348, in run_from_argv self.execute(args, cmd_options)
File "/home/alekys/Envs/test3/local/lib/python2.7/site-Packages/Django/core/management/base.py", line 399, in execute output = self.Handle(args, options)
File "/home/alekys/Envs/test3/local/lib/python2.7/site-Packages/Django/core/management/Commands/startproject.py", line 33, in Handle super(Command, self). Handle('project', project_name, target, options)
File "/home/alekys/Envs/test3/local/lib/python2.7/site-Packages/Django/core/management/templates.py", line 162, in Handle if new_path.endswith(Extensions) or filename in extra_files: Unicodedecodeerror: 'ascii' codec can’t Decode byte 0xc3 in position 32: ordinal not in range(128)
using virtualenv, I downloaded Django 1.9.7 anyone who can help me? I’ve tried several things I’ve found on the net, until I remove and install python 2.7 again thank you in advance!
this is PATH: /home/alekys/Envs/Test1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/bin:/usr/games:/usr/local/games:/snap/bin created a virtualenv environment, using virtualenvper export WORKON_HOME=~/Envs source /usr/local/bin/virtualenvwrapper.sh
– Alekys
when I say path, it is not your PATH environment variable. But rather the path you are trying to create the new project. Which way are you trying to create the project? And what name are you giving the project?
– Rubico
/home/alekys/Documents/Programming/Django project name is test must be the Programming folder, I will test in another folder. vlw guy!
– Alekys
that’s probably it. I hope you’ve solved
– Rubico