chainer-simple-fast-rnn icon indicating copy to clipboard operation
chainer-simple-fast-rnn copied to clipboard

python downoad_model.py error!!!

Open 1261972163 opened this issue 6 years ago • 3 comments

(tensorflow_p36) ubuntu@ip-172-31-25-141:~/gitcode/test/chainer-simple-fast-rnn$ python downoad_model.py Traceback (most recent call last): File "downoad_model.py", line 6, in urllib.urlretrieve(url,filename) AttributeError: module 'urllib' has no attribute 'urlretrieve' (tensorflow_p36) ubuntu@ip-172-31-25-141:~/gitcode/test/chainer-simple-fast-rnn$ vi downoad_model.py (tensorflow_p36) ubuntu@ip-172-31-25-141:~/gitcode/test/chainer-simple-fast-rnn$ python downoad_model.py Traceback (most recent call last): File "downoad_model.py", line 6, in urllib.request.urlretrieve(url,filename) File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 248, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(*args) File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found (tensorflow_p36) ubuntu@ip-172-31-25-141:~/gitcode/test/chainer-simple-fast-rnn$

1261972163 avatar Mar 10 '18 16:03 1261972163