theAbdoSabbagh / UnlimitedGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
https://pypi.org/project/UnlimitedGPT/
GNU General Public License v3.0
346 stars 43 forks source link

install_chromedriver() error #17

Closed newbiecoderrrrrr closed 1 year ago

newbiecoderrrrrr commented 1 year ago

I followed your manual. I ran the code on Colab.

install dependencies

!apt install chromium-browser xvfb !pip install -U selenium_profiles UnlimitedGPT It has been executed successfully up to this point.

However, an error occurs at this point. from selenium_profiles.utils.installer import install_chromedriver install_chromedriver()


ImportError Traceback (most recent call last) in <cell line: 1>() ----> 1 from selenium_profiles.utils.installer import install_chromedriver 2 install_chromedriver()

ImportError: cannot import name 'install_chromedriver' from 'selenium_profiles.utils.installer' (/usr/local/lib/python3.10/dist-packages/selenium_profiles/utils/installer.py)


NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the "Open Examples" button below.

So, according to the error message, when I searched for this 'selenium_profiles/utils/installer.py', 'install_chromedriver' was not found.

Please provide a solution to resolve the erro

theAbdoSabbagh commented 1 year ago

Hi, I'm currently busy with a few things IRL. I'll have a look and get back to you soon.

theAbdoSabbagh commented 1 year ago

Well, I don't know how to fix this issue. I guess you'll have to do some googling. I'll remove the whole google collab thing from my README so there wouldn't be any confusion.