Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
6 Відповіді
51994 Переглядів

I try to install product_custom_attributes on an onsite v7 installation. I Have downloaded the zip file, unpacked and moved it to /opt/openerp/v7/addons. But trying to install it by clicking "install" gives me an error

Unable to install module "base_custom_attributes" because an external dependency is not met: No module named unidecode

that's pretty clear basically but I couldn't find any Module called "unidecode" so I am a little stuck. While looking around I found this https://github.com/buke/openerp-product-x-attributes but I am not really sure how this is related

Аватар
Відмінити
Автор

seems that the error message you get in OpenERP "no module named unidecode" is a little misleading. This is not a Module in OpenERP but a python package called unidecode

Найкраща відповідь

You need to install the unidecode Python package from PIP. 

https://pypi.python.org/pypi/Unidecode

The way to do that is in the terminal do:

# sudo pip install unidecode

Hope this helps

Аватар
Відмінити
Автор

to install pip on debian/ubuntu you do apt-get install pyhton-pip

Автор

yes, thanks that worked

Thanks @ Gustavo this fully work

Найкраща відповідь

If you're using the one-click full install of OpenERP you will see that with "pip install unidecode" won't work. That's because the one-click install comes with its own python packages.

So you need to download the zipped file from: https://pypi.python.org/pypi/Unidecode

Then you need to unzip it and copy the "unicode" folder and paste it into the /Server/server/ folder. In my case OpenERP v7 is installed in, c:\Program Files (x86)\OpenERP 7.0-20130412-232402\Server\server

Restart the server and that's it :)

Аватар
Відмінити
Найкраща відповідь

Today is Apr 27, 2023 and after trying a lot of things, the answer of Eric from 2014 was the one that worked for me. I downloaded the  "Unidecode-1.3.6.tar.gz" file from https://pypi.org/project/Unidecode/#files. Then I unzipped the file and got a folder called "Unidecode-1.3.6". Inside that I found all the files and a folder called "unidecode". I copied that folder and just pasted it in my server folder where the odoo-bin and odoo.conf files are located. Restarted the server and "Update Apps List" on the Odoo platform (Developer mode on). I installed the module that was having the error and it worked perfectly! No errors. Thanks Eric.

Аватар
Відмінити

I can confirm after make all other things, of course installed unicode with pip, your solution it´s the right path and the only way to do it I could find

Найкраща відповідь

Answers of Eric and Andres Rojas works for me as well.

Аватар
Відмінити
Найкраща відповідь

To do this on docker, login the bash

pip3 install unidecode

restart your container 

Аватар
Відмінити
Найкраща відповідь

with ubuntu

sudo apt-get install python-unicodecsv

and restart the server




Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
черв. 20
19770
0
бер. 16
5742
1
лют. 16
6033
0
бер. 15
4487
1
бер. 15
4565