草庐IT

require-ified

全部标签

whisper踩坑!多环境Python切换 ERROR: Could not find a version that satisfies the requirement tiktoken==0.3.1

玩whisper语音识别的时候,在安装环境的时候又踩了不少坑,遇到不少问题:whisper与Python版本如何对应?如何查看本机Python环境列表?多环境Python如何切换?如何切换pip的默认环境?PyTorch下载过慢如何解决?该报错的解决方案:pip._vendor.urllib3.exceptions.ReadTimeoutError:HTTPSConnectionPool(host=‘files.pythonhosted.org’,port=443):Readtimedout.这里做个总结。文章目录问题一:Python环境版本与whisper匹配问题问题二:PyTorch下载过

c# - 调试期间的 Visual Studio : The function evaluation requires all threads to run

我在调试时突然遇到一个奇怪的错误。到目前为止,监window口中的变量已正确显示。现在我总是在监window口中收到此错误消息:Thefunctionevaluationrequiresallthreadstorun我无法再检查任何变量。我没有明确地使用线程。我该怎么做才能让它重新工作?如某些论坛所述,我已经在调试器的选项窗口中禁用了功能:“启用属性评估和其他隐式函数调用”。但是没有成功,它给了我这个错误:ErrorImplicitFunctionevaluationdisabledbytheuser 最佳答案 来自msdn论坛:T

c# - 调试期间的 Visual Studio : The function evaluation requires all threads to run

我在调试时突然遇到一个奇怪的错误。到目前为止,监window口中的变量已正确显示。现在我总是在监window口中收到此错误消息:Thefunctionevaluationrequiresallthreadstorun我无法再检查任何变量。我没有明确地使用线程。我该怎么做才能让它重新工作?如某些论坛所述,我已经在调试器的选项窗口中禁用了功能:“启用属性评估和其他隐式函数调用”。但是没有成功,它给了我这个错误:ErrorImplicitFunctionevaluationdisabledbytheuser 最佳答案 来自msdn论坛:T

【已解决】error: Microsoft Visual C++ 14.0 or greater is required

error:MicrosoftVisualC++14.0orgreaterisrequired.Getitwith“MicrosoftC++BuildTools”:https://visualstudio.microsoft.com/visual-cpp-build-tools/对于error:MicrosoftC++BuildTools报错问题,大多数小伙伴都尝试了MicrosoftC++BuildTools3.13MB安装,但是目前好像都无法继续使用。在此作者提供了新版本的MicrosoftC++BuildTools2017/2019此版本的MicrosoftC++BuildTools向下

解决 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not

PSC:\Users\>pipinstallpipDefaultingtouserinstallationbecausenormalsite-packagesisnotwriteableWARNING:pipisconfiguredwithlocationsthatrequireTLS/SSL,howeverthesslmoduleinPythonisnotavailable.#win10:Windowspowershell#2022/8/17#users:fanch这次准备用pip安装一下you-get这个包,出现上面报错:报错内容一:Defaultingtouserinstallation

解决 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not

PSC:\Users\>pipinstallpipDefaultingtouserinstallationbecausenormalsite-packagesisnotwriteableWARNING:pipisconfiguredwithlocationsthatrequireTLS/SSL,howeverthesslmoduleinPythonisnotavailable.#win10:Windowspowershell#2022/8/17#users:fanch这次准备用pip安装一下you-get这个包,出现上面报错:报错内容一:Defaultingtouserinstallation

c# - 解决 "The ObjectContext instance has been disposed and can no longer be used for operations that require a connection"InvalidOperationException

我正在尝试使用EntityFrameworkm填充GridView,但每次我都会收到以下错误:"Propertyaccessor'LoanProduct'onobject'COSIS_DAL.MemberLoan'threwthefollowingexception:TheObjectContextinstancehasbeendisposedandcannolongerbeusedforoperationsthatrequireaconnection."我的代码是:publicListGetAllMembersForLoan(stringkeyword){using(CosisEnt

c# - 解决 "The ObjectContext instance has been disposed and can no longer be used for operations that require a connection"InvalidOperationException

我正在尝试使用EntityFrameworkm填充GridView,但每次我都会收到以下错误:"Propertyaccessor'LoanProduct'onobject'COSIS_DAL.MemberLoan'threwthefollowingexception:TheObjectContextinstancehasbeendisposedandcannolongerbeusedforoperationsthatrequireaconnection."我的代码是:publicListGetAllMembersForLoan(stringkeyword){using(CosisEnt

成功解决error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“

最近在做深度学习的yolo5目标追踪的学习,在下载依赖包时,报了如下错误:原因是没有C++的编译环境,为此我们要去官网下载好VisualStuidoCode。附下载链接:VisualStuidoCode记住!一定要下载SystemInstaller版本的!下载好后根据安装提示下载就好了。网上有很多教程,这里不再赘述。安装好后,我再试试pip安装,还是失败了,查了很多原因,才知道安装好后,我们得配置好visualstudioC++buildtools的安装文件,但是在安装的过程中会遇到visualstudioC++buildtools时安装包缺失或损坏的问题,我弄了好久好久,也尝试过很多种方法,