pylyzer
pylyzer copied to clipboard
pylyzer makes every import as error
I run pylyzer in an activated poetry environment. It even marks packages form the standard library as errors.
1 | from string import Template
: --------
NotConstExpr: not a constant expression
Error[#2205]: File aigateway.py, line 5, <module>
5 | from openai import OpenAI
: --------
ImportError: module openai not found
Error[#0506]: File aigateway.py, line 5, <module>.OpenAI
5 | from openai import OpenAI
: ------
NotConstExpr: not a constant expression
Ubuntu 22.04, Python 3.12 via pyenv
Any updates?
Same issue here :/
same here (on macOS) :(
I think it's a duplicate of #22
Same issue here. Even inbuilt modules such as os
, sys
, platform
are being reported as missing. Used pylyzer
as server.