wrf-python importing issues
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu với đường dẫn import được báo cáo trong wrf/init.py, wrf/api.py và wrf/config.py, sau đó kiểm tra lỗi tải _wrffortran.cpython-38-darwin.so trong môi trường Anaconda. Tái hiện from wrf import getvar và xác định điều kiện môi trường hoặc tương thích nào ngăn import hoàn tất; được xem là hoàn thành khi import ví dụ thành công mà không gặp lỗi symbol đã báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I am new to python and wrf-python
I have installed wrf-python with Conda forge and I can see wrk-python in Conda list
then I am trying to practice with wrf-python example scripts and in the begging when I try to import (from wrf import getvar,ALL_TIMES) I am getting this error
ImportError Traceback (most recent call last)
<ipython-input-7-e3eca81516d1> in <module>
2
3 from netCDF4 import Dataset
----> 4 from wrf import getvar#,ALL_TIMES
~/opt/anaconda3/lib/python3.8/site-packages/wrf/__init__.py in <module>
4
5 try:
----> 6 from . import api
7 from .api import *
8 except ImportError:
~/opt/anaconda3/lib/python3.8/site-packages/wrf/api.py in <module>
----> 1 from .config import (xarray_enabled, disable_xarray, enable_xarray,
2 cartopy_enabled, disable_cartopy, enable_cartopy,
3 basemap_enabled, disable_basemap, enable_basemap,
4 pyngl_enabled, enable_pyngl, disable_pyngl,
5 set_cache_size, get_cache_size, omp_enabled)
~/opt/anaconda3/lib/python3.8/site-packages/wrf/config.py in <module>
4 import wrapt
5
----> 6 from ._wrffortran import (fomp_enabled, fomp_set_num_threads,
7 fomp_set_schedule, fomp_set_dynamic,
8 omp_constants)
ImportError: dlopen(/Users/jeevan/opt/anaconda3/lib/python3.8/site-packages/wrf/_wrffortran.cpython-38-darwin.so, 2): Symbol not found: _GOMP_loop_maybe_nonmonotonic_runtime_next
Referenced from: /Users/jeevan/opt/anaconda3/lib/python3.8/site-packages/wrf/_wrffortran.cpython-38-darwin.so
Expected in: /Users/jeevan/opt/anaconda3/lib/libiomp5.dylib
in /Users/jeevan/opt/anaconda3/lib/python3.8/site-packages/wrf/_wrffortran.cpython-38-darwin.so
`
```
- Ngôn ngữ chính
- Python
- Star
- 498
- Fork
- 178
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NCAR/wrf-python
-
NCAR/wrf-python#309 · 1 người được giao ·
-
Windows builds on conda-forge Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
NCAR/wrf-python#307 · 5 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
NCAR/wrf-python#286 · 3 bình luận ·
-
Windows builds and testing Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
NCAR/wrf-python#282 · 1 bình luận ·
-
PyPI releases Đang mở
NCAR/wrf-python#274 · 5 bình luận · 1 reaction · 1 người được giao ·
Tất cả issue của NCAR/wrf-python
Issue tương tự
-
agent-ready documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Add https://search.jeremyh.xyz/ Đang mởinstance instance add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
searxng/searx-instances#939 · 1 bình luận ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100