The-Swarm-Corporation / swarms-cloud

Deploy your autonomous agents to production grade environments with 99% Uptime Guarantee, Infinite Scalability, and self-healing.
https://discord.gg/GYbXvDGevY
MIT License
24 stars 9 forks source link

[BUG] ModuleNotFoundError: No module named 'swarm_cloud' #6

Closed vyomakesh09 closed 7 months ago

vyomakesh09 commented 9 months ago

CLIENT: Server listening on port 41489... Received JSON data in run script Error: No test ids received from stdin, could be an error or a run request without ids provided. Running pytest with no test ids as args. Args being used: ['--rootdir', '/home/v/swarms-cloud'] ============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-7.4.2, pluggy-1.3.0 rootdir: /home/v/swarms-cloud plugins: anyio-3.7.1 collected 39 items / 2 errors

==================================== ERRORS ==================================== __ ERROR collecting tests/test_sky.py __ ImportError while importing test module '/home/v/swarms-cloud/tests/test_sky.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) tests/test_sky.py:2: in from swarms_cloud.sky_api import SkyInterface swarms_cloud/skyapi.py:2: in from sky.exceptions import ( E ImportError: cannot import name 'ClusterOwnerIdentitiesMismatchError' from 'sky.exceptions' (/home/v/.local/lib/python3.10/site-packages/sky/exceptions.py) ____ ERROR collecting tests/test_supabase_pro.py __ ImportError while importing test module '/home/v/swarms-cloud/tests/test_supabase_pro.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) tests/test_supabase_pro.py:5: in from swarm_cloud.supabase_handler import SwarmCloudUsageLogger E ModuleNotFoundError: No module named 'swarm_cloud' =============================== warnings summary =============================== ../.local/lib/python3.10/site-packages/PyPDF2/init.py:21 /home/v/.local/lib/python3.10/site-packages/PyPDF2/init.py:21: DeprecationWarning: PyPDF2 is deprecated. Please move to the pypdf library instead. warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_sky.py ERROR tests/test_supabase_pro.py !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ========================= 1 warning, 2 errors in 2.05s ========================= Finished running tests!

github-actions[bot] commented 7 months ago

Stale issue message