Closed leonwanghui closed 3 years ago
This looks like a version mismatch problem. The in-docker Jina version & out-docker (aka host machine) Jina version are inconsistent. Try the following steps:
pip install -U jina[hub]
If no browser then you can't see the result, but HTML is generated anyway, you can copy-paste the HTML to local and check that.
maybe let me freeze the version
@hanxiao Sure, plz let me know if it's done, thx!
Also there is a tiny error in both helloworld.flow.index.yml
and helloworld.flow.query.yml
file that the docker image version should be updated to 0.0.2
.
@hanxiao Hi, it seems that the demo just work fine on the Linux server. I uninstalled all packages and re-install them through the instruction, the teminal shows that the static hello-world.html
page has been generated, and I can open the static website after copying them to my laptop.
Thanks for your kindly help, will close this issue : )
Hi Dr.Xiao, recently I'm trying to deploy the mindspore-jina-example demo on my Linux server, but it seems that some errors just occurred unexpectedly.
Firstly it seems that the Jina
hello-world
couldn't launch successfully on the Linux server with some errors of no browser support. So I'm wondering if the demo can only be installed on Linux with GUI support.Then when I tried to install the demo with the instruction, some errors occurred when I run
jina hello-world --uses-index helloworld.flow.index.yml --uses-query helloworld.flow.query.yml
command:Could u offer some suggestions to resolve the errors? Thanks!