Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup script has a permission error on Mac #73

Open
mmc102 opened this issue Mar 14, 2024 · 3 comments
Open

Setup script has a permission error on Mac #73

mmc102 opened this issue Mar 14, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mmc102
Copy link

mmc102 commented Mar 14, 2024

Describe the bug
there is a bug in curl script on MacOS 14.1

To Reproduce
run curl command in a terminal

Expected behavior

script installs

Screenshots

» curl -sSL https://raw.githubusercontent.com/warpy-ai/tgs/main/install.sh | bash                                                               

No version specified, using latest: v0.2.9
Downloading https://github.com/warpy-ai/tgs/releases/download/v0.2.9/tgs-v0.2.9-aarch64-apple-darwin.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2051k  100 2051k    0     0  2038k      0  0:00:01  0:00:01 --:--:-- 10.8M
Extracting...
x inference_model.py
x model/
x model/tokenizer_config.json
x model/special_tokens_map.json
x model/config.json
x model/generation_config.json
x model/spiece.model
x model/pytorch_model.bin
x tgs
Installing...
mv: rename /var/folders/wf/htd4zs9j0sb4xvhl3hxl02700000gn/T/tmp.r8j7AHrG9T/tgs to /usr/local/bin/tgs: Permission denied

Desktop (please complete the following information):

  • OS: [e.g. iOS] --> macOS Sonoma 14.1
  • Terminnal : [sh , zsh] --> zsh

Additional context

I also tried giving sudo privileges but still hit the same error.

Looks like a great tool, excited to check it out :)

@mmc102 mmc102 added the bug Something isn't working label Mar 14, 2024
@jucasoliveira jucasoliveira self-assigned this Mar 16, 2024
@jucasoliveira
Copy link
Contributor

@mmc102 Thank you for the report, I'll update the script

@RonanKMcGovern
Copy link

Yup, same issue:

tgs
dyld[39149]: symbol not found in flat namespace '_PyBytes_AsString'
zsh: abort      tgs

@HillaShx
Copy link

HillaShx commented Aug 1, 2024

Hello @jucasoliveira! I'm facing the same issue mentioned in the previous reply, and I wanna offer my help with debugging and fixing this issue if you would like. I have no understanding of what's going on here, but if you point me in a direction I'd be happy to give it a shot :)

I'm running Sonoma 14.5 on an M1 MacBook Pro, and I'm using zsh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants