过去没有任何问题或最近做过任何更改,但截至今天早上,用pip做任何事情,包括只运行没有参数的“pip”导致一个例外情况说setuptools需要8.1.1但是安装了9.0.1 - 所以我无法升级setuptools或降级pip。
Dropzone.options.myAwesomeDropzone = {
init: function() {
this.on("addedfile", function(file) { alert("Added file."); });
}
};
答案 0 :(得分:0)
解决方案是使用easy_install重新安装pip
$ easy_install-3.5 pip
Searching for pip
Best match: pip 9.0.1
Adding pip 9.0.1 to easy-install.pth file
Installing pip3 script to /home/.../bin
Installing pip3.5 script to /home/.../bin
Installing pip script to /home/.../bin
Using /usr/local/lib/python3.5/site-packages
Processing dependencies for pip
Finished processing dependencies for pip