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

Can't setup composio on linux #167

Open
himanshu-dixit opened this issue Jun 14, 2024 · 1 comment
Open

Can't setup composio on linux #167

himanshu-dixit opened this issue Jun 14, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@himanshu-dixit
Copy link
Contributor

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 himanshu-dixit changed the title Can't setup on linux Can't setup composio on linux Jun 14, 2024
@himanshu-dixit himanshu-dixit added the good first issue Good for newcomers label Jun 14, 2024
@sawradip
Copy link
Contributor

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

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

No branches or pull requests

2 participants