Skip to content

Prompt Engineering Forum

A Private Forum For Premium Users

Trouble running Ear...
 
Notifications
Clear all

Trouble running Earthquake.

5 Posts
2 Users
4 Likes
404 Views
(@kea11)
Posts: 3
Active Member
Points: 18
Topic starter
 

Hi, I installed Python on my mac then downloaded the script zip. Unzipped then opened the ai.py using the python launcher It returned this:

ModuleNotFoundError: No module named 'openai'. I can edit in my API key using X-code. But the run-me.bat fails then if I run it using the python launcher. Actually my mac wont let me use python to run the bat! It just gives me visual studio as the option available? Thanks.

 
Posted : 25/05/2023 7:18 am
SSAdvisor
(@ssadvisor)
Posts: 263
Reputable Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
Points: 1056
 

You're definitely a greenhorn. The run-me.bat file is a Windows shell file that installs the required modules.  Modules are installed using the pipe command of which openai is just one. HTH.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
https://calendly.com/seasonedsolutionsadvisor

 
Posted : 25/05/2023 8:44 am
(@kea11)
Posts: 3
Active Member
Points: 18
Topic starter
 

@ssadvisor Thanks for your answer. Very helpful. That will be why I'm getting this then. geoffreypkeall@Geoffreys-Shared-HP-DJ2130 py_scripts % /usr/local/bin/python3 "/Volumes/Elements SE Exp/Documents copy/Misc./Business
/Internet Marketing/AI/Harlen/Earthquake/GPT-EarthQuake-main/app.py"
Traceback (most recent call last):
File "/Volumes/Elements SE Exp/Documents copy/Misc./Business/Internet Marketing/AI/Harlen/Earthquake/GPT-EarthQuake-main/app.py", line 2, in <module>
import scraper as sc
File "/Volumes/Elements SE Exp/Documents copy/Misc./Business/Internet Marketing/AI/Harlen/Earthquake/GPT-EarthQuake-main/scraper.py", line 1, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
geoffreypkeall@Geoffreys-Shared-HP-DJ2130 py_scripts % 😀 I guess I better dust off my PC then so I don't add to the complexity!

 
Posted : 25/05/2023 9:33 am
SSAdvisor
(@ssadvisor)
Posts: 263
Reputable Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
Points: 1056
 

@kea11 or just

pip install selenium

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
https://calendly.com/seasonedsolutionsadvisor

 
Posted : 26/05/2023 12:43 am
(@kea11)
Posts: 3
Active Member
Points: 18
Topic starter
 

@ssadvisor Thank you for the advice, much appreciated. Slowly getting there lol.

 

 
Posted : 30/05/2023 1:53 am

Share:
Take Your Digital Marketing Skills To The Next Level

© 2023 LearnWithHasan | All Rights Reserved.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

🔴 New Series Started: Programming With AI - RJP Technique
This is default text for notification bar