-
I came across this problem when I learn the example in https://flopy.readthedocs.io/en/stable/Notebooks/mfusg_freyberg_example.html.Code:from flopy.utils.geometry import LineString # 线状几何形状的类 lines = [ """Load the model and retrieve inactive cells.""" gwf = flopy.mfusg.MfUsg.load( bas6 = gwf.get_package("bas6") """ Show the map view again with cross-section lines and inactive cells.""" fig = plt.figure(figsize=(8, 8)) Error:已连接到 pydev 调试器(内部版本号 232.9559.58)Traceback (most recent call last): Thank you for your time, I appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@Alvin-prc I suspect you are missing |
Beta Was this translation helpful? Give feedback.
@Alvin-prc I suspect you are missing
pyshp
(available on PyPI, Conda). Many of the notebooks require flopy's optional dependencies. You can install all optional dependencies at once withpip install "flopy[optional]"