K
K
Kirill Terentiev2015-09-24 10:53:10
Python
Kirill Terentiev, 2015-09-24 10:53:10

How to properly install PyCharm?

Help deal with this problem.

Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000000000432E730>
Traceback (most recent call last):
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\management\commands\runserver.py", line 139, in inner_run
    ipv6=self.use_ipv6, threading=threading)
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\servers\basehttp.py", line 191, in run
    httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\servers\basehttp.py", line 76, in __init__
    super(WSGIServer, self).__init__(*args, **kwargs)
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\socketserver.py", line 443, in __init__
    self.server_bind()
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\servers\basehttp.py", line 80, in server_bind
    super(WSGIServer, self).server_bind()
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\wsgiref\simple_server.py", line 50, in server_bind
    HTTPServer.server_bind(self)
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\http\server.py", line 140, in server_bind
    self.server_name = socket.getfqdn(host)
  File "C:\Users\Кирилл\AppData\Local\Programs\Python\Python35\lib\socket.py", line 658, in getfqdn
    hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc1 in position 0: invalid start byte

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeniy _, 2015-09-24
@podar1mne

I suppose that some Cyril in the path interferes with you)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc1 in position 0: invalid start byte
C:\Users\Kirill\AppData\Local\Programs\Python\Python35\lib\ socket.py

A
Artem, 2015-09-24
@ulkoart

I suppose that it would be more correct to use not win wasps.

B
blazer05, 2015-10-01
@blazer05

I suppose at the beginning of each Python file, where Cyrillic will be written, you need to put this
# -*- coding: utf-8 -*-

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question