Unable to run the app, PermissionError: [Errno 1] Operation not permitted
Unsolved
Qt for Python
-
I just download the Qt Tools, opened QT Creator, created a new Qt for Python application (Window UI), hit the run button and encountered this error:
Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site.py", line 621, in <module> main() File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site.py", line 604, in main known_paths = venv(known_paths) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site.py", line 522, in venv with open(virtual_conf, encoding='utf-8') as f: PermissionError: [Errno 1] Operation not permitted: '/Users/m/Documents/projects/qtTestApp/venv/pyvenv.cfg'
How can I fix it to get it running? I haven't even written any code yet, I just download the tools, create a new app and hit run.
-
Hi and welcome to devnet,
What are the permission of the files of your project ?