Closed danieljfarrell closed 5 years ago
The problem seemed to be related to not following the correct installation instructions from source as shown in the README,
git clone https://github.com/rdeits/meshcat-python
cd meshcat-python
git submodule update --init --recursive
python setup.py install
I also needed to downgrading tornado from 6.0 to 5.1.1,
pip install tornado==5.1.1
This works well with an environment created with,
pyenv virtualenv 3.7.2 meshcat_env
pyenv activate meshcat_env
I think the issue you ran into is essentially https://github.com/pypa/pip/issues/2705 . meshcat-python
has a submodule containing the javascript assets, but pip install -e
doesn't initialize that submodule.
I'm having some trouble setting up a development environment for meshcat. Can anyone see what I'm doing wrong?
I've created an environment using,
The line
pip install -e meshcat-python
installs meshcat into that environment using the cloned github repository directory.Running the
src/meshcat/examples/box.py
opens a browser tab but the page is entirely blank and results in the warning,A similar problem occurs when with demo.ipynb, the opened window is blank (and so is the jupyter cell for the visualiser). The terminal reports the following warning,
Minus the packages installed by jupyter, meshcat dependancies are at version,