我试着运行这段代码
# Taking input from user
question = input('Question: ')
# App id obtained by the above steps
app_id = "XXXXX-57578YL87T"
# Instance of wolf ram alpha
# client class
client = wolframalpha.Client(app_id)
# Stores the response from
# wolf ram alpha
res = client.query(question)
# Includes only text from the response
answer = next(res.results).text
print(answer)然而,它告诉我没有名为“wolframalpha”的模块,我正在使用anaconda3作为环境……你知道让我在anaconda中安装wolframalpha的命令吗?
https://stackoverflow.com/questions/66094105
复制相似问题