OpenInterpreter / 01

The #1 open-source voice interface for desktop, mobile, and ESP32 chips.
https://01.openinterpreter.com/
GNU Affero General Public License v3.0
4.92k stars 517 forks source link

M1 SoC's Issue running 01 Software #157

Open kieran-cr opened 6 months ago

kieran-cr commented 6 months ago

Open running and installing all the required dependencies including a compatible Python version (3.11.5)

I am unable to successfully run 01 on an M based MacBook Pro

To Reproduce Steps to reproduce the behavior:

  1. Install on an M1 machine 1.5. Export openAI key
  2. Run poetry run 01
  3. You will come across an error with openssl as below
  4. Try to record audio

Expected behavior I expected audio to be transcribed and displayed on the terminal and an LLM to take over

Screenshots Error when running poetry run 01 as below, the tool still runs "acts" as if it's running okay until you go to record audio and terminal stops responding after and doesn't output a file path for the recorded audio.

/Library/Caches/pypoetry/virtualenvs/01os-w_P9xt9H-py3.9/lib/python3.9/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: urllib3/urllib3#3020 warnings.warn(

Desktop:

Additional context The issue is non existent with a Mac Pro 2013 - 14.4

jcp commented 6 months ago

What do you get when you run these commands in the terminal?

which openssl
openssl version
kieran-cr commented 6 months ago

What do you get when you run these commands in the terminal?

which openssl
openssl version

Last login: Mon Mar 25 22:23:13 2024 % kieranrkieranrosevear@macbook ~ % which openssl /opt/homebrew/bin/openssl kieranrosevear@macbook ~ % openssl version OpenSSL 3.2.1 30 Jan 2024 (Library: OpenSSL 3.2.1 30 Jan 2024) kieranrosevear@macbook ~ %

jcp commented 6 months ago

Looks like your environment is using Python 3.9. Try running:

poetry env use python3.11
poetry shell
poetry install
tyfiero commented 6 months ago

Did this fix work for you @kieran-cr ?

iamthegone commented 6 months ago

Run poetry 01 runs the client. Your post in unclear if you’re trying to run the server, have the server running already, or whatever other issue could be present.

It works 100% on Apple Silicon MBP devices, both the server and client. You need the server running to get the client to work. The client won’t do anything on it’s own.