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

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
11月 20
21543
4
6月 24
7625
9
1月 20
11047
3
6月 25
2478
5
5月 25
3556