跳至内容
菜单
此问题已终结
2 回复
7862 查看

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
2665
1
6月 24
5134
1
10月 23
10844
1
10月 23
98
1
8月 23
2193