콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
12 답글
79760 화면

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
22476
4
6월 24
8360
9
1월 20
11816
3
7월 25
2163
3
6월 25
5082