Skip to content

Forum in maintenance, we will back soon 🙂

Trouble running Ear...
 
Notifications
Clear all

Trouble running Earthquake.

5 Posts
2 Users
4 Reactions
1,004 Views
(@kea11)
Posts: 3
Active Member
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 : 05/25/2023 7:18 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

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
Schedule 1-on-1 help
Join me on Slack

 
Posted : 05/25/2023 8:44 am
(@kea11)
Posts: 3
Active Member
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 : 05/25/2023 9:33 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@kea11 or just

pip install selenium

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

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

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

 

 
Posted : 05/30/2023 1:53 am
Share:
[the_ad_group id="312"]