eisenxp / macos-golink-wrapper

solution to "syscall.Mprotect panic: permission denied" on macOS Catalina 10.15.x
MIT License
219 stars 53 forks source link

macos 12.3 python3 not work #5

Closed imqishi closed 2 years ago

imqishi commented 2 years ago

try to use

!/usr/bin/env python

in beginning of file, and print(output.replace(original_link_file, 'link')) but still cannot exec, error is: Traceback (most recent call last): File "/usr/local/Cellar/go@1.17/1.17.9/libexec/pkg/tool/darwin_amd64/link", line 20, in print(output.replace(original_link_file, 'link')) TypeError: a bytes-like object is required, not 'str'

imqishi commented 2 years ago

see newest version