Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7865 Lượt xem

Hello everybody!!!

I installed the 11 th version of odoo But when i tried to launch the service, i got this error :

ImportError: cannot import name 'decorator'

So, i tried to install:
sudo apt-get install python-decorator
sudo apt-get install python3-decorator
sudo apt-get install decorator
sudo apt-get update
sudo apt-get install -f...
I have tried a lot of thing but nothing works.
Wouls anyone help me know because i need to work with odoo11 in the shortes delay.
Thank you a lot.
Best regards.

 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hi NIKHIL;

Thank you very much for answering me but here is what i got for each one:

1- Requirement already satisfied: decorator in /usr/local/lib/python3.4/dist-packages (4.0.10)

2- Requirement already satisfied: decorator in /usr/local/lib/python3.4/dist-packages (4.0.10)

3-python3-decorator is already the newest version.

0 mis à jour, 0 nouvellement installés, 0 à enlever et 584 non mis à jour.

which means that the package is well installed.

So what would be the problem my friend.

Need Help please.

Best regards.

Ảnh đại diện
Huỷ bỏ

Can you please provide any screenshots, when it happens. then we can help you

Câu trả lời hay nhất

Hi Vale Trood,

Just try these, definitely one of them will work for you.

sudo python3 -m pip install decorator

or

sudo pip3 install decorator

or

sudo apt-get install python3-decorator

Regards,

Nikhilkrishnan

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 24
2665
1
thg 6 24
5137
1
thg 10 23
10845
1
thg 10 23
98
1
thg 8 23
2193