teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

URL,codeを編集しました。宜しくお願い致します。

2020/10/20 07:29

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -56,10 +56,61 @@
56
56
 
57
57
  ```
58
58
 
59
- ### 試したこと
60
59
 
61
- ここに問題に対して試したことを記載してください。
62
60
 
63
61
  ### 補足情報(FW/ツールのバージョンなど)
64
62
 
65
- ここより詳細情報を記載してください
63
+ 下記は使用ライブライ等になります
64
+ appdirs 1.4.4
65
+ asgiref 3.3.0
66
+ astroid 2.4.2
67
+ cachetools 4.1.1
68
+ certifi 2020.6.20
69
+ chardet 3.0.4
70
+ colorama 0.4.4
71
+ comtypes 1.1.7
72
+ distlib 0.3.1
73
+ Django 3.1.2
74
+ filelock 3.0.12
75
+ google-api-core 1.22.4
76
+ google-api-python-client 1.12.3
77
+ google-auth 1.22.1
78
+ google-auth-httplib2 0.0.4
79
+ google-auth-oauthlib 0.4.1
80
+ googleapis-common-protos 1.52.0
81
+ gspread 3.6.0
82
+ httplib2 0.18.1
83
+ idna 2.10
84
+ inv 0.1.0
85
+ isort 5.6.4
86
+ lazy-object-proxy 1.5.1
87
+ mccabe 0.6.1
88
+ numpy 1.19.2
89
+ oauth2client 4.1.3
90
+ oauthlib 3.1.0
91
+ pandas 1.1.3
92
+ Pillow 8.0.0
93
+ pip 20.2.4
94
+ pipenv 2020.8.13
95
+ protobuf 3.13.0
96
+ pyasn1 0.4.8
97
+ pyasn1-modules 0.2.8
98
+ PyDrive 1.3.1
99
+ pylint 2.6.0
100
+ python-dateutil 2.8.1
101
+ pytz 2020.1
102
+ pywin32 228
103
+ PyYAML 5.3.1
104
+ requests 2.24.0
105
+ requests-oauthlib 1.3.0
106
+ rsa 4.6
107
+ setuptools 50.3.2
108
+ six 1.15.0
109
+ sqlparse 0.4.1
110
+ toml 0.10.1
111
+ uritemplate 3.0.1
112
+ urllib3 1.25.10
113
+ virtualenv 20.0.35
114
+ virtualenv-clone 0.5.4
115
+ wrapt 1.12.1
116
+ xlwings 0.20.8

1

URL,codeを変更しました。宜しくお願い致します。

2020/10/20 07:29

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -5,23 +5,20 @@
5
5
 
6
6
  前提
7
7
  ・既存のスプレッドシートを使用
8
- ・参考サイトはhttps://qiita.com/d_m/items/29392a491643d374cde3です。
8
+ ・参考サイトは[https://qiita.com/d_m/items/29392a491643d374cde3](https://qiita.com/d_m/items/29392a491643d374cde3)です。
9
9
 
10
10
  ### 発生している問題・エラーメッセージ
11
- ・IDに間違いがあると言われる
12
- ・セル指定の仕方がよくわかっていない
13
11
 
14
- エラーメッセージ
12
+ ```
15
- File "C:\Users\admin\AppData\Python38\lib\site-packages\googleapiclient\http.py", line 907, in execute
13
+ File "C:\Users\admin\AppData\Python38\lib\site-packages\googleapiclient\http.py", line 907, in execute
16
14
  raise HttpError(resp, content, uri=self.uri)
17
15
  googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/drive/v2/files?q=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=json returned "File not found:">
18
16
 
17
+ ```
19
18
 
20
19
  ### 該当のソースコード
21
20
 
22
- 言語:python
21
+ ```python
23
-
24
- ソースコード
25
22
  import gspread
26
23
  from oauth2client.service_account import ServiceAccountCredentials
27
24
  from pydrive.auth import GoogleAuth
@@ -57,62 +54,12 @@
57
54
  body={'values': list(csv.reader(open(csv_path, encoding='utf_8_sig')))}
58
55
  )
59
56
 
57
+ ```
60
58
 
59
+ ### 試したこと
60
+
61
+ ここに問題に対して試したことを記載してください。
62
+
61
63
  ### 補足情報(FW/ツールのバージョンなど)
62
64
 
63
- ここにより詳細な情報を記載してください。
65
+ ここにより詳細な情報を記載してください。
64
-
65
- 下記ライブラリのバージョンになります
66
- appdirs 1.4.4
67
- asgiref 3.3.0
68
- astroid 2.4.2
69
- cachetools 4.1.1
70
- certifi 2020.6.20
71
- chardet 3.0.4
72
- colorama 0.4.4
73
- comtypes 1.1.7
74
- distlib 0.3.1
75
- Django 3.1.2
76
- filelock 3.0.12
77
- google-api-core 1.22.4
78
- google-api-python-client 1.12.3
79
- google-auth 1.22.1
80
- google-auth-httplib2 0.0.4
81
- google-auth-oauthlib 0.4.1
82
- googleapis-common-protos 1.52.0
83
- gspread 3.6.0
84
- httplib2 0.18.1
85
- idna 2.10
86
- inv 0.1.0
87
- isort 5.6.4
88
- lazy-object-proxy 1.5.1
89
- mccabe 0.6.1
90
- numpy 1.19.2
91
- oauth2client 4.1.3
92
- oauthlib 3.1.0
93
- pandas 1.1.3
94
- Pillow 8.0.0
95
- pip 20.2.4
96
- pipenv 2020.8.13
97
- protobuf 3.13.0
98
- pyasn1 0.4.8
99
- pyasn1-modules 0.2.8
100
- PyDrive 1.3.1
101
- pylint 2.6.0
102
- python-dateutil 2.8.1
103
- pytz 2020.1
104
- pywin32 228
105
- PyYAML 5.3.1
106
- requests 2.24.0
107
- requests-oauthlib 1.3.0
108
- rsa 4.6
109
- setuptools 50.3.2
110
- six 1.15.0
111
- sqlparse 0.4.1
112
- toml 0.10.1
113
- uritemplate 3.0.1
114
- urllib3 1.25.10
115
- virtualenv 20.0.35
116
- virtualenv-clone 0.5.4
117
- wrapt 1.12.1
118
- xlwings 0.20.8