wrf-python installation error (Mac OSX, M1)

546 views
Skip to first unread message

Fadzil Mnor

unread,
Aug 17, 2021, 9:56:38 AM8/17/21
to wrfpython-talk

Hi

I don’t know if it’s just my computer, but I tried installing wrf-python in Anaconda but unsuccessfully.
I used Spyder in the Anaconda, and tried all four:

conda install -c conda-forge wrf-python 
conda install -c conda-forge/label/gcc7 wrf-python
conda install -c conda-forge/label/cf201901 wrf-python 
conda install -c conda-forge/label/cf202003 wrf-python

Some of them looked successful, but when I tried ‘import wrf’, 
I got this error:‘ModuleNotFoundError: No module named 'wrf’’.

I’m using Mac mini, Apple M1 chip, Big Sur.
Is it the M1 chip problem? 

Cheers.

Michaela Sizemore

unread,
Aug 17, 2021, 10:56:38 AM8/17/21
to wrfpython-talk, fadzil...@gmail.com
Hi,
Currently, WRF-Python has not been tested/released for M1 chips, so that is why you are having issues with installation. We hope to be able to release a compatible version in the future, and have just recently been given access to an M1 Mac for testing purposes, but we do not have a firm date by which compatibility will occur. This question also came up on our GitHub for WRF-Python, so you may be able to find a work around using the resources provided there: https://github.com/NCAR/wrf-python/issues/148

Sorry we do not have a solid fix for you at the moment!

Reply all
Reply to author
Forward
0 new messages