Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when using with pypy #4

Open
Cheesy-Brik opened this issue Mar 24, 2024 · 0 comments
Open

Issue when using with pypy #4

Cheesy-Brik opened this issue Mar 24, 2024 · 0 comments

Comments

@Cheesy-Brik
Copy link

When using with pypy I am getting this error

Traceback (most recent call last):
  File "c:\Users\User\Desktop\Python Programs\redis\keydbtesting.py", line 4, in <module>
    from aiokeydb import KeyDBClient
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\__init__.py", line 3, in <module>     
    from aiokeydb.core import KeyDB, AsyncKeyDB
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\core.py", line 28, in <module>        
    from aiokeydb.connection import (
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\connection.py", line 39, in <module>  
    from aiokeydb.utils import set_ulimits
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\utils\__init__.py", line 1, in <module>
    from .base import (
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\utils\base.py", line 7, in <module>   
    from aiokeydb.types import ENOVAL
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\types\__init__.py", line 1, in <module>
    from .base import *
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\types\base.py", line 8, in <module>   
    from .compat import validator, root_validator, Field, PYD_VERSION, get_pyd_field_names, get_pyd_dict, pyd_parse_obj, get_pyd_schema        
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\aiokeydb\types\compat.py", line 12, in <module>    from lazyops.utils.imports import resolve_missing
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\lazyops\utils\__init__.py", line 1, in <module>    from .logs import logger
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\lazyops\utils\logs.py", line 9, in <module>    
    from lazyops.libs.logging import (
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\lazyops\libs\logging\__init__.py", line 6, in <module>
    from .main import (
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\lazyops\libs\logging\main.py", line 21, in <module>
    from loguru import _defaults
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\loguru\__init__.py", line 31, in <module>      
    logger.add(_sys.stderr)
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\loguru\_logger.py", line 979, in add
    exception_formatter = ExceptionFormatter(
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\loguru\_better_exceptions.py", line 157, in __init__
    self._lib_dirs = self._get_lib_dirs()
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\loguru\_better_exceptions.py", line 166, in _get_lib_dirs
    paths = {sysconfig.get_path(name, scheme) for scheme in schemes for name in names}
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\lib\site-packages\loguru\_better_exceptions.py", line 166, in <setcomp>
    paths = {sysconfig.get_path(name, scheme) for scheme in schemes for name in names}
  File "C:\Users\User\Downloads\pypy3.10-v7.3.12-win64\pypy3.10-v7.3.12-win64\Lib\sysconfig.py", line 596, in get_path
    return get_paths(scheme, vars, expand)[name]
KeyError: 'platstdlib'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant