1、更改Terminal的访问路径和
2、
fr = open(r"testSet.txt")
IOError: [Errno 2] No such file or directory: 'testSet.txt'
改为:
fr=open(r"testSet.txt", "w")
3、 python ImportError: No module named
解决方法:
sys.path.append(r"D:\Github\MechineLearningInAction\CH05")
import logRegres
import demo
hello world!
Python console工作路径设置问题