跳至內容
選單
此問題已被標幟
2 回覆
7859 瀏覽次數

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.

 

頭像
捨棄
作者 最佳答案

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.

頭像
捨棄

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

最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
7月 24
2663
1
6月 24
5133
1
10月 23
10842
1
10月 23
98
1
8月 23
2193