You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some circumstances, the path of python executable file isn't the fixed one. For example, it's in /data/data/com.termux/files/usr/bin/python. It results in playsound throws error on termux. For another example, one who compiles python by self can install it anywhere he/she wants. Instead, you could use sys.executable to automatically detect it.
The text was updated successfully, but these errors were encountered:
This might not only affect Termux, but also other Android device without root privileges.
For App coding.yu.pythoncompiler.new created by @yuruxuan, the interpreter is installed as /data/user/0/coding.yu.pythoncompiler.new/files/PYROOT3/bin/python3.
In some circumstances, the path of python executable file isn't the fixed one. For example, it's in
/data/data/com.termux/files/usr/bin/python
. It results in playsound throws error on termux. For another example, one who compiles python by self can install it anywhere he/she wants. Instead, you could usesys.executable
to automatically detect it.The text was updated successfully, but these errors were encountered: