草庐IT

installed_date

全部标签

flutter 搭建环境报错 Windows Version (Unable to confirm if installed Windows version is 10 or greater)

解决方法:先查看是否为最新版本flutter-version  (不是最新版本建议官网下载最新版本)下载地址:FlutterSDKarchive|Flutterhttps://docs.flutter.dev/release/archive#windows再切换flutter的版本黑窗口输入flutterchannelmaster flutter切换为master(英文翻译为大师)版本这里可能会报错,网络连接Github超时,建议多试几次,我是晚上才成功的最后再检查是否报错

Python + selenium 安装问题,pip install selenium失败及解决方法

     最近想要是使用Python访问下浏览器,网上关于这些东西都很多,Python安装和selenium的下载就不赘述,这里简单总结一下第一次安装Python+selenium中遇到的问题。1、安装  Python傻瓜式安装,但注意安装目录选择,环境变量的添加。   selenium.exe下载对应浏览器对应的版本就OK。2、pipinstall selenium执行错误 Windows安装好Python后,Scripts目录下会有一个pip,这个目录下dos运行pipinstallselenium报错,解决办法:看一下Python的安装目录里是不是还有其他软件的安装包在。Python只能

鸿蒙harmonyOS 在DevEco Studio 安装应用时出现 INSTALL_PARSE_FAILED_USESDK_ERROR

鸿蒙harmonyOS在DevEcoStudio安装应用时出现INSTALL_PARSE_FAILED_USESDK_ERROR前言从字面意思可以看出是SDK不符导致的,就是你的编译版本跟测试机版本不一致。一、对比一下这两处是否一致?二、有一些特殊情况1.使用eTS肯定使用的7+,所以测试机的版本也得高上去代码如下(示例):当然没有对应的SDK时需要下载2.使用的真机不知道SDK版本在HarmonyOSSDK存储目录下的Sdk\toolchains文件下打开命令行工具,执行如下命令进行查询真机设备的apiversion和releaseType取值。hdcshellgetprophw_sc.bu

golang 和 godep : Build\install after a golang dependency update when using godep?

我已按照说明进行操作@https://github.com/tools/godep关于更新依赖项,但是当我使用更改后的版本进行构建\安装时,它尚未在Godeps/_workspace/pkg中更新所以我有gogetgithub.com/golang/gloggodepsavegodepgoinstall我看到了Godeps/_workspace/pkg/linux_amd64/github.com/golang/glog.a中的修改时间戳Godeps/Godeps.json中的rev提交值但现在当我想更新时,我会按照说明进行操作gogetgithub.com/golang/gloggo

golang 和 godep : Build\install after a golang dependency update when using godep?

我已按照说明进行操作@https://github.com/tools/godep关于更新依赖项,但是当我使用更改后的版本进行构建\安装时,它尚未在Godeps/_workspace/pkg中更新所以我有gogetgithub.com/golang/gloggodepsavegodepgoinstall我看到了Godeps/_workspace/pkg/linux_amd64/github.com/golang/glog.a中的修改时间戳Godeps/Godeps.json中的rev提交值但现在当我想更新时,我会按照说明进行操作gogetgithub.com/golang/gloggo

Python Install 报错”‘SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED]

问题描述PSC:\temp>python-mpipinstall--upgradepipWARNING:Retrying(Retry(total=4,connect=None,read=None,redirect=None,status=None))afterconnectionbrokenby'SSLError(SSLCertVerificationError(1,'[SSL:CERTIFICATE_VERIFY_FAILED]certificateverifyfailed:selfsignedcertificateincertificatechain(_ssl.c:1108)'))':/s

mongodb - golang /mgo : How can I store Date (not ISODate) in mongodb?

如果我这样存储当前时间:typeTeststruct{Idstring`bson:"id"json:"id,omitempty"`TestTimetime.Time`bson:"testTime"json:"testTime,omitempty"`}...t:=Test{Id:"TEST0001",TestTime:time.Now(),}...c.Insert(t)然后我使用mongochef来搜索它:{"_id":ObjectId("576bc7a48114a14b47920d60"),"id":"TEST0001","testTime":ISODate("2016-06-23T1

mongodb - golang /mgo : How can I store Date (not ISODate) in mongodb?

如果我这样存储当前时间:typeTeststruct{Idstring`bson:"id"json:"id,omitempty"`TestTimetime.Time`bson:"testTime"json:"testTime,omitempty"`}...t:=Test{Id:"TEST0001",TestTime:time.Now(),}...c.Insert(t)然后我使用mongochef来搜索它:{"_id":ObjectId("576bc7a48114a14b47920d60"),"id":"TEST0001","testTime":ISODate("2016-06-23T1

python install错误:error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++

当我们通过“pipinstallxxx”安装一些包含C++代码的包时,通常会发生安装失败并报错“error:MicrosoftVisualC++14.0orgreaterisrequired.Getitwith“MicrosoftC++BuildTools”:https://visualstudio.microsoft.com/visual-cpp-build-tools/”的情况,这里给出两种解决方法:Method1:直接通过链接“https://visualstudio.microsoft.com/visual-cpp-build-tools/”安装VisualStudio。优点是简单粗暴

git2go : Listing files with the latest committer and commit date

我正在尝试使用git2go输出文件列表,以及它们在存储库中的最新作者和最近提交日期。使用tree.Walk循环访问文件似乎很简单:packagemainimport("time""gopkg.in/libgit2/git2go.v25")//FileItemcontainsenoughfileinformationtobuildlisttypeFileItemstruct{AbsoluteFilenamestring`json:"absolute_filename"`Filenamestring`json:"filename"`Pathstring`json:"path"`Author