「ゼロから作るディープラーニング」にてurllib.error.HTTPError: HTTP Error 403: Forbiddenとなる

error

1Downloading train-images-idx3-ubyte.gz ... 2Traceback (most recent call last): 3 File "/Users/fuchun/AI/deep-learning-from-scratch/ch03/3_6.py", line 13, in <module> 4 (x_train, t_train), (x_test, t_test) = load_mnist( 5 ^^^^^^^^^^^ 6 File "/Users/fuchun/AI/deep-learning-from-scratch/ch03/dataset/mnist.py", line 117, in load_mnist 7 init_mnist() 8 File "/Users/fuchun/AI/deep-learning-from-scratch/ch03/dataset/mnist.py", line 85, in init_mnist 9 download_mnist() 10 File "/Users/fuchun/AI/deep-learning-from-scratch/ch03/dataset/mnist.py", line 48, in download_mnist 11 _download(v) 12 File "/Users/fuchun/AI/deep-learning-from-scratch/ch03/dataset/mnist.py", line 40, in _download 13 response = urllib.request.urlopen(request).read() 14 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 File "/opt/anaconda3/lib/python3.11/urllib/request.py", line 216, in urlopen 16 return opener.open(url, data, timeout) 17 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 18 File "/opt/anaconda3/lib/python3.11/urllib/request.py", line 525, in open 19 response = meth(req, response) 20 ^^^^^^^^^^^^^^^^^^^ 21 File "/opt/anaconda3/lib/python3.11/urllib/request.py", line 634, in http_response 22 response = self.parent.error( 23 ^^^^^^^^^^^^^^^^^^ 24 File "/opt/anaconda3/lib/python3.11/urllib/request.py", line 563, in error 25 return self._call_chain(*args) 26 ^^^^^^^^^^^^^^^^^^^^^^^ 27 File "/opt/anaconda3/lib/python3.11/urllib/request.py", line 496, in _call_chain 28 result = func(*args) 29 ^^^^^^^^^^^ 30 File "/opt/anaconda3/lib/python3.11/urllib/request.py", line 643, in http_error_default 31 raise HTTPError(req.full_url, code, msg, hdrs, fp) 32urllib.error.HTTPError: HTTP Error 403: Forbidden

コメントを投稿

0 コメント