zhoushaokun

Results 10 comments of zhoushaokun

同docker报错,后来找了一下原因,发现是因为dos和unix的shell格式问题,做一个[dos2unix的转化](https://www.linuxcool.com/dos2unix)就可以解决,具体的话,我也是刚学了一下docker和linux,感觉最好是改dockerfile文件,做一个转化,或者容器跑起来之后用bash进去,然后再修改 tdbloader start.sh fuseki fuseki-server 的 :set ff=unix,然后再执行./start.sh

> 同问题,用的win的docker,打算装个Ubuntu试一下。想看demo太难啦。 哈哈哈,我在虚拟机上ubuntu系统试了,貌似也不行,现在我貌似已经基本解决了。把dockerfile修改成下边: ``` FROM ubuntu:16.04 RUN sed -i 's#http://archive.ubuntu.com/#http://mirrors.tuna.tsinghua.edu.cn/#' /etc/apt/sources.list RUN apt-get update RUN apt-get install dos2unix RUN apt-get -y install vim RUN apt-get -y install python-software-properties RUN apt-get...

顺便将 start.sh 改了,然后也不会出现README.md中所说的问题, ``` rm -f ./jena/tdb/* /kbqa/jena/apache-jena-3.5.0/bin/tdbloader --loc="/kbqa/jena/tdb" "/kbqa/kg_demo_movie.nt" streamlit run /kbqa/streamlit_app.py --server.enableCORS=true & cd /kbqa/jena/apache-jena-fuseki-3.5.0 || return ./fuseki-server ``` 在[v1.3](https://hub.docker.com/r/isikies/kgdemo)已经修改

> > 顺便将 start.sh 改了,然后也不会出现README.md中所说的问题, > > ``` > > rm -f ./jena/tdb/* > > /kbqa/jena/apache-jena-3.5.0/bin/tdbloader --loc="/kbqa/jena/tdb" "/kbqa/kg_demo_movie.nt" > > streamlit run /kbqa/streamlit_app.py --server.enableCORS=true & > > cd /kbqa/jena/apache-jena-fuseki-3.5.0 ||...

> > > > 顺便将 start.sh 改了,然后也不会出现README.md中所说的问题, > > > > ``` > > > > rm -f ./jena/tdb/* > > > > /kbqa/jena/apache-jena-3.5.0/bin/tdbloader --loc="/kbqa/jena/tdb" "/kbqa/kg_demo_movie.nt" > > > >...

> > > 同问题,用的win的docker,打算装个Ubuntu试一下。想看demo太难啦。 > > > > > > 哈哈哈,我在虚拟机上ubuntu系统试了,貌似也不行,现在我貌似已经基本解决了。把dockerfile修改成下边: > > ``` > > FROM ubuntu:16.04 > > > > RUN sed -i 's#http://archive.ubuntu.com/#http://mirrors.tuna.tsinghua.edu.cn/#' /etc/apt/sources.list > > RUN...

> > > > ![image](https://user-images.githubusercontent.com/68625084/159838348-cbac9241-17d4-4493-8fec-514ef79bd674.png) 执行一下 apt update

Same problem, hope it wil be fixed. Post my Testcase Gist URL if nessary: https://gist.github.com/zhoushaokun/c8750830e323834ef42ee12b43c5c570

linux下应该可以安装成功,docker下搞个python3.6镜像 docker run -itd -v :/app 然后pip可以安装成功

> @lockiechen I'm using the following: > > ```js > // mac os > let updateOptions = {}; > updateOptions.serverType = 'json'; > updateOptions.url = updateFeed; // .json url >...