PS C:\temp> python .\DownloadFromList.py Downloading https://github.com/Unity-Technologies/ScriptableRenderPipeline/archive/master.zip Traceback (most recent call last): File “.\DownloadFromList.py”, line 20, in <module> r = requests.get(url) File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\api.py”, line 72, in get return request(‘get’, url, params=params, **kwargs) File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\api.py”, line 58, in request return session.request(method=method, url=url, **kwargs) File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py”, line 512, in request resp = self.send(prep, **send_kwargs) File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py”, line 644, in send history = [resp for resp in gen] if allow_redirects else [] File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py”, line 644, in <listcomp> history = [resp for resp in gen] if allow_redirects else [] File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py”, line 222, in resolve_redirects **adapter_kwargs File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py”, line 662, in send r.content File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py”, line 827, in content self._content = b”.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b” MemoryError During handling of the above exception, another exception occurred: Traceback (most recent call last): File “.\DownloadFromList.py”, line 28, in <module> print(“Error happened:”, e.message) AttributeError: ‘MemoryError’ object has no attribute ‘message’ PS C:\temp> |