Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
12 Răspunsuri
78652 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns



I had faced the same issue while installing odoo 12.

It was solved by typing ..

~# pip3 install libsass==0.12.3


Thanks...


iWesabe


Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns
1. pip3 install libsass==0.12.3


2.sudo apt update
sudo apt install sassc
Imagine profil
Abandonează
Cel mai bun răspuns

hello 

go to odoo directory, execute below command in terminal

sudo pip3 install -r requirements.txt
Imagine profil
Abandonează
Cel mai bun răspuns

sudo apt-get install python3-pip 

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

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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

Regards,

Mustufa Rangwala

Imagine profil
Abandonează
Cel mai bun răspuns

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

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

pip3 install libsass==0.12.3

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Install the package libsaas

Thanks




Imagine profil
Abandonează
Autor

can you give me command for that ?

Try sudo pip install libsaas

Autor

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

getting this error after installing libsass

Cel mai bun răspuns

Hi, Just simply run this command

sudo apt install python3-libsass

Imagine profil
Abandonează
Cel mai bun răspuns

Checkout my answer: t.ly/NYA88

Imagine profil
Abandonează
Cel mai bun răspuns

You need to run this command...

pip3 install libsass==0.12.3

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
nov. 20
22009
4
iun. 24
7896
9
ian. 20
11361
3
iul. 25
538
3
iun. 25
3767