Upgrade AppDaemon Docker-Compose

Is there something I’m missing with upgradeing appdaemon while using docker-compose

I’m using stuff like

docker-compose down
docker-compose pull
docker-compose up -d

every time I start appdaemon it’s still stuck on 4.0.3. I’ve tried using portainer and selecting rebuild with latest image and it still comes up with the old 4.0.3 vs the newer 4.0.5.

What am I missing? Not sure how to translate the instructions in documents for docker to docker-compose

Your method should work.
Can you show your docker-compose file?

  appdaemon:
    container_name: appdaemon
    image: acockburn/appdaemon:latest
    restart: unless-stopped
    ports:
      - 5050:5050
    volumes:
      - /srv/homeautomation/hass-config/appdaemon:/conf
      - /etc/localtime:/etc/localtime:ro
    depends_on:
      - homeassistant

With appdaemon setting as

appdaemon:
  latitude: !secret Homelatitude
  longitude: !secret Homelongitude
  elevation: !secret Homeelevation
  time_zone: !secret Hometimezone
  plugins:
    HASS:
      type: hass
      ha_url: "http://192.168.1.200:8123"
      token: !secret AppDaemonToken
      plugin_startup_conditions:
        event: {event_type: zwave.network_ready}
http:
  url: "http://192.168.1.200:5050"
  password: !secret ad_password
admin:
api:
logs:
  main_log:
    filename: /conf/logs/appdaemon.log
  access_log:
    filename: /conf/logs/access.log
  error_log:
    filename: /conf/logs/error.log
  diag_log:
    filename: /conf/logs/diag.log
  chore_log:
    name: chore_log
    filename: /conf/logs/chore.log
  fish:
    name: fishlog
    filename: /conf/logs/fish.log
  test:
    name: test
    filename: /conf/logs/test.log
  important:
    name: important
    filename: /conf/logs/important.log
  rooms:
    name: rooms
    filename: /conf/logs/rooms.log
  sound:
    name: sound
    filename: /conf/logs/sound.log
  security:
    name: security
    filename: /conf/logs/security.log
  energy:
    name: energy
    filename: /conf/logs/energy.log

That’s strange. did you try with acockburn/appdaemon:4.0.5 as well?

I just spent hours trying everything.

So acockburn/appdaemon:4.0.5 will load 4.0.5 ,but it crashes trying to install pandas on the wheel ,so I thought maybe it’s my requirments.txt file ,so I deleted that and i tried acockburn/appdaemon:latest again and it still loads only 4.0.3 ,but atleast pandas and numpy are running. I tried deleteing all images and pruning in every possible combination. I’m running docker-compose on ubuntu on a NUC 10 if that helps.

So strange I have no idea what is happening

Can you please show the requirements.txt file as well? Can you show the error when it crashes on pandas?

requirements txt looks like

pandas
influxdb
pylama

I also tried just pandas and pandas==1.0.5 for an earlier version

the error log is really really long 600+ lines so here is the error part


  copying pandas/core/arrays/sparse/accessor.py -> build/lib.linux-x86_64-3.8/pandas/core/arrays/sparse


  creating build/lib.linux-x86_64-3.8/pandas/io/formats/templates


  copying pandas/io/formats/templates/html.tpl -> build/lib.linux-x86_64-3.8/pandas/io/formats/templates


  UPDATING build/lib.linux-x86_64-3.8/pandas/_version.py


  set build/lib.linux-x86_64-3.8/pandas/_version.py to '1.1.1'


  running build_ext


  building 'pandas._libs.algos' extension


  creating build/temp.linux-x86_64-3.8


  creating build/temp.linux-x86_64-3.8/pandas


  creating build/temp.linux-x86_64-3.8/pandas/_libs


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/algos.c -o build/temp.linux-x86_64-3.8/pandas/_libs/algos.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/algos.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/algos.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.groupby' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/groupby.c -o build/temp.linux-x86_64-3.8/pandas/_libs/groupby.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/groupby.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/groupby.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.hashing' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/hashing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/hashing.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/hashing.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/hashing.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.hashtable' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/hashtable.c -o build/temp.linux-x86_64-3.8/pandas/_libs/hashtable.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/hashtable.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/hashtable.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.index' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/index.c -o build/temp.linux-x86_64-3.8/pandas/_libs/index.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/index.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/index.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.indexing' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/indexing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/indexing.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/indexing.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/indexing.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.internals' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/internals.c -o build/temp.linux-x86_64-3.8/pandas/_libs/internals.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/internals.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/internals.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.interval' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/interval.c -o build/temp.linux-x86_64-3.8/pandas/_libs/interval.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/interval.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/interval.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.join' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/join.c -o build/temp.linux-x86_64-3.8/pandas/_libs/join.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/join.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/join.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.lib' extension


  creating build/temp.linux-x86_64-3.8/pandas/_libs/src


  creating build/temp.linux-x86_64-3.8/pandas/_libs/src/parser


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs -I./pandas/_libs/tslibs -I./pandas/_libs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/lib.c -o build/temp.linux-x86_64-3.8/pandas/_libs/lib.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs -I./pandas/_libs/tslibs -I./pandas/_libs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/src/parser/tokenizer.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/lib.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/lib.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.missing' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/missing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/missing.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/missing.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/missing.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.parsers' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/parsers.c -o build/temp.linux-x86_64-3.8/pandas/_libs/parsers.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/src/parser/tokenizer.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/src/parser/io.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/io.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/parsers.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/io.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/parsers.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.reduction' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/reduction.c -o build/temp.linux-x86_64-3.8/pandas/_libs/reduction.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/reduction.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/reduction.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.ops' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/ops.c -o build/temp.linux-x86_64-3.8/pandas/_libs/ops.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/ops.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/ops.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.ops_dispatch' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/ops_dispatch.c -o build/temp.linux-x86_64-3.8/pandas/_libs/ops_dispatch.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/ops_dispatch.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/ops_dispatch.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.properties' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/properties.c -o build/temp.linux-x86_64-3.8/pandas/_libs/properties.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/properties.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/properties.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.reshape' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/reshape.c -o build/temp.linux-x86_64-3.8/pandas/_libs/reshape.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/reshape.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/reshape.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.sparse' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/sparse.c -o build/temp.linux-x86_64-3.8/pandas/_libs/sparse.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/sparse.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/sparse.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslib' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I./pandas/_libs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslib.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslib.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslib.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslib.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.base' extension


  creating build/temp.linux-x86_64-3.8/pandas/_libs/tslibs


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/base.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/base.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/base.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/base.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.ccalendar' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/ccalendar.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/ccalendar.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/ccalendar.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/ccalendar.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.dtypes' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/dtypes.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/dtypes.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/dtypes.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/dtypes.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.conversion' extension


  creating build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src


  creating build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/conversion.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/conversion.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/conversion.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/conversion.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.fields' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/fields.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/fields.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/fields.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/fields.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.nattype' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/nattype.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/nattype.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/nattype.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/nattype.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.np_datetime' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/np_datetime.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime_strings.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime_strings.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/np_datetime.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime_strings.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/np_datetime.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.offsets' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/offsets.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/offsets.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/offsets.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/offsets.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.parsing' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/parsing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/parsing.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -Ipandas/_libs/src/klib -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/src/parser/tokenizer.c -o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/parsing.o build/temp.linux-x86_64-3.8/pandas/_libs/src/parser/tokenizer.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/parsing.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.period' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/period.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/period.o -Werror


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/tslibs -I./pandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/period.o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/src/datetime/np_datetime.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/period.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.strptime' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/strptime.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/strptime.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/strptime.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/strptime.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.timedeltas' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/timedeltas.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timedeltas.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timedeltas.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/timedeltas.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.timestamps' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/timestamps.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timestamps.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timestamps.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/timestamps.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.timezones' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/timezones.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timezones.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/timezones.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/timezones.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.tzconversion' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/tzconversion.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/tzconversion.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/tzconversion.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/tzconversion.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.tslibs.vectorized' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs/tslibs -Ipandas/_libs/tslibs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/tslibs/vectorized.c -o build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/vectorized.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/tslibs/vectorized.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/tslibs/vectorized.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.testing' extension


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/testing.c -o build/temp.linux-x86_64-3.8/pandas/_libs/testing.o -Werror


  gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.8/pandas/_libs/testing.o -L/usr/local/lib -o build/lib.linux-x86_64-3.8/pandas/_libs/testing.cpython-38-x86_64-linux-gnu.so


  building 'pandas._libs.window.aggregations' extension


  creating build/temp.linux-x86_64-3.8/pandas/_libs/window


  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/window -I./pandas/_libs -I/tmp/pip-build-env-vpj5_mz3/overlay/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -c pandas/_libs/window/aggregations.cpp -o build/temp.linux-x86_64-3.8/pandas/_libs/window/aggregations.o -Werror


  gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory


  compilation terminated.


  error: command 'gcc' failed with exit status 1


  ----------------------------------------


  ERROR: Failed building wheel for pandas

so it works fine without the requiments ,but I have a lot of apps that use pandas and numpy. I could probably rewrite the numpy ones ,but the pandas ones are pretty essential to analyzing and graphing all my data.

Sorry it spit out another error after that


  ERROR: Failed building wheel for pandas


  Building wheel for numpy (PEP 517): still running...


  Building wheel for numpy (PEP 517): still running...


  Building wheel for numpy (PEP 517): finished with status 'done'


  Created wheel for numpy: filename=numpy-1.19.1-cp38-cp38-linux_x86_64.whl size=6661268 sha256=f12f1783ac1b3151291b8f5bf235672025c9c663601b81f849cdeb617a03b400


  Stored in directory: /root/.cache/pip/wheels/df/b2/64/111c431ca7f7d49afb42126b7351fe1a4894803d75026360de


  Building wheel for msgpack (setup.py): started


  Building wheel for msgpack (setup.py): finished with status 'done'


  Created wheel for msgpack: filename=msgpack-0.6.1-cp38-cp38-linux_x86_64.whl size=14580 sha256=7fdc6f9ca23cb37a9ab885f41a7b98ea047dc4e01d169a2b4923ba1541976d9f


  Stored in directory: /root/.cache/pip/wheels/56/2e/45/9ae160fc31c10e4b799d0ebc32ba82b32f1b057e0ebf28ea82


Successfully built numpy msgpack


Failed to build pandas


ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

Try with adding:

g++

to you requirements.txt file.

I will when I get home. BTW even on a NUC10 these wheels take like 20 minutes to load anyway to speed that up? Once again the odd thing is acockburn/appdaemon:latest loads just fine only with appdaemon 4.0.3.

here is the successful load working now except still 4.0.3.

Collecting pandas


  Downloading pandas-1.1.1.tar.gz (5.2 MB)


  Installing build dependencies: started


  Installing build dependencies: still running...


  Installing build dependencies: still running...


  Installing build dependencies: finished with status 'done'


  Getting requirements to build wheel: started


  Getting requirements to build wheel: still running...


  Getting requirements to build wheel: finished with status 'done'


    Preparing wheel metadata: started


    Preparing wheel metadata: finished with status 'done'


Collecting influxdb


  Downloading influxdb-5.3.0-py2.py3-none-any.whl (77 kB)


Collecting pylama


  Downloading pylama-7.7.1-py2.py3-none-any.whl (35 kB)


Collecting numpy>=1.15.4


  Downloading numpy-1.19.1.zip (7.3 MB)


  Installing build dependencies: started


  Installing build dependencies: finished with status 'done'


  Getting requirements to build wheel: started


  Getting requirements to build wheel: finished with status 'done'


    Preparing wheel metadata: started


    Preparing wheel metadata: finished with status 'done'


Requirement already satisfied, skipping upgrade: pytz>=2017.2 in /usr/local/lib/python3.8/site-packages (from pandas->-r /conf/requirements.txt (line 1)) (2019.3)


Requirement already satisfied, skipping upgrade: python-dateutil>=2.7.3 in /usr/local/lib/python3.8/site-packages (from pandas->-r /conf/requirements.txt (line 1)) (2.8.1)


Collecting msgpack==0.6.1


  Downloading msgpack-0.6.1.tar.gz (118 kB)


Requirement already satisfied, skipping upgrade: six>=1.10.0 in /usr/local/lib/python3.8/site-packages (from influxdb->-r /conf/requirements.txt (line 2)) (1.14.0)


Requirement already satisfied, skipping upgrade: requests>=2.17.0 in /usr/local/lib/python3.8/site-packages (from influxdb->-r /conf/requirements.txt (line 2)) (2.23.0)


Collecting pydocstyle>=2.0.0


  Downloading pydocstyle-5.1.1-py3-none-any.whl (35 kB)


llecting pyflakes>=1.5.0


  Downloading pyflakes-2.2.0-py2.py3-none-any.whl (66 kB)


Collecting mccabe>=0.5.2


  Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)


Collecting pycodestyle>=2.3.1


  Downloading pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB)


Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests>=2.17.0->influxdb->-r /conf/requirements.txt (line 2)) (2.9)


Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests>=2.17.0->influxdb->-r /conf/requirements.txt (line 2)) (2019.11.28)


Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests>=2.17.0->influxdb->-r /conf/requirements.txt (line 2)) (1.25.8)


Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests>=2.17.0->influxdb->-r /conf/requirements.txt (line 2)) (3.0.4)


llecting snowballstemmer


  Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB)


Building wheels for collected packages: pandas, numpy, msgpack


  Building wheel for pandas (PEP 517): started


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): still running...


  Building wheel for pandas (PEP 517): finished with status 'done'


  Created wheel for pandas: filename=pandas-1.1.1-cp38-cp38-linux_x86_64.whl size=43964402 sha256=eda8da8fd29080556aa59e8637bba96dea3cb255b649057f6c2f98bf3873119f


  Stored in directory: /root/.cache/pip/wheels/76/eb/34/f05e707dd6da05d95fd42fc4b37caafff0ab5f6e5bbfda7bfa


  Building wheel for numpy (PEP 517): started


  Building wheel for numpy (PEP 517): still running...


  Building wheel for numpy (PEP 517): still running...


  Building wheel for numpy (PEP 517): finished with status 'done'


  Created wheel for numpy: filename=numpy-1.19.1-cp38-cp38-linux_x86_64.whl size=18927859 sha256=0d327abbabc3791bcf8d1ae2b1443c88e035d610cd8b0f4632c8ea812d7a4b6c


  Stored in directory: /root/.cache/pip/wheels/df/b2/64/111c431ca7f7d49afb42126b7351fe1a4894803d75026360de


  Building wheel for msgpack (setup.py): started


  Building wheel for msgpack (setup.py): finished with status 'done'


  Created wheel for msgpack: filename=msgpack-0.6.1-cp38-cp38-linux_x86_64.whl size=339967 sha256=137b2bda4fb28caec80b72ace95a4affbf114ae7747216af82f9bbecf46906c7


  Stored in directory: /root/.cache/pip/wheels/56/2e/45/9ae160fc31c10e4b799d0ebc32ba82b32f1b057e0ebf28ea82


Successfully built pandas numpy msgpack


Installing collected packages: numpy, pandas, msgpack, influxdb, snowballstemmer, pydocstyle, pyflakes, mccabe, pycodestyle, pylama


Successfully installed influxdb-5.3.0 mccabe-0.6.1 msgpack-0.6.1 numpy-1.19.1 pandas-1.1.1 pycodestyle-2.6.0 pydocstyle-5.1.1 pyflakes-2.2.0 pylama-7.7.1 snowballstemmer-2.0.0


WARNING: You are using pip version 20.0.2; however, version 20.2.2 is available.


You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.

I have no clue, I’m not really an advanced programmer or a programmer at all :sweat_smile: been doing a lot of AppDaemon coding and just started an intense course on python now

Really don’t know why it doesn’t load the latest version. I never use latest, I always choose the version myself.

Back at this again. When I try to add g++ to my requirements txt I get

"ERROR: Invalid requirement: 'g++' (from line 1 of /conf/requirements.txt)
WARNING: You are using pip version 20.0.2; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command."

my requirements.txt looks like

g++
pandas
influxdb
pylama 

Did you try adding gcc as well?

I just want to tie this up by saying I finally solved the problem by learning docker and rebuilding the image using a Debian Buster base instead of alpine linx. There is much debate on the internet about which one is better for building python images ,but for adding things like numpy it would seem a debian base was a better choice. I was able to add numpy, pandas, scipy, and pytorch and it came out to like 3 gigs which is not bad at all on a NUC . Everything is working great. Here is the article that made me switch.

Hi, could you give some hints on how to rebuild appdaemon using a debian image?

I’m having the same problems trying to run pytorch in appdaemon. I’ve trained a model to predict energy consumption but can’t run it on appdaemon.