Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command not found in mac #190

Open
vishwa2k opened this issue Nov 13, 2024 · 2 comments
Open

Command not found in mac #190

vishwa2k opened this issue Nov 13, 2024 · 2 comments

Comments

@vishwa2k
Copy link

Using python 3.13 installed via pip with --break-system-packages on mac.
Also tried with venv activated installation successful praisonai command not found.
python3 -m praisonai also resulted no module named found.

@108-Dev
Copy link

108-Dev commented Dec 26, 2024

Same problem here... :(

@michel-reyes
Copy link

michel-reyes commented Dec 28, 2024

Same here. After long conversation with OpenAI

Note: look for the EDIT section below

  1. praisonai must be at virtual env / bin folder but is not
  2. praison was installed but no entry point was created: "If not, the package may not be configured to install a console script.
    "
    entry_points={
    'console_scripts': [
    'praisonai = praisonai.module:main_function',
    ],
    },

EDIT1:
Does not work using the No Code Version. It work using the code version. (for me)

  1. create a virtual environment for python
python3 -m venv venv
source venv/bin/activate
#optional:
which python3
pip install --upgrade pip
  1. intall praisonai
  2. install praisonaiagents
  3. the following commands will persist in the open terminal, but will lose once you close the terminal (need to do it again)
export OPENAI_API_KEY=XXXXXXXXXXXXXXXXXXXXX
export OPENAI_BASE_URL=http://localhost:11434/v1
export OPENAI_MODEL_NAME=llama3.2
  1. create a new main.py file
  2. follow this example here: using code
  3. I use ollama, so , for the example above change all llm="gpt-4o" by llm="llama3.2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants