DTUWindEnergy / PyWake

Mirror of https://gitlab.windenergy.dtu.dk/TOPFARM/PyWake
MIT License
72 stars 26 forks source link

import Py_wake error #7

Closed Kaplan3458 closed 1 year ago

Kaplan3458 commented 1 year ago

import py_wake error : Hello sir, when I try to run your code in my computer I get "ModuleNotFoundError: No module named 'xarray.plot.plot'" I am sure about that ı have already ınstalled xarray. I tired everything to solve this problem but unfortunately I did not. Could you help me about this problem? Best regards. Research Assistant B. K.

madsmpedersen commented 1 year ago

Please use the issue tracker on https://gitlab.windenergy.dtu.dk/TOPFARM/PyWake/-/issues

xarray.plot.plot is defined here: https://github.com/pydata/xarray/blob/main/xarray/plot/__init__.py#L24 so I suspect that xarray is not installed in the environment you are using for pywake

Kaplan3458 commented 1 year ago

Dear sir, I tried to join GitLab but, ı saw this message. I thought you blocked my e-mail address. My username is bugra and my e-mail address is @.*** Thank you for helping. I will wait for your messages.

Best Regards. Bugra Kaplan

madsmpedersen @.***>, 14 Kas 2022 Pzt, 13:55 tarihinde şunu yazdı:

Please use the issue tracker on https://gitlab.windenergy.dtu.dk/TOPFARM/PyWake/-/issues

xarray.plot.plot is defined here: https://github.com/pydata/xarray/blob/main/xarray/plot/__init__.py#L24 so I suspect that xarray is not installed in the environment you are using for pywake

— Reply to this email directly, view it on GitHub https://github.com/DTUWindEnergy/PyWake/issues/7#issuecomment-1313475423, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4BXFDCN6RKGYNBJ7JDMPLLWIILC3ANCNFSM6AAAAAAR674SCQ . You are receiving this because you authored the thread.Message ID: @.***>

madsmpedersen commented 1 year ago

The problem was an update of the xarray structure. I have merged a fix