text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

Seeing "Operation not permitted" when installing on Mac OS 12.3.1

Open programmingkidx opened this issue 2 years ago • 3 comments

Describe the bug

After downloading the installer for Mac OS I tried to run the start script in the terminal and saw the error "Permission denied". After running "chmod +x start_macos.sh" I was able to make it execute. It did not complete successfully. Here is the error I saw:

Miniconda version: Traceback (most recent call last): File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/bin/conda", line 12, in from conda.cli import main File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/cli/init.py", line 3, in from .main import main # NOQA File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/cli/main.py", line 34, in from .conda_argparse import generate_parser File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/cli/conda_argparse.py", line 27, in from ..base.context import context File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/base/context.py", line 63, in os.getcwd() PermissionError: [Errno 1] Operation not permitted Traceback (most recent call last): File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/bin/conda", line 12, in from conda.cli import main File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/cli/init.py", line 3, in from .main import main # NOQA File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/cli/main.py", line 34, in from .conda_argparse import generate_parser File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/cli/conda_argparse.py", line 27, in from ..base.context import context File "/Users/user/Downloads/oobabooga_macos/installer_files/conda/lib/python3.10/site-packages/conda/base/context.py", line 63, in os.getcwd() PermissionError: [Errno 1] Operation not permitted Conda environment is empty.

Is there an existing issue for this?

  • [X] I have searched the existing issues

Reproduction

Try to run the start_macos.sh script.

Screenshot

No response

Logs

See description.

System Info

Mac OS 12.3.1
M1 CPU
Python 3.10.9

programmingkidx avatar May 07 '23 18:05 programmingkidx

@programmingkidx delete all files and try to run again with bash start_macos.sh. Do you still have the problem?

xNul avatar May 07 '23 19:05 xNul

@xNul Yes.

programmingkidx avatar May 07 '23 21:05 programmingkidx

@programmingkidx have you tried this? https://stackoverflow.com/questions/58479686/permissionerror-errno-1-operation-not-permitted-after-macos-catalina-update

xNul avatar May 08 '23 03:05 xNul

This fixed the problem. Thank you very much for the help.

programmingkidx avatar May 16 '23 14:05 programmingkidx

@programmingkidx no problem! Please close the issue if everything is resolved

xNul avatar May 17 '23 03:05 xNul