تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7853 أدوات العرض

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
يوليو 24
2663
1
يونيو 24
5132
1
أكتوبر 23
10840
1
أكتوبر 23
98
1
أغسطس 23
2193