File "/usr/local/lib/python3.11/dist-packages/interpreter/terminal_interface/terminal_interface.py", line 19, in <module>
from ..core.utils.system_debug_info import system_info
File "/usr/local/lib/python3.11/dist-packages/interpreter/core/utils/system_debug_info.py", line 5, in <module>
import psutil
File "/usr/local/lib/python3.11/dist-packages/psutil/__init__.py", line 102, in <module>
from . import _pslinux as _psplatform
File "/usr/local/lib/python3.11/dist-packages/psutil/_pslinux.py", line 25, in <module>
from . import _psutil_linux as cext
ImportError: libc.so: cannot open shared object file: No such file or directory
or segmentation fault for other packages (curl, apt) if e.g.
Preparing to unpack .../python3-psutil_5.9.4-1+b1_arm64.deb ...
Unpacking python3-psutil (5.9.4-1+b1) over (5.9.4-1+b1) ...
Setting up python3-psutil (5.9.4-1+b1) ...
root@localhost:~# i
We have updated our profile file format. Would you like to migrate your profile file to the new format? No data will be lost.
(y/n) y
Migration complete.
▌ Model set to claude-3-sonnet-20240229
Open Interpreter will require approval before
running code.
Use interpreter -y to bypass this.
Press CTRL-C to exit.
etc .
Reproduce
Run upgrade in e.g.
:
root@localhost:~# uname -a Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Thu Mar 17 16:28:22 CST 2022 aarch64 GNU/Linuxroot@localhost:~#
Expected behavior
Upgrade should somehow detect the OS, the Termux prooted Debian here.
Screenshots
No response
Open Interpreter version
E.g.. when upgrading to: 0.2.5
Python version
Python 3.11.2
Operating System name and version
Prooted Debian (as regular Termux crashes with ipykernel too often)
Additional context
Upgrade is ok in regular Termux:
root@localhost:~# uname -a Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Thu Mar 17 16:28:22 CST 2022 aarch64 GNU/Linuxroot@localhost:~#
Describe the bug
As with each upgrade in Termux psutils is also changed:
which results in:
or segmentation fault for other packages (curl, apt) if e.g.
the most reliable fix each time is to downgrade Python's (sic!) psutil by this one-liner, each time:
FYI, then all ok:
etc .
Reproduce
Run upgrade in e.g. :
Expected behavior
Upgrade should somehow detect the OS, the Termux prooted Debian here.
Screenshots
No response
Open Interpreter version
E.g.. when upgrading to: 0.2.5
Python version
Python 3.11.2
Operating System name and version
Prooted Debian (as regular Termux crashes with ipykernel too often)
Additional context
Upgrade is ok in regular Termux:
the above downgrade then not needed.