• Как установить библиотеку wx или wx phoenix для python 3.5 в ubuntu?

    @7hefa11 Автор вопроса
    ещё одна попытка через убунту может кто поможет?

    valerius@undead711:~$ python3
    Python 3.5.2 (default, Sep 10 2016, 08:21:44)
    [GCC 5.4.0 20160609] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 4*4
    16
    >>> exit()
    valerius@undead711:~$ sudo apt-get install python3-pip
    valerius@undead711:~$ sudo apt-get upgrade
    valerius@undead711:~$ pip3
    Usage:
    pip [options]
    Commands:
    install Install packages.
    ...
    valerius@undead711:~$ sudo pip3 install --upgrade --trusted-host wxpython.org --pre -f wxpython.org/Phoenix/snapshot-builds wxPython_Phoenix
    The directory '/home/valerius/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
    The directory '/home/valerius/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
    и на 21% выдает ещё
    такой кровавый текст:

    Exception:
    Traceback (most recent call last):
    File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/response.py", line 226, in _error_catcher
    yield
    File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/response.py", line 301, in read
    data = self._fp.read(amt)
    File "/usr/lib/python3.5/http/client.py", line 448, in read
    n = self.readinto(b)
    File "/usr/lib/python3.5/http/client.py", line 488, in readinto
    n = self.fp.readinto(b)
    File "/usr/lib/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
    File "/usr/lib/python3.5/ssl.py", line 929, in recv_into
    return self.read(nbytes, buffer)
    File "/usr/lib/python3.5/ssl.py", line 791, in read
    return self._sslobj.read(len, buffer)
    File "/usr/lib/python3.5/ssl.py", line 575, in read
    v = self._sslobj.read(len, buffer)
    socket.timeout: The read operation timed out

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
    File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 317, in run
    requirement_set.prepare_files(finder)
    File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
    File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 577, in _prepare_file
    session=self.session, hashes=hashes)
    File "/usr/lib/python3/dist-packages/pip/download.py", line 810, in unpack_url
    hashes=hashes
    File "/usr/lib/python3/dist-packages/pip/download.py", line 649, in unpack_http_url
    hashes)
    File "/usr/lib/python3/dist-packages/pip/download.py", line 871, in _download_http_url
    _download_url(resp, link, content_file, hashes)
    File "/usr/lib/python3/dist-packages/pip/download.py", line 597, in _download_url
    consume(downloaded_chunks)
    File "/usr/lib/python3/dist-packages/pip/utils/__init__.py", line 878, in consume
    deque(iterator, maxlen=0)
    File "/usr/lib/python3/dist-packages/pip/download.py", line 563, in written_chunks
    for chunk in chunks:
    File "/usr/lib/python3/dist-packages/pip/utils/ui.py", line 139, in iter
    for x in it:
    File "/usr/lib/python3/dist-packages/pip/download.py", line 552, in resp_read
    decode_content=False):
    File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/response.py", line 344, in stream
    data = self.read(amt=amt, decode_content=decode_content)
    File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/response.py", line 311, in read
    flush_decoder = True
    File "/usr/lib/python3.5/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
    File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/response.py", line 231, in _error_catcher
    raise ReadTimeoutError(self._pool, None, 'Read timed out.')
    pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='wxpython.org', port=443): Read timed out.
    Ответ написан
    Комментировать