Here is the message after I try to import openai: Python 3.9.6 (default, Mar 10 2023, 20:16:38) And I tried to find the solution for this error but I found nothing. But when I get to the first step which is the install and import openai, I stucked. Python noobie here, i just followed a tutorial on a project about using API of openai. If you encounter a “command not found” error while attempting to run brew commands you’ve either not got Homebrew installed or you didn’t run the final two commands as prompted during the setup process.After pip install openai, when i try to import openai, it appears error:"the 'ssl' module of urllib3 is compile with LibreSSL not OpenSSL" Once you’ve installed Homebrew the installer should prompt you to run two more commands, the first is: echo 'eval $(/opt/homebrew/bin/brew shellenv)' > /Users/$USER/.zprofileĪnd the second is: eval $(/opt/homebrew/bin/brew shellenv) How to Fix “brew command not found” on macOS This is covered in the final part of the Homebrew setup process. bin/bash -c "$(curl -fsSL )" How to Add Homebrew to the Path on a Mac You can remove Homebrew by downloading and running the uninstall script with the following command: The application can be installed and used entirely via the Terminal utility built into macOS. Homebrew is a free package manager that allows you to find, install, and maintain open-source utilities and graphical applications using simple text commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |