Python can't locate distutils_path on Mac OSX

前端 未结 5 876
慢半拍i
慢半拍i 2021-02-01 18:54

I\'ve been using virtualenv + pip for python development. I\'m not sure what happened, but suddenly whenever I try to run a command-line tool or import libraries, I get this er

5条回答
  •  南方客
    南方客 (楼主)
    2021-02-01 19:59

    While Migration Assistant doesn't handle things like XCode so well, it is nevertheless designed to transfer some types of applications. It works best with those that exist entirely in the /Applications/ folder or those applications that launch from the /Applications/ folder and do checks for associated files located elsewhere (e.g., /usr/bin/), installing them when they aren't detected on startup.

    See http://support.apple.com/kb/HT4413.

提交回复
热议问题