问题描述
代码:
def dt():
import datetime as dt
x = dt.datetime.Now()
print(x)
def nump():
import numpy
n = numpy.arange(27)
print(n)
def yfin():
import yfinance as yf
tsla = yf.Ticker("TSLA")
print(tsla.earnings)
def pnds():
import pandas as pd
import os
os.listdir()
df1 = pd.read_csv("supermarkets.csv")
df1.set_index("ID")
pnds()
Traceback error:
Traceback (most recent call last):
File "C:/Users/weber/PycharmProjects/Application2_WebMap/Creating the map.py",line 27,in <module>
pnds()
File "C:/Users/weber/PycharmProjects/Application2_WebMap/Creating the map.py",line 20,in pnds
import pandas as pd
File "C:\Users\weber\anaconda3\envs\Application2_WebMap\lib\site-packages\pandas\__init__.py",line 11,in <module>
__import__(dependency)
File "C:\Users\weber\anaconda3\envs\Application2_WebMap\lib\site-packages\numpy\__init__.py",line 305,in <module>
_win_os_check()
File "C:\Users\weber\anaconda3\envs\Application2_WebMap\lib\site-packages\numpy\__init__.py",line 302,in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\\Users\\weber\\anaconda3\\envs\\Application2_WebMap\\lib\\site-packages\\numpy\\__init__.py')
fails to pass a sanity check due to a bug in the windows runtime.
See this issue for more @R_476_4045@ion:
Process finished with exit code 1
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)