EvolutionGym / evogym

A large-scale benchmark for co-optimizing the design and control of soft robots, as seen in NeurIPS 2021.
https://evolutiongym.github.io/
MIT License
193 stars 33 forks source link

Pip subprocess error when creating conda env from .yml file #7

Closed blmussati closed 2 years ago

blmussati commented 2 years ago

Hi, I was following the setup guidelines for a MacBook with macOS Monterey, Version 12.2 When running conda env create -f environment.yml

I get Pip subprocess error: Running command git clone -q git://github.com/yunshengtian/neat-python /private/var/folders/_f/3z_0lgy91yz7w1mqx4tzk8qr0000gn/T/pip-req-build-umjmz1er fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. WARNING: Discarding git+git://github.com/yunshengtian/neat-python@2762ab630838520ca6c03a866e8a158f592b0370. Command errored out with exit status 128: git clone -q git://github.com/yunshengtian/neat-python /private/var/folders/_f/3z_0lgy91yz7w1mqx4tzk8qr0000gn/T/pip-req-build-umjmz1er Check the logs for full command output. ERROR: Command errored out with exit status 128: git clone -q git://github.com/yunshengtian/neat-python /private/var/folders/_f/3z_0lgy91yz7w1mqx4tzk8qr0000gn/T/pip-req-build-umjmz1er Check the logs for full command output. failed CondaEnvException: Pip failed

I then tried conda activate evogym pip install -r requirements.txt

getting Collecting GPyOpt@ git+git://github.com/yunshengtian/GPyOpt@5fc1188ffdefea9a3bc7964a9414d4922603e904 Cloning git://github.com/yunshengtian/GPyOpt (to revision 5fc1188ffdefea9a3bc7964a9414d4922603e904) to /private/var/folders/_f/3z_0lgy91yz7w1mqx4tzk8qr0000gn/T/pip-install-0d077qh5/gpyopt_09f8c8bdd15d45e38759e2efff937db9 Running command git clone -q git://github.com/yunshengtian/GPyOpt /private/var/folders/_f/3z_0lgy91yz7w1mqx4tzk8qr0000gn/T/pip-install-0d077qh5/gpyopt_09f8c8bdd15d45e38759e2efff937db9 fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. AND Running command git clone -q git://github.com/yunshengtian/neat-python /private/var/folders/_f/3z_0lgy91yz7w1mqx4tzk8qr0000gn/T/pip-install-0d077qh5/neat-python_a7be629021284f1cad5c588bd7f09ac7 fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported.

I think the issue is due to the new Git protocols security (https://github.blog/2021-09-01-improving-git-protocol-security-github/)

There is also an issue with gpyopt versioning, as when running pip install -r requirements.txt I get ERROR: Could not find a version that satisfies the requirement gpyopt (unavailable) (from versions: 0.1.1, 0.1.2, 0.1.3, 0.1.4, 1.0.2, 1.0.3, 1.2.0, 1.2.1, 1.2.5, 1.2.6) ERROR: No matching distribution found for gpyopt (unavailable)