wawawario2 / long_term_memory

A gradio web UI for running Large Language Models like GPT-J 6B, OPT, GALACTICA, LLaMA, and Pygmalion.
GNU Affero General Public License v3.0
308 stars 15 forks source link

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

Open Delcos opened 1 year ago

Delcos commented 1 year ago

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_timestampparsing.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 ====================================================================================