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

fix pls #1

Open
darkzone964 opened this issue Sep 19, 2023 · 6 comments
Open

fix pls #1

darkzone964 opened this issue Sep 19, 2023 · 6 comments

Comments

@darkzone964
Copy link

python3 GoogleFU.py
Traceback (most recent call last):
File "/home/dark/Desktop/tools/GoogleFU/GoogleFU.py", line 2, in
from modules.search import Search
File "/home/dark/Desktop/tools/GoogleFU/modules/search.py", line 1, in
from googlesearch import search as gsearch
ImportError: cannot import name 'search' from 'googlesearch' (/usr/local/lib/python3.11/dist-packages/googlesearch/init.py)

@Jaynornj
Copy link

You need to import that requires libraries @darkzone964

@darkzone964
Copy link
Author

i download the txt file and i search for the library but its not working

@tiagolopez
Copy link

python3 GoogleFU.py
/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/tiago/GoogleFU.py': [Errno 2] No such file or directory

Why? I installed everything smoothly

@tiagolopez
Copy link

im on MacOS bth. M1

@champmq
Copy link
Owner

champmq commented Mar 7, 2024

R u in the folder when u run that command?

@Nthompson096
Copy link

Did you create a virtual python environment @darkzone964?

Python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 GoogleFU.py

That's what I did to get this to work under linux; windows may be different tho.

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

5 participants