Xcode启动失败,提示"Loading a plug-in failed The plug-in or one of its prerequisite plug-ins may be missin
2017-03-12 14:34
1596 查看
查看错误日志
如何查看
注:正常启动时弹出错误”Loading a plug-in failed The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled” ,可以使用下述命令行来启动程序,则可以看到错误日志$/Applications/Xcode.app/Contents/MacOS/Xcode
错误
查看错误日志可以看到 Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python,说明错误是出现在python原因
用户自己更新了python,现在的python版本不为2.7,可通过在终端输入python确认用户删除了系统中自带的2.7,重新安装了python2.7,则会缺少很多第三方的lib,而导致加载不了Library
解决
注:本方法会删除所有已安装的python环境,读者可以选择性删除,导入系统自带的python包,其中系统自带的python包含一系列第三方库删除已安装python
通过brew安装的python
brew uninstall python
通过pkg安装的包
sudo rm -rf /Library/Frameworks/Python.framework/Versions/*
系统中的软连接
sudo rm -rf /System/Library/Frameworks/Python.framework/Versions/* sudo rm -f /usr/bin/python
导入系统的python
下载地址1. 解压python包得到目录2.7
2. 复制目录到/System/Library/Frameworks/Python.framework/Versions/
3.
ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /usr/bin/python
相关文章推荐
- "Loading a plug-in failed The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled"
- Ubuntu下解决"firefox profile cannot be loaded it may be missing or inaccessible"
- this may be due to a corruption of the heap, which indicates a bug in ... or any of the DLLs it has
- This may be due to a corruption of the heap, which indicates a bug in *.exe or any of the DLLs it has loaded.
- 解决Linux下Firefox启动报错找不到配置文件。Your Firefox profile cannot be loaded. It may be missing or inaccessible.
- component 'MSCOMM32.OCX' or one of its dependencies not correctlu registered:a file is missing of in
- Plugin org.apache.maven.plugins:maven-compiler-plugin:2.0.2 or one of its dependencies could not be
- UBUNTU 9.10 因断电升级未成功后重启出现“one or more of the mounts listes in /etc/fstab cannot yet be mounted?”?
- one of the two jquery Plug-in named "Confirm"
- 错误处理:"Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was
- One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot"
- 11.2 RAC: In "crsctl stat res -t" State Details May Be Missing or Incorrect [ID 1086563.1]
- Eclipse导入maven项目时报错:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
- ... or one of its dependencies. The system cannot find the file specified... 加载指定dll失败
- "Android SDK and AVD Manager" cannot be made visible because all of its children are in unavailable
- 启动 Tomcat 报错 One or more listeners failed to start. Full details will be found in the appropriate
- Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be r
- Could not load file or assembly "xxx" or one of its dependencies. The system cannot find the file sp
- Could not load file or assembly "\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies.
- HDU 4627 There are many unsolvable problem in the world.It could be about one or about zero.But this time it is about bigger number.