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

AttributeError: module 'typing' has no attribute '_SpecialForm' #3

Open
TriBall3 opened this issue Apr 21, 2022 · 4 comments
Open

AttributeError: module 'typing' has no attribute '_SpecialForm' #3

TriBall3 opened this issue Apr 21, 2022 · 4 comments

Comments

@TriBall3
Copy link

When I run
python run_sim.py --eval --tasks flingbot-normal-rect-eval.hdf5 --load flingbot.pth --num_processes 1 --gui
there is a problem :

Traceback (most recent call last):
File "run_sim.py", line 1, in
from utils import (
File "/media/randy/299D817A2D97AD94/fty/flingbot/utils.py", line 2, in
from environment import SimEnv, TaskLoader
File "/media/randy/299D817A2D97AD94/fty/flingbot/environment/init.py", line 1, in
from .simEnv import SimEnv
File "/media/randy/299D817A2D97AD94/fty/flingbot/environment/simEnv.py", line 3, in
from .utils import (
File "/media/randy/299D817A2D97AD94/fty/flingbot/environment/utils.py", line 1, in
from torch import cat, tensor
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/torch/init.py", line 643, in
from .functional import * # noqa: F403
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/torch/functional.py", line 6, in
import torch.nn.functional as F
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/torch/nn/init.py", line 1, in
from .modules import * # noqa: F403
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/torch/nn/modules/init.py", line 2, in
from .linear import Identity, Linear, Bilinear, LazyLinear
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/torch/nn/modules/linear.py", line 6, in
from .. import functional as F
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/torch/nn/functional.py", line 11, in
from .._jit_internal import boolean_dispatch, _overload, BroadcastingList1, BroadcastingList2, BroadcastingList3
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/torch/_jit_internal.py", line 34, in
from typing_extensions import Final
File "/home/randy/anaconda3/envs/flingbot/lib/python3.6/site-packages/typing_extensions.py", line 159, in
class _FinalForm(typing._SpecialForm, _root=True):
AttributeError: module 'typing' has no attribute '_SpecialForm'

How can I solve this problem?

@RoeweYaoo
Copy link

I met too,would u solve it??

@mufenglalala
Copy link

What python version are you using?

@zcswdt
Copy link

zcswdt commented Nov 20, 2023

I met too,would u solve it??

Hello, have you passed the author's training program?

@zcswdt
Copy link

zcswdt commented Nov 20, 2023

I met too,would u solve it??

Hello, have you passed the author's training program?

Hello, have you passed the author's training program?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants