我正在遵循https://fenics.readthedocs.io/projects/containers/en/latest/introduction.html的指示。
我得到:
fenics@af86d2c8af46:~$ cd ~/demo/python/documented/poisson
fenics@af86d2c8af46:~/demo/python/documented/poisson$ python3 demo_poisson.py
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Solving linear variational problem.
To view figure, visit http://0.0.0.0:8000
Press Ctrl+C to stop WebAgg server
但我无法打开 http://0.0.0.0:8000(我尝试过 chrome、safari 和 firefox)。我也尝试过替换 0.0.0.0。使用我的 IP 地址或本地主机,但问题仍然存在。
编辑:我不确定这是否起作用,但如果我尝试http://0.0.0.0:8000或 localhost:8000,我会立即收到错误,但是当我用我的 IP 地址替换 0.0.0.0 时,我知道“brosing 花了太长时间”。