Closed SaboniAmine closed 1 month ago
The last part of your traceback:
import psutil
File "/Users/amine/anaconda3/envs/cc/lib/python3.9/site-packages/psutil/__init__.py", line 123, in <module>
from . import _psosx as _psplatform
File "/Users/amine/anaconda3/envs/cc/lib/python3.9/site-packages/psutil/_psosx.py", line 37, in <module>
PAGESIZE = cext_posix.getpagesize()
AttributeError: module 'psutil._psutil_posix' has no attribute 'getpagesize'
Suggests that just import psutil
doesn't work on your system, unrelated to logfire.
We already use:
Thanks for the feedback. Surprisingly, psutil 5.9.8 have no trouble being imported by its own from my env. If it's already supported from your side, then you are right to ignore this.
Description
Hello,
While working on code carbon integration, I encountered an incompatibility of logfire & latest psutil version. We use it only for test purposes, so I'm not asking a change from your side, but just to inform you that there is a total incompatibility, both auth/info return the same error:
running with psutil 5.7.3 is totally fine, we'll do the switch from our side.
Python, Logfire & OS Versions, related packages (not required)