Menu

#1 Not Working with Windows and Cygwin Python

New
nobody
None
Medium
Defect
2013-10-22
2013-10-22
Anonymous
No

Originally created by: sriks6...@gmail.com

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB