pipenv install fails on MacOS
Describe the bug
pipenv install fails on MacOS 14.4.1
Setup and configuration
Current version:
0fdc401f910299dc585af3848dc49c5867d3db00
My config.toml and environment vars (be sure to redact API keys):
Unmodified
Commands I ran to install and run OpenDevin:
conda create -n opendevin python=3.11
conda activate opendevin
pipenv install
Logs, error messages, and screenshots:
(opendevin) ~/Documents/Code/GAD-PoC/OpenDevin î‚° î‚ main î‚° pipenv install
Creating a virtualenv for this project...
Pipfile: /Users/fioccom/Documents/Code/GAD-PoC/OpenDevin/Pipfile
Using /Users/fioccom/miniconda3/envs/opendevin/bin/python3 (3.11.8) to create virtualenv...
â ¹ Creating virtual environment...created virtual environment CPython3.11.8.final.0-64 in 1663ms
creator CPython3Posix(dest=/Users/fioccom/.local/share/virtualenvs/OpenDevin-s7yDROuw, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/fioccom/Library/Application Support/virtualenv)
added seed packages: pip==24.0, setuptools==69.1.1, wheel==0.42.0
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
✔ Successfully created virtual environment!
Virtualenv location: /Users/fioccom/.local/share/virtualenvs/OpenDevin-s7yDROuw
Installing dependencies from Pipfile.lock (90ed62)...
[pipenv.exceptions.InstallError]: Collecting aiohttp==3.9.3 (from -r /var/folders/dg/7cn93x417rgfnwvm3_zmf75m0000gp/T/pipenv-5xjobqh6-requirements/pipenv-cvp6yayj-hashed-reqs.txt (line 1))
[pipenv.exceptions.InstallError]: Using cached aiohttp-3.9.3-cp311-cp311-macosx_10_9_x86_64.whl (398 kB)
...
[pipenv.exceptions.InstallError]: ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
[pipenv.exceptions.InstallError]: ERROR: Could not find a version that satisfies the requirement onnxruntime==1.17.1 (from versions: 1.15.0, 1.15.1, 1.16.0, 1.16.1, 1.16.2, 1.16.3)
[pipenv.exceptions.InstallError]: ERROR: No matching distribution found for onnxruntime==1.17.1
ERROR: Couldn't install package: {}
Package installation failed...
/Users/fioccom/miniconda3/envs/opendevin/lib/python3.11/subprocess.py:1127: ResourceWarning: subprocess 12519 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=7 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Additional Context
We're trying to move to poetry now--can you try this PR? https://github.com/OpenDevin/OpenDevin/pull/378
git clone https://github.com/dorbanianas/opendevin od-poetry-test
cd od-poetry-test
git checkout ad/create-project-setup-file
make build
We're trying to move to poetry now--can you try this PR? #378
git clone https://github.com/dorbanianas/opendevin od-poetry-test cd od-poetry-test git checkout ad/create-project-setup-file make build
I did brew install poetry before that, and it worked! :)
We're trying to move to poetry now--can you try this PR? #378
git clone https://github.com/dorbanianas/opendevin od-poetry-test cd od-poetry-test git checkout ad/create-project-setup-file make buildI did brew install poetry before that, and it worked! :)
worked for me too :)
we migrated to poetry try to pull the new main and try to use make build let us know if there's any issues
Gonna close this one since we no longer have pipenv 😄