composio
composio copied to clipboard
Can't setup composio on linux
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 You should mention which distro, which release.
This has been solved!