0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Python3.7系をwindowsにインストール

Posted at

「このインストールはシステムポリシーで許可されていません」とエラーが出る

image.png

対処方法

以下サイトにある通り、MAX_PARHの除去が必要らしい
https://docs.python.org/ja/3.7/using/windows.html#removing-the-max-path-limitation

1.MAX_PATHをレジストリエディターから除去

以下のように
KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabledの値を「1」にすればOK

image.png

2.customize instalationからインストール

自動ではなく、Custmoize installを選び
image.png

install for all usersを選択(選択しなくても良い)
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?