【发布时间】:2017-01-25 07:12:59
【问题描述】:
我在 Mac 上运行 Anaconda Python 和 Jupyter。 输入以下代码后:
import numpy as np
import matplotlib.pyplot as plt
iris = np.genfromtxt("data/iris.txt",delimiter=None)
我收到错误:IOError: data/iris.txt not found.
我已经尝试将 iris 文件放在 anaconda 文件夹中:Users/anaconda/lib/python2.7
【问题讨论】:
标签: python anaconda jupyter-notebook jupyter