mattloper / chumpy

MIT License
198 stars 121 forks source link

Installation broken for environment that do not have scipy #13

Closed raffienficiaud closed 6 years ago

raffienficiaud commented 7 years ago

The installation should install all the necessary packages that are listed in the requirements. However, the setup.py has this line now:

version=importlib.import_module('chumpy').__version__

which makes an import of the file chumpy/__init__.py, which in turn executes:

from ch import *

For the installation to work, all the packages required by Chumpy should then be installed prior to the installation of chumpy, which is, I believe, a problem.