Django package to convert Less to CSS

52 views
Skip to first unread message

Chen Xu

unread,
Jul 29, 2014, 5:27:55 PM7/29/14
to django...@googlegroups.com
Hi, Everyone
I am wondering is there a good django package that can convert less file into css file?


Thanks


--
⚡ Chen Xu

carlos

unread,
Jul 29, 2014, 9:13:58 PM7/29/14
to django...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACac-qbgdcFCkQHUfcV1hh2GNbkZ95j6tjfJ0f%2B1BXExgomRhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Chen Xu

unread,
Jul 29, 2014, 10:08:47 PM7/29/14
to django...@googlegroups.com
I tried this, but I got errors like:

/Library/Ruby/Gems/2.0.0/gems/less-2.4.0/bin/lessc:100:in `read': No such file or directory - /Users/xuchen81/Desktop/hw-kkworld/assets/less/kk-less/_global.css (Errno::ENOENT)

from /Library/Ruby/Gems/2.0.0/gems/less-2.4.0/bin/lessc:100:in `<top (required)>'

from /usr/bin/lessc:23:in `load'

from /usr/bin/lessc:23:in `<main>'

Where I think  "/_global.css" is supposed to be generated. However, it says no such file.


Thanks




For more options, visit https://groups.google.com/d/optout.



--
⚡ Chen Xu

ma...@tubeards.com

unread,
Jul 30, 2014, 3:22:18 AM7/30/14
to django...@googlegroups.com
Hi,

are you using a virtualenv? Your lessc installation seems to point to a ruby one. (/Library/Ruby/Gems/2.0.0/gems/

less-2.4.0/bin/lessc)

Be shure to have the correct path, try `which lessc` to see where it points to.


Cheers

Marc

Reply all
Reply to author
Forward
0 new messages