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

Hello

I am trying to install odoo12 but I am getting

odoo.addons.base.models.assetsbundle: Could not execute command 'sassc'This error occured while compiling the bundle 'web.assets_frontend' containing  this error.

I tried below solution but didn't get any result

https://www.odoo.com/forum/help-1/question/ubuntu-16-04-how-to-install-sass-for-odoo-123090

can anyone help?

الصورة الرمزية
إهمال
أفضل إجابة



I had faced the same issue while installing odoo 12.

It was solved by typing ..

~# pip3 install libsass==0.12.3


Thanks...


iWesabe


الصورة الرمزية
إهمال
أفضل إجابة

Hi Dyvia,

I followed the following steps and the problem has been solved

Download and install SassC and LibSass

cd /usr/local/lib/
sudo git clone https://github.com/sass/sassc.git --branch 3.2.1 --depth 1
sudo git clone https://github.com/sass/libsass.git --branch 3.2.1 --depth 1
Then add the path to /etc/environment
sudo nano /etc/environment
# Add this line to the end of the file
SASS_LIBSASS_PATH="/usr/local/lib/libsass"
# Flush the changes… source /etc/environment # Make sure it worked… echo $SASS_LIBSASS_PATH # Now you can make SassC… cd /usr/local/lib/sassc/ sudo make

Then update SassC

cd /usr/local/lib/sassc/
SASS_LIBSASS_PATH="/usr/local/lib/libsass"; sudo make

The final step is to make sure the sassc command is in your PATH by creating a symbolic link in /usr/local/bin/.

cd /usr/local/bin/
ln -s ../lib/sassc/bin/sassc sassc

Restart your odoo and open it in new incognito window

The steps in the following link with some changes I have made

http://crocodillon.com/blog/how-to-install-sassc-and-libsass-on-ubuntu

Regards,

Hazem

الصورة الرمزية
إهمال
أفضل إجابة
1. pip3 install libsass==0.12.3


2.sudo apt update
sudo apt install sassc
الصورة الرمزية
إهمال
أفضل إجابة

hello 

go to odoo directory, execute below command in terminal

sudo pip3 install -r requirements.txt
الصورة الرمزية
إهمال
أفضل إجابة

sudo apt-get install python3-pip 

pip3 install -r requirements.txt (make sure you set path of odoo 12.0 directory)

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

You can see here http://crocodillon.com/blog/how-to-install-sassc-and-libsass-on-ubuntu it should help

Regards,

Mustufa Rangwala

الصورة الرمزية
إهمال
أفضل إجابة

Hello you can follow this video , it show you how to resolve the problem step by step

https://www.youtube.com/watch?v=s4ygbFH58h8

الصورة الرمزية
إهمال
أفضل إجابة

In Mac, i found same issue and solve by this command,

pip3 install libsass==0.12.3

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Install the package libsaas

Thanks




الصورة الرمزية
إهمال
الكاتب

can you give me command for that ?

Try sudo pip install libsaas

الكاتب

AttributeError: module 'sass' has no attribute 'compile'

getting this error after installing libsass

أفضل إجابة

Hi, Just simply run this command

sudo apt install python3-libsass

الصورة الرمزية
إهمال
أفضل إجابة

Checkout my answer: t.ly/NYA88

الصورة الرمزية
إهمال
أفضل إجابة

You need to run this command...

pip3 install libsass==0.12.3

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 20
22022
4
يونيو 24
7903
9
يناير 20
11370
3
يوليو 25
556
3
يونيو 25
3785