ChatGPT Earthquake on Mac
Do you have the script files also for Mac?
If you are on a Mac:
1) Create a new file in the ChatGPT Earthquake directory and insert the following script:
2) Save the file and Name the file anything you like, but just be sure that the file ends in ".sh" ( without the quotes ). For example: run-me.sh
3) To make the script executable, open a terminal, navigate to the directory containing the script, and run the following command:
chmod +x run-me.sh
4) Run the script using the command ./run-me.sh
This will do the exact same thing that the batch file executes on Windows.
Thanks for your reply, but it doesn't work. I get the errors attached.
Sorry for answering so late. Unfortunately, it doesn't work. Command executed, it runs, but at certain point it closes the terminal.
@mirad It appears from the error that the run-me.sh file is not in the directory that contains the requirements.txt file. Make sure that the run-me.sh is in the same directory. Here's an example of how that looks in Visual Studio Code:
Here's what the file looks like in VS Code:
In regards to the tiktoken error that is because the install of the modules from the requirements.txt did not occur.
If you list the contents of the directory that stores the files here's what that should look like in your terminal:
has anyone gotten this to work on a Mac? I get a message regarding:
Building wheel for lxml (setup.py) ... error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
and more about wheels
it seems you have aditional files than I have. Unfortunately, I am pure beginner in Python and I can't figure out what it's really wrong.
@mirad , no worries. There is only one file you need to add to make it work on your Mac. Just add the shell script file to the directory with the other files for ChatGPT Earthquake.
Ignore the .git files and other invisible files you see in my directory.
1) Dowload the ChatGPT Earthquake files and unzip to a folder in your finder
2) create a new file: run-me.sh
3) add the following code to the file:
chmod +x run-me.sh
6) in the terminal Run the script using the command:
Hi, unfortunately it doesn't work. I have problems by setting up the environment and the command ./run-me.sh is bringing an error. Command chmod +x run-me.sh has no output.
All the best!
No! On Mac it's not working at all. I tried everything I knew or found online, but no chance. I give it up now.
@gee-whiz and @Mirad I got those errors on my Linux client. I had to install development libraries and applications on the system to build python-cairo. I forget which ones, but gcc and python-dev come to mind.