This question has been flagged
2 Replies
7068 Views

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.

 

Avatar
Discard
Author Best Answer

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.

Avatar
Discard

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

Best Answer

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

Avatar
Discard