nerfvis icon indicating copy to clipboard operation
nerfvis copied to clipboard

example error

Open Yes-Jumby opened this issue 3 years ago • 1 comments

import nerfvis scene = nerfvis.Scene("My title") scene.add_cube("Cube1", color=[1.0, 0.0, 0.0], translation=[-1.0, -1.0, 0.0]) scene.display(url='10.255.26.23',port=8020)

【jupyter can accessed it,but nerfvis cannot access it:(】 then there is error: Serving localhost:8020

Exception happened during processing of request from ('172.24.142.99', 64624) Traceback (most recent call last): File "/opt/conda/envs/py36/lib/python3.6/socketserver.py", line 320, in _handle_request_noblock self.process_request(request, client_address) File "/opt/conda/envs/py36/lib/python3.6/socketserver.py", line 351, in process_request self.finish_request(request, client_address) File "/opt/conda/envs/py36/lib/python3.6/socketserver.py", line 364, in finish_request self.RequestHandlerClass(request, client_address, self) File "/opt/conda/envs/py36/lib/python3.6/site-packages/nerfvis/scene.py", line 840, in init super().init(*args, directory=dirname, **kwargs) TypeError: init() got an unexpected keyword argument 'directory'

please show me how to solve it

Yes-Jumby avatar Dec 08 '21 05:12 Yes-Jumby

same error

yyyue502 avatar May 26 '22 11:05 yyyue502

Hello, I meet the same question and find that you can solve this by updating your python version from 3.6 to 3.8. But I don't know if this is the only way to solve this problem.

ZMY666777 avatar Dec 03 '22 14:12 ZMY666777