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
Hello, I'm having trouble running from phi.torch import flow with phiflow 3.2.0 and torch 2.6.0. I'm on a Mac with Apple Silicon chip running macOS Sequoia 15.3. The error message I got was:
$ python
Python 3.12.7 (main, Oct 1 2024, 02:05:46) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from phi.torch import flow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/username/Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages/phi/torch/flow.py", line 15, in <module>
from phi.flow import *
File "/Users/username/Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages/phi/flow.py", line 20, in <module>
from . import geom, field, physics, vis
File "/Users/username/Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages/phi/geom/__init__.py", line 22, in <module>
from ._cylinder import Cylinder, cylinder
File "/Users/username/Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages/phi/geom/_cylinder.py", line 7, in <module>
from phiml.math._magic_ops import all_attributes, getitem_dataclass
ImportError: cannot import name 'getitem_dataclass' from 'phiml.math._magic_ops' (/Users/username/Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages/phiml/math/_magic_ops.py)
The versions of phiflow and its dependencies are:
pip install phiflow
Requirement already satisfied: phiflow in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (3.2.0)
Requirement already satisfied: phiml>=1.10.0 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from phiflow) (1.12.0)
Requirement already satisfied: matplotlib>=3.5.0 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from phiflow) (3.10.0)
Requirement already satisfied: packaging in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from phiflow) (24.2)
Requirement already satisfied: contourpy>=1.0.1 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (1.3.1)
Requirement already satisfied: cycler>=0.10 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (4.55.8)
Requirement already satisfied: kiwisolver>=1.3.1 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (1.4.8)
Requirement already satisfied: numpy>=1.23 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (1.26.4)
Requirement already satisfied: pillow>=8 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (11.1.0)
Requirement already satisfied: pyparsing>=2.3.1 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (3.2.1)
Requirement already satisfied: python-dateutil>=2.7 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from matplotlib>=3.5.0->phiflow) (2.9.0.post0)
Requirement already satisfied: scipy>=1.5.4 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from phiml>=1.10.0->phiflow) (1.15.1)
Requirement already satisfied: six>=1.5 in ./Library/Caches/pypoetry/virtualenvs/flygym-xZomk8QD-py3.12/lib/python3.12/site-packages (from python-dateutil>=2.7->matplotlib>=3.5.0->phiflow) (1.17.0)
Do you know what might be going on? Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Hello, I'm having trouble running
from phi.torch import flow
with phiflow 3.2.0 and torch 2.6.0. I'm on a Mac with Apple Silicon chip running macOS Sequoia 15.3. The error message I got was:The versions of phiflow and its dependencies are:
Do you know what might be going on? Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: