OS X Uninstall a distutils installed project

前端 未结 4 746
星月不相逢
星月不相逢 2021-01-05 16:12

I\'m on El Capitan and I want to install numpy with pip. However I get the following error:

Detected a distutils installed project (\'numpy\') which we canno         


        
4条回答
  •  独厮守ぢ
    2021-01-05 17:05

    Since there is no metadata about the installed files, I found the easiest way to be removing the files manually. Simply retrieve the directory of the module (I referred to this: Retrieving python module path), and delete the folder, as well as the accompanying .egg-info file. Then install your desired numpy version without the --update flag.

提交回复
热议问题