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

Python3 #12

Open
CandiceJoy opened this issue Mar 26, 2022 · 7 comments
Open

Python3 #12

CandiceJoy opened this issue Mar 26, 2022 · 7 comments

Comments

@CandiceJoy
Copy link

Mac no longer ships with /usr/bin/python . Can you convert the workflow to use /usr/bin/python3 from homebrew? I made the changes in the 2 steps that have "/usr/bin/python" in them but it still doesn't run.

@RedcoatAsher
Copy link

+1

@landon8848
Copy link

There are still module imports to be resolved even if the workflow python path is updated to use /usr/bin/python3, notably cPickle and util, since the former is now native to python3 as _pickle and the latter was not available.

I haven't tried this as a workaround yet, and I doubt it would work, but you could try disabling SIP in MacOS to add the python -> python3 symlink in /usr/bin.

@xbot
Copy link

xbot commented May 20, 2022

+1

1 similar comment
@brttnylrnsstuff
Copy link

+1

@CandiceJoy
Copy link
Author

There are still module imports to be resolved even if the workflow python path is updated to use /usr/bin/python3, notably cPickle and util, since the former is now native to python3 as _pickle and the latter was not available.

I haven't tried this as a workaround yet, and I doubt it would work, but you could try disabling SIP in MacOS to add the python -> python3 symlink in /usr/bin.

I never disable SIP for any reason :P

@RedcoatAsher
Copy link

+1

@mdking117
Copy link

I'm running python 2.7.18 on macos v12.4 and I'm getting the following error: [00:32:31.383] ERROR: Fixum[Script Filter] JSON error: Invalid value around line 1, column 1. in JSON:
[Errno 2] No such file or directory
Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants