WISDEM / CCBlade

A blade element momentum method for analyzing wind turbine aerodynamic performance that is robust (guaranteed convergence), fast (superlinear convergence rate), and smooth (continuously differentiable).
Other
43 stars 39 forks source link

Installation and unit test fails... #4

Closed SaschaErbsloeh closed 7 years ago

SaschaErbsloeh commented 7 years ago

Hi,

am trying to install ccblade on my Mac. I have installed Python 3.5.2 using Anaconda with which I downloaded your mentioned prerequisites. During installation the notable error message is:

warning: no directories found matching 'docs/_build/html'

For the test I also receive an error:

Saschas-MBP:WISDEM-CCBlade-f5b6d83 s.d.e$ python test/test_ccblade.py Traceback (most recent call last): File "test/test_ccblade.py", line 20, in from ccblade import CCAirfoil, CCBlade File "//anaconda/lib/python3.5/site-packages/CCBlade-1.1.1-py3.5-macosx-10.6-x86_64.egg/ccblade.py", line 1081 print CP, CT, CQ ^ SyntaxError: Missing parentheses in call to 'print'

I have made no alteration to the code in any way. Any help would be much appreciated.

Sascha

andrewning commented 7 years ago

This was written for Python 2. In the case of the print statement the Python 3 syntax is: print(CP, CT, CQ). You may have to make other changes if you wish to use Python 3.