leal26 / AeroPy

Python interface for XFOIL. The objective of this library is to be able to be able to call XFOIL from Python iteratively for any simulation in a total of 4 lines total.
MIT License
60 stars 31 forks source link

xfoil_module not found #12

Closed AzamBham closed 5 years ago

AzamBham commented 5 years ago

Hi Leal,

I recently installed aeropy to use with a problem I've been trying to solve, but I've run into a problem. Every time I try to call the xfoil_module, python states it doesn't exist, like so: >>> from aeropy.xfoil_module import find_coefficients Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'aeropy.xfoil_module'

I'm not sure if the problem is trivial and I'm missing something obvious, but I would really appreciate some help on the matter.

Thank you, Azam

AzamBham commented 5 years ago

Never mind, I figured out the problem

pedrosecchi67 commented 4 years ago

Hi @ABham2997! Having the same problem over here, haven't yet been able to find out how to solve it... would you mind sharing how you did it?

ckanaar commented 4 years ago

Hi @AzamBham

As I'm experiencing the same issue, I am curious as to how you solved this.

leal26 commented 4 years ago

@ckanaar this should be indicative that you didn't install the library properly. Did you follow the instructions on the project description and installed the library via 'pip install .'?

NasonZ commented 4 years ago

Same issue here, I first installed through anaconda with pip install. Then I uninstalled and re-installed following the project description but I'm still getting the same error. If anyone know's how to fix this, I'd appreciate the advice.

leal26 commented 4 years ago

@NasonZ This seems to be a problem not specific to Aeropy (see here), but from having anaconda or multiple Python versions on the same computer.

I just installed the library utilizing the vanilla version of Python 3.6 (as provided on the Python website) and I can import it. Perhaps you need to start from scratch (no Python libraries installed).