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

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

Closed
vyomakesh09 opened this issue Dec 9, 2023 · 1 comment
Closed

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

vyomakesh09 opened this issue Dec 9, 2023 · 1 comment
Assignees
Labels
bug Something isn't working no-issue-activity

Comments

@vyomakesh09
Copy link
Contributor

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/sky_api.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!

@vyomakesh09 vyomakesh09 added the bug Something isn't working label Dec 9, 2023
Copy link

github-actions bot commented Feb 7, 2024

Stale issue message

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants