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

waymo-open-dataset-tf-2-12-0 cannot install under Python 3.11 #868

Open
kylevedder opened this issue Aug 15, 2024 · 1 comment
Open

waymo-open-dataset-tf-2-12-0 cannot install under Python 3.11 #868

kylevedder opened this issue Aug 15, 2024 · 1 comment

Comments

@kylevedder
Copy link

Under Python 3.11, installation of pip install waymo-open-dataset-tf-2.12.0 fails due to pegged numpy version and downstream requirements numpy versions:

11.34 The conflict is caused by:
11.34     waymo-open-dataset-tf-2-12-0 1.6.2 depends on numpy==1.23
11.34     dask[dataframe] 2023.3.1 depends on numpy>=1.21; extra == "dataframe"
11.34     matplotlib 3.6.1 depends on numpy>=1.19
11.34     pandas 1.5.3 depends on numpy>=1.21.0; python_version >= "3.10"
11.34     pandas 1.5.3 depends on numpy>=1.23.2; python_version >= "3.11"

Full docker container to reporduce this issue:

FROM nvidia/cudagl:11.3.0-devel-ubuntu20.04
SHELL ["/bin/bash", "-c"]
RUN ln -snf /usr/share/zoneinfo/America/New_York /etc/localtime && echo "/usr/share/zoneinfo/America/New_York" > /etc/timezone

# Core system packages
RUN apt-get update --fix-missing
RUN apt install -y software-properties-common wget curl gpg gcc git make

# Install miniconda to /miniconda
RUN curl -LO http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN bash Miniconda3-latest-Linux-x86_64.sh -p /miniconda -b
RUN rm Miniconda3-latest-Linux-x86_64.sh
ENV PATH=/miniconda/bin:${PATH}
RUN conda update -y conda

RUN apt install -y apt-utils

ENV TORCH_CUDA_ARCH_LIST="Ampere;Turing;Pascal"
ENV FORCE_CUDA="1"
RUN conda update -y conda

RUN conda install python=3.11 pip -y
RUN pip install --upgrade pip
RUN pip install waymo-open-dataset-tf-2.12.0
@kylevedder kylevedder changed the title waymo-open-dataset-tf-2-12-0 cannot install under Python 11 waymo-open-dataset-tf-2-12-0 cannot install under Python 3.11 Aug 15, 2024
@daphnecor
Copy link

daphnecor commented Aug 19, 2024

I encountered difficulties with this version of the womd dataset as well but was able to get it to work with Python version 3.10.2.

See this Google Colab with a working import

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

No branches or pull requests

2 participants