I use chemview on several machines within several virtual environments. Consequently, I have to install chemview and its dependencies frequently. Being a non-Anaconda user, I've found it is a pain to get chemview installed each time for several reasons:
The setup.py does not attempt to install the dependencies or warn about missing dependencies. Rather, you find out that dependencies are missing upon runtime.
Numba, which depends on llvmlite, which depends on llvm 3.5 being installed in the correct location (which is not the case for Ubuntu), and lib-edit-dev (not installed by default).
A given version of Numba will only work with a small specific set of llvmlite versions.
I suggest making the usage of Numba optional, i.e. something like this:
try:
import numba as nb
except ImportError:
print("WARNING: Not using Numba JIT compiler, marching cubes algorithm significantly slower", file=sys.stderr)
This may reduce the activation barrier for new users who are not using Anaconda and want to try chemview.
I use chemview on several machines within several virtual environments. Consequently, I have to install chemview and its dependencies frequently. Being a non-Anaconda user, I've found it is a pain to get chemview installed each time for several reasons:
I suggest making the usage of Numba optional, i.e. something like this:
This may reduce the activation barrier for new users who are not using Anaconda and want to try chemview.