Open bergwerf opened 7 years ago
Hi @hermanbergwerf - thanks for your interest, and sorry for the difficulties in getting nbmolviz installed! I believe the specific issue you're seeing comes from a circular import that's getting fixed in #28.
As a note of caution, though - this code is in the middle of a pretty big overhaul (see #19), which involves some weird interdependencies between our python and javascript libraries. Unfortunately, while this is happening, it will actually be pretty difficult to set up an nbmolviz
dev environment.
If you're specifically interested in playing around with the nbmolviz
code right now, I'd highly recommend branching from the last stable release - that's commit 57733c30cfc291679aede788938fb294dc007272.
If you're more interested in the underlying javascript libraries, those are probably a little more stable - they're at https://github.com/Autodesk/molecule-3d-for-react and https://github.com/Autodesk/molecule-2d-for-react
When installing via pip, there is an error saying that it cannot import
utils
, e.g.from nbmolviz import utils
. When I install from source, I get this error:I have a slightly messed up environment with previous attempts using conda to install
chemview
andnglview
. But AFAIK there is nothing that could affect this. I'm running Ubuntu 16.04