草庐IT

extras_requires

全部标签

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下载过

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