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

ImportError: No module named pattern.search #31

Closed
adekbadek opened this issue Aug 9, 2014 · 2 comments
Closed

ImportError: No module named pattern.search #31

adekbadek opened this issue Aug 9, 2014 · 2 comments

Comments

@adekbadek
Copy link

Hi, I'm new to Python, so maybe I've made some stupid mistake. But I followed the instructions, double-checked if the requirements have installed, but still I get this output:

Traceback (most recent call last):
File "videogrep.py", line 7, in
import search as Search
File "/Users/adam/Desktop/videogrep/search.py", line 2, in
from pattern.search import Pattern, STRICT, search
ImportError: No module named pattern.search

I'm on a mac and pattern is in /usr/local/lib/python2.7/site-packages, so there should be no problem.

@otite
Copy link

otite commented Sep 13, 2014

same here...

@marclundgren
Copy link

pip install -r requirements.txt

...
error: could not create '/Library/Python/2.7/site-packages/pattern': Permission denied

try sudo pip install -r requirements.txt

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

4 participants