When dealing with Python with ANACONDA's Spyder, especially in "Deep Learning from scratch ②" When an error occurs in the code below, the error has been resolved by taking measures like this.
sys.path.append ('..') # Settings for importing files in the parent directory
In this case, click PYTHONPATH manager from the python tab in the upper left of Spyder in ANACONDA. ![Screenshot 2020-02-20 18.29.34.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/182169/e40a49dc-3e76-e12b-bd01- 341c8e88cfb9.png)
After that, I was able to solve it by entering the upper directory.
It's wonderful to be able to do this easily.
Recommended Posts