Форум сайта python.su
Плз Нужна помощь. При создании проекта(а так же и в старых) выдает ошибку:“Error creating Django application: could not find Django installation under C:\Python34\python.exe” хотя в настройках проекта django установлен и pip и setuptools. Djnago не могу переустановить из pip т.к. выдает ошибку кодировки utf-8. <code>Collecting Django Using cached Django-1.10.1-py2.py3-none-any.whl Installing collected packages: Django Found existing installation: Django 1.10
You are using pip version 7.1.0, however version 8.1.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.<br> Exception: Traceback (most recent call last): File "C:\Python34\lib\site-packages\pip-7.1.0-py3.4.egg\pip\basecommand.py", <br>line 223, in main<br> status = self.run(options, args) File "C:\Python34\lib\site-packages\pip-7.1.0-py3.4.egg\pip\commands\install.py",<br> line 299, in run<br> root=options.root_path, File "C:\Python34\lib\site-packages\pip-7.1.0-py3.4.egg\pip\req\req_set.py",<br> line 640, in install<br> requirement.uninstall(auto_confirm=True) File "C:\Python34\lib\site-packages\pip-7.1.0-py3.4.egg\pip\req\req_install.py", <br>line 683, in uninstall<br> for path in pip.wheel.uninstallation_paths(dist):<br> File "C:\Python34\lib\site-packages\pip-7.1.0-py3.4.egg\pip\wheel.py", line 512, in unique<br> for item in fn(args, *kw): File "C:\Python34\lib\site-packages\pip-7.1.0-py3.4.egg\pip\wheel.py", line 531, in uninstallation_paths<br> r = csv.reader(FakeFile(dist.get_metadata_lines('RECORD'))) File "C:\Python34\lib\site-packages\pip-7.1.0-<br>py3.4.egg\pip_vendor\pkg_resources__init.py",<br> line 1619, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "C:\Python34\lib\site-packages\pip-7.1.0-<br>py3.4.egg\pip_vendor\pkg_resources__init.py", <br>line 1616, in get_metadata return self._get(self._fn(self.egg_info, name)).decode("utf-8")<br> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 339442: <br>invalid continuation byte
Офлайн