Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/358.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 无法从不存在的easy-install.pth文件中删除条目_Python_Pip_Easy Install - Fatal编程技术网

Python 无法从不存在的easy-install.pth文件中删除条目

Python 无法从不存在的easy-install.pth文件中删除条目,python,pip,easy-install,Python,Pip,Easy Install,使用python/pip安装模块时,可能会收到错误无法从不存在的文件/easy install.pth中删除条目 这里有几个关于堆栈溢出的Q/a,是关于这种非常特殊的情况的(例如,Anaconda和Tensorflow)。我对一般情况更感好奇。这个错误的确切含义是什么,是什么原因造成的 (就我的具体情况而言,我正在尝试使用python2.7/pip10.0.1安装docker3.4.0模块,并且将--ignore installed添加到pip参数并不会删除错误。我可以通过在指定位置创建一个空的

使用python/pip安装模块时,可能会收到错误
无法从不存在的文件/easy install.pth中删除条目

这里有几个关于堆栈溢出的Q/a,是关于这种非常特殊的情况的(例如,Anaconda和Tensorflow)。我对一般情况更感好奇。这个错误的确切含义是什么,是什么原因造成的

(就我的具体情况而言,我正在尝试使用python2.7/pip10.0.1安装docker3.4.0模块,并且将
--ignore installed
添加到pip参数并不会删除错误。我可以通过在指定位置创建一个空的
easy install.pth
来解决这个问题,但这似乎是一个不健康的修复。)

为什么
easy install.pth
文件会丢失,丢失
easy install.pth
可能会产生什么影响