I have spyder 2.3.1 running on windows 7 Ultimate with Python 3.4. I have used this for over a year. I also have been running PyDLM for over a year. Today I attempted to run a new data set in a PyDLM script that I have been using with no problems for a year. The relevant initial script is (for example)
import numpy as np
my_data = np.genfromtxt('SimRWRS.txt',dtype = float )
The file of which this is a part is resides in a subfolder in MyDocuments. The import numpy command runs. But the mydata command returns the following error in the IPython console:
my_data = np.genfromtxt('SimRWRS.txt',dtype = float )
Traceback (most recent call last):
File "<ipython-input-2-349c421dbf2c>", line 1, in <module>
my_data = np.genfromtxt('SimRWRS.txt',dtype = float )
File "C:\Users\NickG2\Anaconda3\lib\site-packages\numpy\lib\npyio.py", line 1551, in genfromtxt
fhd = iter(np.lib._datasource.open(fname, 'rb'))
File "C:\Users\NickG2\Anaconda3\lib\site-packages\numpy\lib\_datasource.py", line 151, in open
return ds.open(path, mode)
File "C:\Users\NickG2\Anaconda3\lib\site-packages\numpy\lib\_datasource.py", line 501, in open
raise IOError("%s not found." % path)
OSError: SimRWRS.txt not found.
The file SimRWRS.txt is in the same folder as the main script file and is identified as the working directory.
This morning I encountered the same problem on my desktop running windows XP and was somehow able to solve it, but am unsure how.