1
我遇到了Python SDK的一些問題。我想在打開一個錯誤之前,我會看到如果重新安裝將有助於任何更新。我運行了sudo pip uninstall smartsheet-python-sdk
,試圖卸載python-dateutil軟件包的時候,它失敗了大約90%。然後我重新安裝了smartsheet SDK,但它失敗了。然後,我重新安裝了請求,請求 - 工具欄,六個認證,python-dateutil和SDK;使用--force-install,然後使用--ignore -install嘗試重置事情。當我運行所有的安裝我收到以下錯誤之前工作過的腳本:卸載/安裝Smartsheet Python SDK失敗
Traceback (most recent call last):
File "./smytest.py", line 212, in <module>
SMUTrackerSmartsheet=smartsheet.Sheets.get_sheet(SMARTSHEET_SMU_TRACKER_SHEET_ID)
File "/Library/Python/2.7/site-packages/smartsheet/sheets.py", line 460, in get_sheet
response = self._base.request(prepped_request, expected, _op)
File "/Library/Python/2.7/site-packages/smartsheet/smartsheet.py", line 178, in request
res = self.request_with_retry(prepped_request, operation)
File "/Library/Python/2.7/site-packages/smartsheet/smartsheet.py", line 242, in request_with_retry
return self._request(prepped_request, operation)
File "/Library/Python/2.7/site-packages/smartsheet/smartsheet.py", line 210, in _request
raise UnexpectedRequestError(rex.request, rex.response)
smartsheet.exceptions.UnexpectedRequestError: (<PreparedRequest [GET]>, None)
有沒有辦法重新安裝SDK去適當地捕捉並設置我錯過任何依賴關係?