pythonをほかのパソコンで行うためにVScodeをインストールしたのですが、numpyをコマンドプロンプトでインストールするために
py -m pip install --upgrade pip
と入力してみたのですが、
Defaulting to user installation because normal site-packages is not writeable WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002D5921D31C8>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002D5921AAE88>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002D5921BDA08>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002D5921D9448>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002D5921D9F08>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/ Requirement already up-to-date: pip in c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages (20.1.1)
というエラーが起きてしまいます。どうすればよいでしょうか。
"Defaulting to user installation because normal site-packages is not writeable"で検索すると色々な対応方法が出てきますが、こちらは調べて試してみたでしょうか? 自分で調べてやってみたことは質問文に書かないと、回答してくれた人が同じことを書いてしまう場合があります。なので、自分でやったことは必ず書くようにした方が良いです。あと、Pythonを動かしている環境が書かれていませんので、こちらも質問文につきされると良いでしょう。環境によってエラーの原因や対応方法が変わる場合がありますので。
参考)
https://teratail.com/help/question-tips
まずはこちらを上から下まで読んで、足りない要素を追記されることをオススメします。現状だと足りない要素が多すぎて、正直言って回答が出てこない気がします。
回答1件
あなたの回答
tips
プレビュー