【发布时间】:2023-04-10 06:16:01
【问题描述】:
我在 mac os 上尝试安装 cython。我对如何解决零线索。
pip3 install cython
Collecting cython
Using cached https://files.pythonhosted.org/packages/9b/e6/6e30303d7bc17289411d82276b7338a1781964171c94f5ebe689cbecad4c/Cython-0.29.14-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Installing collected packages: cython
Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/lib'
【问题讨论】:
-
你看到错误信息了吗???
-
尝试以管理员身份运行命令或将 4755 chmod 更改为 pip3
-
嘿@bruno-desthuilliers 变得真实。你有吗?
-
使用 sudo 会出现同样的错误