1.终端报错:The dependency MBProgressHUD (~> 0.9.2) is not used in any concrete target.2.原因:CocoaPods升级到最新版本(包括一些高版本),Podfile文件的内容必须明确指出所用第三方库的targetName.3.报错分析:低版本和高版本写法不一样. 低版本:platform :ios, '8.0'pod 'MBProgressHUD', '~> 0.9.2' 高版本:platform :ios, '8.0…
使用python安装第三方库时报错如下: error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com/visual-cpp-build-tools 1:打开上文提到的网址http://landinghub.visualstudio.com/visual-cpp-build-tools遇到404. 直接…
懒得重新安装Octave,就直接从原来安装的目录中复制出来,使用pkg load image命令时会显示报错 pkg load image warning: addpath: "origin path " No such file or direct 显示的路径为原来的路径,应该在某个文件中记录了第一次安装的位置 octave-4.2.0-w64\share\octave\octave_packages 查找替换掉这个文件里所有的原有路径为当前路径即可 From WizNote…
在使用cocoapod导入swift第三方时出现这样的错误: [!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: 三方库名称 一开始我使用oc的配置方法 platform :ios, '8.0' target "PodTest…
一.只有.h和.a文件的库 1.向项目中添加三方库文件 如果添加的第三方库只有.h和.a文件,直接把文件夹拖进项目下面,这时会弹出下面的提示框,一定要勾选下面选择的选项: 这里要注意,在Add to targets里面一定要选择上要将库文件(.a文件)添加到的目标,这是告诉项目哪些目标需要包含.a文件,不然的话项目目标里将不会包含.a文件:这个时候,进入“工程->添加了第三方库的项目目标(TARGETS里面)->Build Phases->Link Binary With Librari…
备库搭建后,进入备库报错psql: FATAL: the database system is starting up 原因:备库配置文件没有hot_standby = on master -bash-4.1$ ps aux |grep post postgres 89707 0.0 0.0 43196188 2872 ? Ss 00:15 0:27 postgres: wal sender process rep 10.40.55.69(26717)…
Python djangorestframework 安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描述 使用pip按照virtualenv报错,如下: pip install djangorestframework Collecting djangorestframework Could not fetch URL https://pypi.python.org/simple/djangorestframework/: There was a problem co…