5G-Framework / volttron-tcc-docker-ecolong

Modified TCC docker for EcoLong
0 stars 0 forks source link

connection broken by 'ConnectTimeoutError #4

Closed aik7 closed 8 months ago

aik7 commented 9 months ago

docker-compose up smalloffice

Installing collected packages: mpmath, decorators, zipp, wheel, typing-extensions, transitions, tomli, sympy, pyzmq, packaging, numpy, mock, iniconfig, exceptiongroup, zmq, scipy, patsy, pandas, importlib-metadata, pluggy, pytest
  WARNING: The script wheel is installed in '/home/volttron/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script isympy is installed in '/home/volttron/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts f2py, f2py3 and f2py3.7 are installed in '/home/volttron/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts py.test and pytest are installed in '/home/volttron/.local/bin' which is not on PATH.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f12f94b8fd0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/wheel/
aik7 commented 9 months ago
aik7 commented 9 months ago

sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce docker-compose-plugin sudo rm -rf /var/lib/docker /etc/docker sudo rm /etc/apparmor.d/docker sudo groupdel docker sudo rm -rf /var/run/docker.sock

aik7 commented 9 months ago

sudo apt-get install -y docker-ce=5:20.10.5~3-0~ubuntu-focal Will install docker-ce-cli 24.xxx, so sudo apt-get install -y docker-ce-cli=5:20.10.5~3-0~ubuntu-focal and sh scripts/build.sh worked. sudo apt-get install -y docker-ce-rootless-extras=5:20.10.5~3-0~ubuntu-focal

aik7 commented 8 months ago

After I added "wheel==0.30 pyzmq==22.2.1 ws4py==0.5.1 PyJWT==1.7.1 Jinja2==3.0.1 passlib==1.7.4 argon2-cffi==20.1.0 Werkzeug==2.0.1" in pip install line of the Dockerfile, "docker-compose up smalloffice" is running now.