duckietown / duckietown-shell-commands

Commands for the Duckietown Shell
4 stars 4 forks source link

dts code editor fails #376

Closed jtorres52 closed 1 year ago

jtorres52 commented 1 year ago

When executing dts code editor I get an error, apparently from python. I have the latest version of pip installed.

...

15 [base 6/8] RUN python3 -m pip install -r /tmp/dependencies-py3.txt

15 2.436 Looking in indexes: https://pypi.org/simple/

15 27.02 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9f06a010d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/aido-protocols-daffy/

...

15 157.4 ERROR: Could not find a version that satisfies the requirement aido-protocols-daffy (from versions: none)

15 157.4 ERROR: No matching distribution found for aido-protocols-daffy

15 182.0 WARNING: There was an error checking the latest version of pip.


Dockerfile.vscode:44

42 | ENV PIP_INDEX_URL=${PIP_INDEX_URL} 43 | COPY --from=recipe ./dependencies-py3.* "/tmp/" 44 | >>> RUN python3 -m pip install -r /tmp/dependencies-py3.txt 45 |
46 | # store module metadata

ERROR: failed to solve: process "/bin/bash -c python3 -m pip install -r /tmp/dependencies-py3.txt" did not complete successfully: exit code: 1

jtorres52 commented 1 year ago

It was a DNS problem. As long as I noticed, it affected only docker.