Closed hn2 closed 2 years ago
I'm not sure why this happens if you installed d3rlpy via anaconda. One possible reason is the incompatible version of numpy. Can you try to downgrade numpy like this? I don't know how to do it for anaconda though.
$ pip install -U numpy==1.19.5
Let me close this issue. Feel free to reopen this if you have anything to discuss.
Any idea what this error is?
Platform is ubuntu 22.04 on aws graviton3 (arm). d3rlpy: 1.1.0 torch : 1.11.0
import d3rlpy as d3 File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/init.py", line 6, in
from . import (
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/algos/init.py", line 3, in
from .awac import AWAC
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/algos/awac.py", line 3, in
from ..argument_utility import (
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/argument_utility.py", line 6, in
from .models.encoders import EncoderFactory, create_encoder_factory
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/models/init.py", line 1, in
from . import encoders, optimizers, q_functions
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/models/encoders.py", line 7, in
from ..torch_utility import Swish
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/torch_utility.py", line 12, in
from .dataset import TransitionMiniBatch
ImportError: /home/ubuntu/anaconda3/lib/python3.8/site-packages/d3rlpy/dataset.cpython-38-aarch64-linux-gnu.so: undefined symbol: _ZSt28__throw_bad_array_new_lengthv