paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
18.57k stars 1.72k forks source link

circle error in area of compatibility issue that dont seem to get sorted even though i have tried lots #1489

Open DMTarmey opened 1 week ago

DMTarmey commented 1 week ago

Issue

(myenv) dmtarmey  …/aider-chat   main !?⇡   v22.8.0  13:49  pytest =========================== test session starts =========================== platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0 rootdir: /home/dmtarmey/Projects/aider-chat configfile: pytest.ini plugins: anyio-4.4.0 collected 3 items / 8 errors

================================= ERRORS ================================== __ ERROR collecting tests/test_coder.py _____ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_coder.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_coder.py:10: in from aider.coders import Coder aider/coders/init.py:1: in from .base_coder import Coder aider/coders/base_coder.py:14: in from jsonschema import Draft7Validator E ModuleNotFoundError: No module named 'jsonschema' ___ ERROR collecting tests/testcommands.py ____ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_commands.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_commands.py:13: in from aider.coders import Coder aider/coders/init.py:1: in from .base_coder import Coder aider/coders/base_coder.py:14: in from jsonschema import Draft7Validator E ModuleNotFoundError: No module named 'jsonschema' ____ ERROR collecting tests/testeditblock.py ____ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_editblock.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_editblock.py:9: in from aider.coders import Coder aider/coders/init.py:1: in from .base_coder import Coder aider/coders/base_coder.py:14: in from jsonschema import Draft7Validator E ModuleNotFoundError: No module named 'jsonschema' _____ ERROR collecting tests/test_main.py ___ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_main.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_main.py:15: in from aider.main import check_gitignore, main, setupgit aider/main.py:5: in import configargparse E ModuleNotFoundError: No module named 'configargparse' ____ ERROR collecting tests/test_repo.py _____ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_repo.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_repo.py:11: in from aider.repo import GitRepo aider/repo.py:7: in from aider.sendchat import simple_send_withretries aider/sendchat.py:7: in from openai.error import ( E ModuleNotFoundError: No module named 'openai.error' ____ ERROR collecting tests/test_repomap.py ____ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_repomap.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/testrepomap.py:9: in from aider.repomap import RepoMap aider/repomap.py:11: in import networkx as nx E ModuleNotFoundError: No module named 'networkx' ____ ERROR collecting tests/testsendchat.py ____ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_sendchat.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_sendchat.py:7: in from aider.sendchat import send_with_retries aider/sendchat.py:7: in from openai.error import ( E ModuleNotFoundError: No module named 'openai.error' ____ ERROR collecting tests/testwholefile.py ____ ImportError while importing test module '/home/dmtarmey/Projects/aider-chat/tests/test_wholefile.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/init.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_wholefile.py:9: in from aider.coders import Coder aider/coders/init.py:1: in from .base_coder import Coder aider/coders/base_coder.py:14: in from jsonschema import Draft7Validator E ModuleNotFoundError: No module named 'jsonschema' ========================= short test summary info ========================= ERROR tests/test_coder.py ERROR tests/test_commands.py ERROR tests/test_editblock.py ERROR tests/test_main.py ERROR tests/test_repo.py ERROR tests/test_repomap.py ERROR tests/test_sendchat.py ERROR tests/test_wholefile.py !!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!! =========================== 8 errors in 16.20s ============================

(myenv) dmtarmey  …/aider-chat   main !?⇡   v22.8.0  13:49 

Version and model info

lattest of of today 11 09 2024

fry69 commented 1 week ago

Have you read -> https://github.com/paul-gauthier/aider/blob/main/CONTRIBUTING.md and set up your environment correctly?