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

Failed environment build with mamba #831

Closed
samuelbray32 opened this issue Feb 14, 2024 · 5 comments · Fixed by #834
Closed

Failed environment build with mamba #831

samuelbray32 opened this issue Feb 14, 2024 · 5 comments · Fixed by #834
Assignees
Labels
bug Something isn't working position

Comments

@samuelbray32
Copy link
Collaborator

Describe the bug
Building an environment with environment_dlc.yml failed with the error below. Building with the old version was successful.

To Reproduce
In terminal

mamba env create -f environment_dlc.yml

Output

pkgs/main/linux-64 No change
pkgs/main/noarch No change
pkgs/r/linux-64 No change
conda-forge/linux-64 No change
conda-forge/noarch No change
pkgs/r/noarch No change
pytorch/noarch No change
pytorch/linux-64 No change
franklab/noarch No change
edeno/linux-64 No change
edeno/noarch No change
franklab/linux-64 No change

Looking for: ['bottleneck', 'cudatoolkit=11.3', 'ffmpeg', 'ipympl', "jupyterlab[version='>=3.']", 'libgcc', 'matplotlib', 'non_local_detector', "numpy[version='<1.24']", "pip[version='>=20.2.']", 'position_tools', 'pybind11', 'pydotplus', "pyfftw[version='<=0.12.0']", "python[version='>=3.9,<3.10']", "pytorch[version='<1.12.0']", 'ripple_detection', 'seaborn', 'torchaudio', 'torchvision', "track_linearization[version='>=2.3']"]

python: /home/conda/feedstock_root/build_artifacts/libsolv_1671055376962/work/src/rules.c:261: solver_addrule: Assertion `!p2 && d > 0' failed.

@samuelbray32 samuelbray32 added the bug Something isn't working label Feb 14, 2024
@samuelbray32 samuelbray32 self-assigned this Feb 14, 2024
@edeno
Copy link
Collaborator

edeno commented Feb 14, 2024

Does the current environment.yml build for you as well?

@samuelbray32
Copy link
Collaborator Author

yes, the current environment.yml builds fine

@edeno
Copy link
Collaborator

edeno commented Feb 14, 2024

Some potential differences

environment_dlc.yml has:

  • numpy<1.24
  • panel<=1.3.5

I know the panel restriction was for a specific error with ipython. Not sure where the numpy one comes from.

@samuelbray32
Copy link
Collaborator Author

You were right, it builds without the numpy specification. It seems like the numpy restriction comes from an old commit in the environment.yml

@CBroz1
Copy link
Member

CBroz1 commented Feb 14, 2024

I used conda in my testing, thinking it was the less advanced than mamba and more likely to error out than mamba. I hadn't expected mamaba to fail where conda didn't - my bad

@edeno edeno added the position label Feb 14, 2024
@edeno edeno changed the title Failed envirnment build with mamba Failed environment build with mamba Feb 15, 2024
@edeno edeno mentioned this issue Feb 20, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working position
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants