באג | שגיאה בהתקנת תעודת אבטחה בpip
-
C:\Users\05832>pip config set global.cert "C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt" Writing to C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\pip.ini ERROR: Unable to save configuration. Please report this as a bug. Traceback (most recent call last): File "C:\Users\05832\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip\_internal\commands\configuration.py", line 267, in _save_configuration self.configuration.save() File "C:\Users\05832\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip\_internal\configuration.py", line 213, in save with open(fname, "w") as f: PermissionError: [Errno 13] Permission denied: 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\\pip.ini' ERROR: Internal Error.
מה בדיוק השגיאה אומרת?
-
@האדם-החושב שאין לך הרשאה לכתוב לקובץ ההגדרות
נסה ככה:
pip config set global.cert "C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt" --user