omegaui / linux-voice-control

Your personal, fully customization, Linux Voice Control Assistant.
GNU General Public License v3.0
129 stars 7 forks source link

cannot import name 'ChatGPT' from 'chatgpt_wrapper' #11

Closed Bykow closed 1 year ago

Bykow commented 1 year ago

Hello,

Just did a fresh install of linux-voice-control, through cloning the repo and running the install.sh script.

I'm getting this error when trying to launch either the gui or the cli.

Here is there the error:

Traceback (most recent call last):
  File "/home/bykow/lvc-bin/main.py", line 19, in <module>
    import chatgpt_port
  File "/home/bykow/lvc-bin/chatgpt_port.py", line 5, in <module>
    from chatgpt_wrapper import ChatGPT
ImportError: cannot import name 'ChatGPT' from 'chatgpt_wrapper' (/home/bykow/.local/lib/python3.10/site-packages/chatgpt_wrapper/__init__.py)
omegaui commented 1 year ago

@Bykow The error is arising from chatgpt_wrapper library, try using an older version of the lib!

Bykow commented 1 year ago

Hello, currently not in front the computer before he t week. could you advise how to do this? I don't recall installing it manually.

Using arch if that matters in some way

Bykow commented 1 year ago

@omegaui any news ? :pray:

Hwatwasthat commented 1 year ago

Hello I'm getting this same error. It's unclear as this was installed as part of the install process, not separately by myself.

omegaui commented 1 year ago

@Hwatwasthat @Bykow

I'm still busy on another project, I will debug this and will notify you soon!

omegaui commented 1 year ago

@Hwatwasthat @Bykow ChatGPT wrapper had an un-notified breaking API update, which was causing this issue. All Set!

thhart commented 1 year ago

Cloned and installed today, but error still remains, is the code already updated?