denedim daha önce hocam aşşağıdaki hata
>pip install markupsafe==2.0.1
Collecting markupsafe==2.0.1
Using cached https://files.pythonhosted.org/packages/30/9e/4b7116f464a0151b86ce42b5185941eb74c207b38fe033f71f5e5d150356/MarkupSafe-2.0.1-cp38-cp38-win_amd64.whl
ERROR: werkzeug 2.2.2 has requirement MarkupSafe>=2.1.1, but you'll have markupsafe 2.0.1 which is incompatible.
Installing collected packages: markupsafe
Found existing installation: markupsafe 2.1.1
Uninstalling markupsafe-2.1.1:
Successfully uninstalled markupsafe-2.1.1
Rolling back uninstall of markupsafe
Moving to c:\users\toshiba\appdata\roaming\python\python38\site-packages\markupsafe-2.1.1.dist-info\
from C:\Users\TOSHIBA\AppData\Roaming\Python\Python38\site-packages\~arkupsafe-2.1.1.dist-info
Moving to c:\users\toshiba\appdata\roaming\python\python38\site-packages\markupsafe\
from C:\Users\TOSHIBA\AppData\Roaming\Python\Python38\site-packages\~arkupsafe
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Erişim engellendi: 'c:\\program files\\python38\\Lib\\site-packages\\markupsafe'
Consider using the `--user` option or check the permissions.
WARNING: You are using pip version 19.2.3, however version 22.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
yönetici olarak çalıştırıldı şuan aşşağıdaki hatalar kaldı sadece
>python run.py
Traceback (most recent call last):
File "run.py", line 7, in <module>
import flask
File "C:\Users\TOSHIBA\AppData\Roaming\Python\Python38\site-packages\flask\__init__.py", line 19, in <module>
from . import json
File "C:\Users\TOSHIBA\AppData\Roaming\Python\Python38\site-packages\flask\json\__init__.py", line 15, in <module>
from itsdangerous import json as _json
ImportError: cannot import name 'json' from 'itsdangerous' (C:\Users\TOSHIBA\AppData\Roaming\Python\Python38\site-packages\itsdangerous\__init__.py)