1
是否可以從位於只讀文件系統上的目錄執行editable pip install?現在設置工具試圖寫入一個雞蛋文件到源代碼目錄:pip可編輯安裝在只讀文件系統上
$ pip install -e /tf/stuff/
Obtaining file:///tf/stuff
Complete output from command python setup.py egg_info:
running egg_info
writing requirements to src/stuff.egg-info/requires.txt
error: [Errno 30] Read-only file system: 'src/stuff.egg-info/requires.txt'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tf/stuff/
文檔說:
對於本地項目中,「SomeProject.egg-信息」目錄中創建 相對到項目路徑。與僅使用 setup.py develop相比,這是一個優點,它可以直接相對於當前工作目錄創建「egg-info」。
希望你這樣做sudo訪問 –
是的,文件系統本身是隻讀的。 –