質問編集履歴
2
PCの個人情報伏せました.
test
CHANGED
File without changes
|
test
CHANGED
@@ -124,7 +124,7 @@
|
|
124
124
|
|
125
125
|
'C:\Python38',
|
126
126
|
|
127
|
-
'C:\Users\
|
127
|
+
'C:\Users\aaa\AppData\Roaming\Python\Python38\site-packages',
|
128
128
|
|
129
129
|
'C:\Python38\lib\site-packages']
|
130
130
|
|
1
質問の返答
test
CHANGED
File without changes
|
test
CHANGED
@@ -59,3 +59,73 @@
|
|
59
59
|
requestsをリインストールしました.
|
60
60
|
|
61
61
|
結果:変わりませんでした。
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
### 追記
|
66
|
+
|
67
|
+
パッケージのパッケージのpathを確認し,使っているpythonで"requests"までのpathが通っているかを確認しました.
|
68
|
+
|
69
|
+
結果:c:\python38\lib\site-packagesに,存在し,pathが通っていることが確認できました.
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
####requestsのpath確認
|
74
|
+
|
75
|
+
```commandline
|
76
|
+
|
77
|
+
PS C:\> pip show requests
|
78
|
+
|
79
|
+
Name: requests
|
80
|
+
|
81
|
+
Version: 2.24.0
|
82
|
+
|
83
|
+
Summary: Python HTTP for Humans.
|
84
|
+
|
85
|
+
Home-page: https://requests.readthedocs.io
|
86
|
+
|
87
|
+
Author: Kenneth Reitz
|
88
|
+
|
89
|
+
Author-email: me@kennethreitz.org
|
90
|
+
|
91
|
+
License: Apache 2.0
|
92
|
+
|
93
|
+
Location: c:\python38\lib\site-packages
|
94
|
+
|
95
|
+
Requires: idna, certifi, chardet, urllib3
|
96
|
+
|
97
|
+
Required-by:
|
98
|
+
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
####pythonのpath確認
|
104
|
+
|
105
|
+
```commandline
|
106
|
+
|
107
|
+
PS C:\> py
|
108
|
+
|
109
|
+
Type "help", "copyright", "credits" or "license" for more information.
|
110
|
+
|
111
|
+
>>> import sys
|
112
|
+
|
113
|
+
>>> import pprint
|
114
|
+
|
115
|
+
>>>
|
116
|
+
|
117
|
+
>>> pprint.pprint(sys.path)
|
118
|
+
|
119
|
+
'C:\Python38\python38.zip',
|
120
|
+
|
121
|
+
'C:\Python38\DLLs',
|
122
|
+
|
123
|
+
'C:\Python38\lib',
|
124
|
+
|
125
|
+
'C:\Python38',
|
126
|
+
|
127
|
+
'C:\Users\motom\AppData\Roaming\Python\Python38\site-packages',
|
128
|
+
|
129
|
+
'C:\Python38\lib\site-packages']
|
130
|
+
|
131
|
+
```
|