-
Notifications
You must be signed in to change notification settings - Fork 63
zsh: ../configure: bad interpreter: /usr/bin/python: no file or directory #234
Comments
I think you'd have to do something like
#!/usr/bin/python And replace them with this: #!/usr/bin/env python If you get this working, please send a PR! |
Then As for the other issue, that's not indentation. In Python 3, print is a function rather than a statement. For example: print('export %s="%s"' % (key, value)) But that file (in third_party/boringssl) is coming from another repository through a git submodule. You will need to update the submodule to get a newer version of boringssl that has adopted Python 3. |
Thanks @joeyparrish Yes! I have changed it to I updated that submodule URL of boringssl form I tried to update the submodule but it is still the same when I run
This line always updates the submodule I guess! |
It's not the URL that needs updating, but the git reference (SHA1) to pull. |
Hello @joeyparrish Can you please explain to me a bit how should I do that I have been waiting for your reply as I spent my whole day fixing this? because I did check out the boringssl and pulled everything from the master branch but when I do |
Can you please help me in resolving this error! It would be a great help for me. So that I will be able to build the SDK and start developing the app As I have tried all the possible ways to do it. Please On boringssl it shows |
I did then when I do is there a flag to stop the already cloned repos? |
In a nutshell, go to the submodule folder, which has its own ".git" and everything, then git pull and checkout a newer revision (main, a certain version, whatever). Then go back to the shaka-player-embedded repo and you can "commit" the change in submodule revision. See also the docs on submodules: https://git-scm.com/book/en/v2/Git-Tools-Submodules |
yes was also able to do with I see a |
Then perhaps something about the way the shaka-player-embedded build system builds/configures boringssl needs to be updated to match the newer version of boringssl. Sorry I don't have anything more specific to offer. You may want to dig through the source of both projects. |
I was able to install python 2.7.18 in macOS Monetary and was not having the previous errors but now I am interrupted with the new error
Is it because of python version 2.7.18 where subprocess.py raise the error ? |
Have you solved your problem? |
Not yet! We have to make all the third-party libs plus the main Shaka-embedded compatible with the latest python version. which is really very complex to do for me because of having no prior experience in Objective C |
INSTALL 2 version pf python 2.7.18 and 3 when You configure use pyhton2.7 and for make python3 . |
I have python3 in my MacOS in /usr/bin/python3 v3.9 no supported by shaka-player embedded for now
but I have python v2.7 in /usr/local/bin/python
when I run ../configure it says
zsh: ../configure: bad interpreter: /usr/bin/python: no file or directory
Can you guide me on how should I configure it so it points to /urs/local/bin/python
Or any PATH config to make python2.7 in /usr/local/bin/python should appear in /usr/bin/python*
The text was updated successfully, but these errors were encountered: