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

[Bug Report] rl/racing example conflict between dependencies #1912

Closed
atanas-kom opened this issue Mar 21, 2023 · 1 comment · Fixed by #1914
Closed

[Bug Report] rl/racing example conflict between dependencies #1912

atanas-kom opened this issue Mar 21, 2023 · 1 comment · Fixed by #1914
Assignees
Labels
bug Something isn't working

Comments

@atanas-kom
Copy link

High Level Description

When trying to setup rl/racing a conflict between dependencies of racing, racing==0.1.1, smarts and smarts[camera-obs]==1.0.0 occurs.

Version

SMARTS 1.0.8

Steps to reproduce the bug

## Setup

$ git clone https://github.com/huawei-noah/SMARTS.git
$ cd <path>/SMARTS/examples/rl/racing
$ python3.7 -m venv ./.venv
$ source ./.venv/bin/activate
$ pip install --upgrade pip
$ pip install -e .

System info

Dual boot Ubuntu 22.04.1 and Oracle VM VirtualBox Ubuntu 22.04.1
python3.7 and python3.8

Error logs and screenshots

ERROR: Cannot install racing, racing==0.1.1, smarts and smarts[camera-obs]==1.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    racing 0.1.1 depends on numpy<=1.23.0 and >=1.19
    smarts[camera-obs] 1.0.0 depends on numpy>=1.19.5
    tensorflow 2.4.0 depends on numpy~=1.19.2
    tensorflow-probability 0.12.2 depends on numpy>=1.13.3
    gymnasium 0.27.0 depends on numpy>=1.21.0

Impact (If known)

No response

@atanas-kom atanas-kom added the bug Something isn't working label Mar 21, 2023
@Gamenot
Copy link
Collaborator

Gamenot commented Mar 22, 2023

Hello, @atanas-kom, thank you for the report. This appears to be fixed by bumping up the version of tensorflow to 2.7. A fix is going in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants