You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is a bug on the Lightning using MacOS with Python3.7
To Reproduce
Run the pytest
Output
ImportError while importing test module '/Users/runner/work/PINA/PINA/tests/test_cartesian.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../hostedtoolcache/Python/3.7.[17](https://github.com/mathLab/PINA/actions/runs/5322584162/jobs/9639232481?pr=118#step:5:18)/x64/lib/python3.7/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_cartesian.py:4: in <module>
from pina import LabelTensor, Condition, CartesianDomain, PINN
pina/__init__.py:13: in <module>
from .pinn import PINN
pina/pinn.py:10: in <module>
from .solver import SolverInterface
pina/solver.py:5: in <module>
import lightning.pytorch as pl
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/__init__.py:32: in <module>
from lightning.app import storage # noqa: E402
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/__init__.py:25: in <module>
from lightning.app import components # noqa: E402, F401
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/components/__init__.py:1: in <module>
from lightning.app.components.database.client import DatabaseClient
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/components/database/__init__.py:2: in <module>
from lightning.app.components.database.server import Database
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/components/database/server.py:29: in <module>
from lightning.app.core.work import LightningWork
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/core/__init__.py:1: in <module>
from lightning.app.core.app import LightningApp
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/core/app.py:40: in <module>
from lightning.app.core.work import LightningWork
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/core/work.py:25: in <module>
from lightning.app.storage import Path
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/storage/__init__.py:1: in <module>
from lightning.app.storage.drive import Drive # noqa: F401
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/storage/drive.py:23: in <module>
from lightning.app.storage.path import _filesystem, _shared_storage_path, LocalFileSystem
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/lightning/app/storage/path.py:23: in <module>
from fsspec import AbstractFileSystem
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/fsspec/__init__.py:12: in <module>
from .compression import available_compressions
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/fsspec/compression.py:2: in <module>
from bz2 import BZ2File
../../../hostedtoolcache/Python/3.7.17/x64/lib/python3.7/bz2.py:[19](https://github.com/mathLab/PINA/actions/runs/5322584162/jobs/9639232481?pr=118#step:5:20): in <module>
from _bz2 import BZ2Compressor, BZ2Decompressor
E ModuleNotFoundError: No module named '_bz2'
The text was updated successfully, but these errors were encountered:
Describe the bug
There is a bug on the Lightning using MacOS with Python3.7
To Reproduce
Run the pytest
Output
The text was updated successfully, but these errors were encountered: