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

ModuleNotFoundError: No module named 'minifier' on Python 3.10 #117

Open
QwertyCodeQC opened this issue Jun 3, 2024 · 1 comment
Open

Comments

@QwertyCodeQC
Copy link

I wanted to parse js and this error appeard

Traceback (most recent call last):
  File "/workspaces/some_project", line 5, in <module>
    from slimit.parser import Parser
  File "/home/codespace/.python/current/lib/python3.10/site-packages/slimit/__init__.py", line 27, in <module>
    from minifier import minify
ModuleNotFoundError: No module named 'minifier'

How to fix it

@QwertyCodeQC QwertyCodeQC changed the title ModuleNotFoundError: No module named 'minifier' on Python 3.9 ModuleNotFoundError: No module named 'minifier' on Python 3.10 Jun 3, 2024
@indiofran
Copy link

i use pip install git+https://github.com/rspivak/slimit.git#egg=slimit to solve it

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