Giter Club home page Giter Club logo

Comments (5)

ntoll avatar ntoll commented on September 10, 2024

Hi @fabitencourt,

I'm so sorry you've been having so many problems.

I actually use Ubuntu 16.04 64 bit, and this method works perfectly for me. I suspect there may be something local to your setup that could be causing this. However, the output you've helpfully pasted appears to truncate the error messages that you get so I have no way of telling what the problem might be.

If you paste the FULL transcripts of the output, including all the error messages, I'll happily take a look.

Best wishes,

N.

from pythoneditor.

fabitencourt avatar fabitencourt commented on September 10, 2024

Here is the entire message on my last try:
$ pip3 install mu_editor
Collecting mu_editor
Using cached mu_editor-1.0.0b13-py3-none-any.whl
Requirement already satisfied: qtconsole==4.3.1 in /usr/local/lib/python3.5/dist-packages (from mu_editor)
Collecting pyserial==3.4 (from mu_editor)
Using cached pyserial-3.4-py2.py3-none-any.whl
Collecting pyqt5==5.9 (from mu_editor)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e1a90>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom',)': /packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e11d0>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom',)': /packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e1d30>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom',)': /packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e14e0>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom',)': /packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e1d68>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom',)': /packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl
Exception:
Traceback (most recent call last):
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 142, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/util/connection.py", line 75, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Échec temporaire dans la résolution du nom

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 352, in _make_request
self._validate_conn(conn)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 831, in _validate_conn
conn.connect()
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 254, in connect
conn = self._new_conn()
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 151, in _new_conn
self, "Failed to establish a new connection: %s" % e)
pip._vendor.requests.packages.urllib3.exceptions.NewConnectionError: <pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e1748>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/adapters.py", line 423, in send
timeout=timeout
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 668, in urlopen
release_conn=release_conn, **response_kw)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 668, in urlopen
release_conn=release_conn, **response_kw)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 668, in urlopen
release_conn=release_conn, **response_kw)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 668, in urlopen
release_conn=release_conn, **response_kw)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 668, in urlopen
release_conn=release_conn, **response_kw)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 640, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/packages/urllib3/util/retry.py", line 287, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
pip._vendor.requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (Caused by NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e1748>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/fabio/.local/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/commands/install.py", line 335, in run
wb.build(autobuilding=True)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/home/fabio/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/download.py", line 821, in unpack_url
hashes=hashes
File "/home/fabio/.local/lib/python3.5/site-packages/pip/download.py", line 659, in unpack_http_url
hashes)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/download.py", line 853, in _download_http_url
stream=True,
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/sessions.py", line 488, in get
return self.request('GET', url, **kwargs)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/home/fabio/.local/lib/python3.5/site-packages/pip/_vendor/requests/adapters.py", line 487, in send
raise ConnectionError(e, request=request)
pip._vendor.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /packages/45/63/353403622330d335631ec3a3016f9e0a6a9519082488b1421003682f8ef4/PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (Caused by NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4221e1748>: Failed to establish a new connection: [Errno -3] Échec temporaire dans la résolution du nom',))

from pythoneditor.

ntoll avatar ntoll commented on September 10, 2024

Hi @fabitencourt... the problem is "Échec temporaire dans la résolution du nom" (Temporary failure in name resolution). This is probably down to two possible reasons:

  1. Your DNS provider is having problems (contact your ISP)
  2. You've edited your /etc/resolv.conf file and it's misconfigured.

Either way, it's a problem with the way your DNS is working (or not) due to the two possible reasons described above. Sorry I can't be of more help, but this is something wrong with your network rather than pip, Mu or Python.

Also, problems with Mu should be submitted to the Mu repository (https://github.com/mu-editor/mu) rather than this one (which is for the browser based editor).

Best of luck and thank you for taking the time to report the problem..!

from pythoneditor.

fabitencourt avatar fabitencourt commented on September 10, 2024

I think I have some problems with my internet, but it was never a difficulty to download things. Sometimes it takes longer but it always work. pip seems to be more fragile on this point and it doesn't keep what was already downloaded. Thanks for your help anyway.

from pythoneditor.

microbit-carlos avatar microbit-carlos commented on September 10, 2024

Glad to hear it was an intermittent issue @fabitencourt and thanks for the report.
I'll close this issue as the original problem was with the internet connection when pip installing mu-editor.

from pythoneditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.