Кажется, я не могу обновить пакет утилит Python date.
(D:\Users\kiraa\AppData\Local\Microsoft\AppV\Client\Integration\95FD7873-726E-40E9-B477-CC4010411846\Root) D:\Users\kiraa\AppData\Local\Temp\Downloads\python-o365-master\python-o36
5-master>pip install python-dateutil
Requirement already satisfied: python-dateutil in c:\programdata\app-v\95fd7873-726e-40e9-b477-cc4010411846\9727bf3a-f7f8-45a4-ad38-2f35b6e0fb2a\root\lib\site-packages
Requirement already satisfied: six>=1.5 in c:\programdata\app-v\95fd7873-726e-40e9-b477-cc4010411846\9727bf3a-f7f8-45a4-ad38-2f35b6e0fb2a\root\lib\site-packages (from python-dateut
il)
Однако, когда я пытаюсь установить O365, происходит сбой при той же самой ошибке.
(D:\Users\kiraa\AppData\Local\Microsoft\AppV\Client\Integration\95FD7873-726E-40E9-B477-CC4010411846\Root) D:\Users\kiraa\AppData\Local\Temp\Downloads\python-o365-master\python-o36
5-master>pip install O365
Requirement already satisfied: O365 in c:\programdata\app-v\95fd7873-726e-40e9-b477-cc4010411846\9727bf3a-f7f8-45a4-ad38-2f35b6e0fb2a\root\lib\site-packages\o365-2.0.5-py3.6.egg
Requirement already satisfied: requests>=2.18.0 in c:\programdata\app-v\95fd7873-726e-40e9-b477-cc4010411846\9727bf3a-f7f8-45a4-ad38-2f35b6e0fb2a\root\lib\site-packages (from O365)
Requirement already satisfied: requests_oauthlib>=1.2.0 in c:\programdata\app-v\95fd7873-726e-40e9-b477-cc4010411846\9727bf3a-f7f8-45a4-ad38-2f35b6e0fb2a\root\lib\site-packages\req
uests_oauthlib-1.2.0-py3.6.egg (from O365)
Collecting python-dateutil>=2.7 (from O365)
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object
at 0x0000000005B02208>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/python-dateutil/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object
at 0x0000000005B02AC8>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/python-dateutil/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object
at 0x0000000005B02E80>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/python-dateutil/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object
at 0x0000000005B020F0>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/python-dateutil/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object
at 0x0000000005B029E8>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',)': /simple/python-dateutil/
Could not find a version that satisfies the requirement python-dateutil>=2.7 (from O365) (from versions: )
No matching distribution found for python-dateutil>=2.7 (from O365)
Поэтому я ищу способ его обновить
(D:\Users\kiraa\AppData\Local\Microsoft\AppV\Client\Integration\95FD7873-726E-40E9-B477-CC4010411846\Root) D:\Users\kiraa\AppData\Local\Temp\Downloads\python-dateutil-2.8.1\python-
dateutil-2.8.1>pip install python-dateutil --upgrade
Однако, похоже, он работает не очень хорошо ... Попытался установить и переустановить пакет dateutil. Не сработалоПожалуйста помоги !
Должен ли я указывать версию для установки на основе ошибки при выполнении use_scm_version 'warnings.warn (msg)
(D:\Users\kiraa\AppData\Local\Microsoft\AppV\Client\Integration\95FD7873-726E-40E9-B477-CC4010411846\Root) D:\Users\kiraa\AppData\Local\Temp\Downloads\python-dateutil-2.8.1\python-
dateutil-2.8.1>python setup.py install
C:\ProgramData\App-V\95FD7873-726E-40E9-B477-CC4010411846\9727BF3A-F7F8-45A4-AD38-2F35B6E0FB2A\Root\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'use_scm_ve
rsion'
warnings.warn(msg)
egg\dateutilcopying build\lib\dateutil\__init__.py -> build\bdist.win-amd64\egg\dateutilbyte-compiling build\bdist.win-amd64\egg\dateutil\easter.py to easter.cpython-36.pycbyte-compiling build\bdist.win-amd64\egg\dateutil\parser\isoparser.py to isoparser.cpython-36.pycbyte-compiling build\bdist.win-amd64\egg\dateutil
волнуюсь, поскольку она показывает установленную версию 0.0.0
Using c:\programdata\app-v\95fd7873-726e-40e9-b477-cc4010411846\9727bf3a-f7f8-45a4-ad38-2f35b6e0fb2a\root\lib\site-packages
Finished processing dependencies for python-dateutil==0.0.0
hon