我无法使用以下命令从Jupyter Notebook下载Twitter软件包:
!pip install twitter
手动下载.whl文件(twitter-1.18.0-py2.py3-none-any.whl)和.tar.gz,并将其放入保存jupyter笔记本的绝对路径。 然后再次运行命令-!pip install twitter。还是没用。
!pip install twitter
错误消息-
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\SANAKH~1.SAN\\AppData\\Local\\Temp\\pip-unpack-xmzkvtjo\\twitter-1.18.0-py2.py3-none-any.whl'
Consider using the `--user` option or check the permissions.
Exception:
Traceback (most recent call last):
File "E:\Ananconda\lib\shutil.py", line 387, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\SANAKH~1.SAN\\AppData\\Local\\Temp\\pip-install-o10_ytii\\twitter\\twitter\\ansi.py'
During handling of the above exception, another exception occurred