Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in compiling createWebBook.py #235

Closed
AnasGhrab opened this issue Sep 14, 2016 · 2 comments
Closed

Problem in compiling createWebBook.py #235

AnasGhrab opened this issue Sep 14, 2016 · 2 comments

Comments

@AnasGhrab
Copy link

compiling ../static/style/style.scss
Traceback (most recent call last):
  File "createWebBook.py", line 146, in <module>
    compiledCss = sass.compile(filename=staticScssFile)
AttributeError: module 'sass' has no attribute 'compile'

Any help ?

@mikewesthad
Copy link
Member

@AnasGhrab do you have libsass installed? That's one of the dependencies for building the book

@mikewesthad
Copy link
Member

I think the issue might have been having the "sass" python package installed instead of the "libsass" package (or having an out-of-date libsass package). To help avoid issues like this, I added a requirements.txt file to automate the installation of necessary python packages and updated installation instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants