uhjish / entropy-calculator

Automatically exported from code.google.com/p/entropy-calculator
0 stars 0 forks source link

Not Working with Windows and Cygwin Python #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have Python v2.7.3 on Windows and Python v2.6.5 on Cygwin (a BASH shell in 
Windows). Both of them throw the error "ImportError: cannot import name lgamma" 
when am trying to run the main program.

It could very well be my setup and being a Python newbie, I have to figure it 
out but any help would be appreciated.

Full IO -
$ python.exe Entropy.py paper.txt out.csv
Traceback (most recent call last):
  File "Entropy.py", line 3, in <module>
    import EntropyCalculator
  File "/cygdrive/e/Coding-Sample-Home-Projects/SIT-Entropy-Distribution-Python/EntropyCalculator.py", line 3, in <module>
    from math import log,exp,lgamma
ImportError: cannot import name lgamma

Original issue reported on code.google.com by sriks6...@gmail.com on 22 Oct 2013 at 11:52