Open goodpunk6 opened 3 years ago
ta-lib issue:
I read some posts (some in Japanese) that state they had to use Python 3.8 buster. I tried Python 3.8.8-buster in the docker file, but no luck. I also added:
&& \ echo "include /usr/local/lib" >> /etc/ld.so.conf && \ ldconfig
after make install when building ta-lib. As this was also suggested. Neither worked.
Other posts talk about downgrading numpy to 1.16, I tried that just to see and that did not work either.
found this: https://github.com/mrjbq7/ta-lib/issues/378
Upgrading numpy to 1.20.0 works though now tensorflow is not supported (required 1.19.2 of numpy)
I am getting this error when running: "tradekit-main fathalla$ docker exec -it timescaledb bash"
Error: No such container: timescaledb
@fathalla78 Is the container running?
You can list running containers with:
docker ps
If you do not see it in the list, then it is not running and therefore you cannot connect.
You can then list all containers with:
docker ps -al
If it is not listed there, then the container did not get created.
thanks for helping me doc.
I can see the timescaledb after executing the docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9b0f6d24a1e8 tradekit-main_web "uvicorn web.main:ap…" 6 hours ago Up 6 hours 0.0.0.0:8000->80/tcp tradekit-main_web_1 8501b47bc312 timescale/timescaledb:latest-pg12 "docker-entrypoint.s…" 6 hours ago Up 6 hours 0.0.0.0:5432->5432/tcp timescale dc4e68714ce8 docker101tutorial "/docker-entrypoint.…" 6 hours ago Up 6 hours 0.0.0.0:80->80/tcp docker-tutorial
but there is no timesacledb in docker ps -al.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9b0f6d24a1e8 tradekit-main_web "uvicorn web.main:ap…" 6 hours ago Up 6 hours 0.0.0.0:8000->80/tcp tradekit-main_web_1
--Ive executed "docker-compose up" from tradekit folder shouldn't be created? how to create this container ? what I am missing here?
@fathalla78 Is the container running?
You can list running containers with:
docker ps
If you do not see it in the list, then it is not running and therefore you cannot connect.
You can then list all containers with:
docker ps -al
If it is not listed there, then the container did not get created.
I think the name of your timescaledb container is 'timescale'
try
docker exec -it timescale bash
I think the name of your timescaledb container is 'timescale'
try
docker exec -it timescale bash
Thanks Doc it worked thank you very much 😍
Great. Yes, though I have not. Here is the documentation from docker: https://docs.docker.com/engine/reference/commandline/rename/
Would want to also change the container name in docker-compose.yml file.
The process gets to this point and stops. What's up? I noticed the web server is running. The demo video link has an error page that's looking for json stuff.
Also,
And it installed an older version, you have 2.0 in your video -