简体   繁体   English

OSError: [WinError 193] %1 不是有效的 Win32 应用程序 (Pandas)

[英]OSError: [WinError 193] %1 is not a valid Win32 application (Pandas)

I have been trying a simple code on Pycharm 2019.2.1 on windows 10 (64bit)我一直在尝试在 windows 10(64 位)上的 Pycharm 2019.2.1 上的简单代码

'''
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LinearRegression
df = pd.read_csv('covid_19_clean_complete.csv')
X = df[["Deaths"]]
Y = df["Confirmed"]
X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size=.25, random_state=42)
acr = LinearRegression()    
acr.fit(X_train,Y_train)
print(acr.score(X_test,Y_test))
'''

but showing me this error但向我展示了这个错误

error massage错误按摩

I've already uninstalled pandas once and installed again using pip uninstall pandas and pip install pandas through cmd. I've already uninstalled pandas once and installed again using pip uninstall pandas and pip install pandas through cmd. pandas installed photo pandas 安装照片

Interpreter photo翻译照片

Did much google search but the links I found, were not clear to me(as I faced such problem first).做了很多谷歌搜索,但我发现的链接对我来说并不清楚(因为我首先遇到了这样的问题)。 Here's the link OSError: [WinError 193] %1 is not a valid Win32 application这是链接OSError: [WinError 193] %1 is not an valid Win32 application

Hope to find a solution.希望能找到解决办法。 Thank You谢谢你

Finally, all I did was uninstall Pycharm and python as well from my system.最后,我所做的只是从我的系统中卸载 Pycharm 和 python 。 Obviously, again I had to install those.显然,我不得不再次安装这些。 Then the problem solved.然后问题就解决了。

happy_coding_快乐编码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 OSError: [WinError 193] %1 不是 Python 中的有效 Win32 应用程序 - OSError: [WinError 193] %1 is not a valid Win32 application in python OSError: [WinError 193] %1 不是有效的 Win32 应用程序 - python - OSError: [WinError 193] %1 is not a valid Win32 application - python OSError: [WinError 193] %1 不是有效的 Win32 应用程序 - OSError: [WinError 193] %1 is not a valid Win32 application OSError: [WinError 193] %1 不是有效的 Win32 应用程序 Python - OSError: [WinError 193] %1 is not a valid Win32 application Python OSError: [WinError 193] %1 不是 CTypes 中的有效 Win32 应用程序 - OSError: [WinError 193] %1 is not a valid Win32 application in CTypes OSError: [WinError 193] %1 不是有效的 Win32 应用程序 - nltk - OSError: [WinError 193] %1 is not a valid Win32 application - nltk OSError: [WinError 193] %1 不是有效的 Win32 应用程序 (LibTiff) - OSError: [WinError 193] %1 is not a valid Win32 application (LibTiff) 如何修复“OSError: [WinError 193] %1 不是有效的 Win32 应用程序” - How to fix"OSError: [WinError 193] %1 is not a valid Win32 application" Azure - numpy - OSError:[WinError 193]%1不是有效的Win32应用程序 - Azure - numpy - OSError: [WinError 193] %1 is not a valid Win32 application 无法解决OSError:[WinError 193]%1不是有效的Win32应用程序 - Unable to resolve OSError: [WinError 193] %1 is not a valid Win32 application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM