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

Getting an issue that pip isn't fixing either. #38

Open
Delcos opened this issue May 27, 2023 · 0 comments
Open

Getting an issue that pip isn't fixing either. #38

Delcos opened this issue May 27, 2023 · 0 comments

Comments

@Delcos
Copy link

Delcos commented May 27, 2023

I've been getting this issue even after using a new environment and installing through pip.

======================================================================================== test session starts ========================================================================================
platform linux -- Python 3.10.6, pytest-7.2.2, pluggy-1.0.0 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/del/30/text-generation-webui
plugins: anyio-3.6.2
collected 0 items / 3 errors

============================================================================================== ERRORS ===============================================================================================
__________________________________________________________ ERROR collecting extensions/long_term_memory/core/_test/test_memory_database.py __________________________________________________________
ImportError while importing test module '/home/del/30/text-generation-webui/extensions/long_term_memory/core/_test/test_memory_database.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
extensions/long_term_memory/core/_test/test_memory_database.py:8: in
from extensions.long_term_memory.core.memory_database import (
../../.local/lib/python3.10/site-packages/extensions/init.py:2: in
from extensions import dist
../../.local/lib/python3.10/site-packages/extensions/dist.py:9: in
from extensions.command.install_egg_info import install_egg_info
../../.local/lib/python3.10/site-packages/extensions/command/install_egg_info.py:19: in
from extensions.registry import stream_registered
../../.local/lib/python3.10/site-packages/extensions/registry.py:4: in
from ConfigParser import ConfigParser
E ModuleNotFoundError: No module named 'ConfigParser'
___________________________________________________________ ERROR collecting extensions/long_term_memory/utils/_test/test_chat_parsing.py ___________________________________________________________
ImportError while importing test module '/home/del/30/text-generation-webui/extensions/long_term_memory/utils/_test/test_chat_parsing.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
extensions/long_term_memory/utils/_test/test_chat_parsing.py:3: in
from extensions.long_term_memory.utils.chat_parsing import (
../../.local/lib/python3.10/site-packages/extensions/init.py:2: in
from extensions import dist
../../.local/lib/python3.10/site-packages/extensions/dist.py:9: in
from extensions.command.install_egg_info import install_egg_info
../../.local/lib/python3.10/site-packages/extensions/command/install_egg_info.py:19: in
from extensions.registry import stream_registered
../../.local/lib/python3.10/site-packages/extensions/registry.py:4: in
from ConfigParser import ConfigParser
E ModuleNotFoundError: No module named 'ConfigParser'
________________________________________________________ ERROR collecting extensions/long_term_memory/utils/_test/test_timestamp_parsing.py _________________________________________________________
ImportError while importing test module '/home/del/30/text-generation-webui/extensions/long_term_memory/utils/_test/test_timestamp_parsing.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
extensions/long_term_memory/utils/_test/test_timestamp_parsing.py:7: in
from extensions.long_term_memory.utils.timestamp_parsing import (
../../.local/lib/python3.10/site-packages/extensions/init.py:2: in
from extensions import dist
../../.local/lib/python3.10/site-packages/extensions/dist.py:9: in
from extensions.command.install_egg_info import install_egg_info
../../.local/lib/python3.10/site-packages/extensions/command/install_egg_info.py:19: in
from extensions.registry import stream_registered
../../.local/lib/python3.10/site-packages/extensions/registry.py:4: in
from ConfigParser import ConfigParser
E ModuleNotFoundError: No module named 'ConfigParser'
========================================================================================= warnings summary ==========================================================================================
../../.local/lib/python3.10/site-packages/extensions/dist.py:8
/home/del/.local/lib/python3.10/site-packages/extensions/dist.py:8: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.dist import Distribution

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================================================================================== short test summary info ======================================================================================
ERROR extensions/long_term_memory/core/_test/test_memory_database.py
ERROR extensions/long_term_memory/utils/_test/test_chat_parsing.py
ERROR extensions/long_term_memory/utils/_test/test_timestamp_parsing.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=================================================================================== 1 warning, 3 errors in 0.45s ====================================================================================

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