dpinney / omf

The Open Modeling Framework for smart grid cost-benefit analysis.
https://omf.coop
GNU General Public License v2.0
112 stars 60 forks source link

New requirement xlwt not in requirements.txt #287

Closed dpinney closed 9 years ago

dpinney commented 9 years ago

Steps to reproduce in the terminal:

PS C:\Users\dwp0\Dropbox\omf\omf> python web.py
Traceback (most recent call last):
  File "web.py", line 8, in <module>
    import models, feeder, milToGridlab
  File "C:\Users\dwp0\Dropbox\omf\omf\models\__init__.py", line 14, in <module>
    for name in __all__: exec('import ' + name)
  File "<string>", line 1, in <module>
  File "C:\Users\dwp0\Dropbox\omf\omf\models\solarFinancial.py", line 10, in <module>
    import xlwt
ImportError: No module named xlwt

Expected behavior: We'll need it in requirements.txt with the correct version so after an OMF install the error doesn't show up.

dpinney commented 9 years ago

xlwt failed to install from pip for me, but that's an issue with NRECA's network.

cshjin commented 9 years ago

I added xlwt>=0.7.5 in requirements.txt, and we can rebuild the source package after completing of other models.

dpinney commented 9 years ago

Thanks. Can you log an issue to rebuild later? We might forget...