composio icon indicating copy to clipboard operation
composio copied to clipboard

Can't setup composio on linux

Open himanshu-dixit opened this issue 1 year ago • 1 comments

I am using github codespace and got this error while trying to setup the env.

himanshu-dixit ➜ /workspaces/composio (master) $ make env
rm -fr .tox/
rm -fr .pytest_cache/
rm -fr .mypy_cache/
rm -fr htmlcov/
rm -f .coverage
rm -fr coverage.xml
find . -name ".coverage*" -not -name ".coveragerc" -exec rm -fr "{}" \;
rm -fr build/
rm -fr dist/
rm -fr .eggs/
find . -name '*.egg-info' -exec rm -fr {} +
find . -name '*.egg' -exec rm -fr {} +
find . -type d -name __pycache__ -exec rm -rv {} +
for dir in plugins/*; do \
        if [ -d "$dir" ]; then \
                rm -rf "$dir"/dist; \
        fi \
done
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -fr {} +
find . -name '.DS_Store' -exec rm -fr {} +
if [ "$VIRTUAL_ENV" == "" ]];\
then\
        pipenv --rm;\
        pipenv --clear;\
        pipenv --python 3.10;\
        pipenv install --skip-lock;\
        pipenv install --dev --skip-lock;\
        pipenv run pip install -e .;\
        pipenv run pip install -e plugins/autogen;\
        pipenv run pip install -e plugins/claude;\
        pipenv run pip install -e plugins/crew_ai;\
        pipenv run pip install -e plugins/griptape;\
        pipenv run pip install -e plugins/julep;\
        pipenv run pip install -e plugins/langchain;\
        pipenv run pip install -e plugins/llamaindex;\
        pipenv run pip install -e plugins/lyzr;\
        pipenv run pip install -e plugins/openai;\
        echo "Enter virtual environment with all development dependencies now: 'pipenv shell'.";\
else\
        echo "In a virtual environment! Exit first: 'exit'.";\
fi
/bin/sh: 1: [: unexpected operator
In a virtual environment! Exit first: 'exit'.

himanshu-dixit avatar Jun 14 '24 21:06 himanshu-dixit

@himanshu-dixit You should mention which distro, which release.

sawradip avatar Jun 21 '24 04:06 sawradip

This has been solved!

sohamganatra avatar Jul 25 '24 14:07 sohamganatra