We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When excute: from torchrl.data.tensor_specs import TensorSpec
the error occurs: ImportError: DLL load failed while importing _torchrl
my system info:
When I install torchrl like :
pip intall torchrl==0.1.1
The error doesn't occur, but when I install locally by clone the repo(with tag 0.1.1) then do:
python.bat -m pip install -e .
then the error occurs.
I tried torchrl==0.2.0 with pip install and pip install -e, both of them doesn't work.
Steps to reproduce the behavior.
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
Please use the markdown code blocks for both code and stack traces.
ImportError: DLL load failed while importing _torchrl
Traceback (most recent call last): File "D:\OmniDrones\scripts\eval.py", line 8, in <module> from torchrl.data.tensor_specs import TensorSpec File "d:\rl\torchrl\__init__.py", line 40, in <module> import torchrl.collectors File "d:\rl\torchrl\collectors\__init__.py", line 6, in <module> from .collectors import ( File "d:\rl\torchrl\collectors\collectors.py", line 39, in <module> from torchrl.data.tensor_specs import CompositeSpec, TensorSpec File "d:\rl\torchrl\data\__init__.py", line 6, in <module> from . import datasets File "d:\rl\torchrl\data\datasets\__init__.py", line 1, in <module> from .d4rl import D4RLExperienceReplay File "d:\rl\torchrl\data\datasets\d4rl.py", line 14, in <module> from torchrl.data.replay_buffers import TensorDictReplayBuffer File "d:\rl\torchrl\data\replay_buffers\__init__.py", line 6, in <module> from .replay_buffers import ( File "d:\rl\torchrl\data\replay_buffers\replay_buffers.py", line 25, in <module> from torchrl.data.replay_buffers.samplers import ( File "d:\rl\torchrl\data\replay_buffers\samplers.py", line 13, in <module> from torchrl._torchrl import ( ImportError: DLL load failed while importing _torchrl: 找不到指定的程序。
A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Describe the characteristic of your environment:
import torchrl, numpy, sys print(torchrl.__version__, numpy.__version__, sys.version, sys.platform)
Add any other context about the problem here.
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
The text was updated successfully, but these errors were encountered:
This will be solved by #1642 which I will push soon!
Sorry, something went wrong.
I have pushed the binaries, you can now install torchrl with a pip install on apple silicon! Sorry for the mess
vmoens
No branches or pull requests
Describe the bug
When excute: from torchrl.data.tensor_specs import TensorSpec
the error occurs: ImportError: DLL load failed while importing _torchrl
my system info:
When I install torchrl like :
The error doesn't occur, but when I install locally by clone the repo(with tag 0.1.1) then do:
then the error occurs.
I tried torchrl==0.2.0 with pip install and pip install -e, both of them doesn't work.
To Reproduce
Steps to reproduce the behavior.
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
Please use the markdown code blocks for both code and stack traces.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System info
Describe the characteristic of your environment:
Additional context
Add any other context about the problem here.
Reason and Possible fixes
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
Checklist
The text was updated successfully, but these errors were encountered: