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访问 –
是的,文件系统本身是只读的。 –