Skip to content

Problem when installing featomic-torch #388

@coffeedealer

Description

@coffeedealer

Installation of featomic in a new conda enviroment is sucessfull but when trying to install the featomic-torch to import from featomic.torch.clebsch_gordan._cartesian_spherical in my code the following errors pop out. Any suggestion to solve it?

`(featomic_torch) ruben@LRMB216291 python % cd featomic_torch 
(featomic_torch) ruben@LRMB216291 featomic_torch % ls
AUTHORS			MANIFEST.in		build-backend		featomic_torch.egg-info	setup.py
LICENSE			README.rst		featomic		pyproject.toml		tests
(featomic_torch) ruben@LRMB216291 featomic_torch % pip install .
Processing /Users/ruben/Documents/sML2_5/25_1_NN_models/250401_Finetunning_NNmodel/featomic/python/featomic_torch
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... error
  error: subprocess-exited-with-error
  
  × pip subprocess to install backend dependencies did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      Processing /Users/ruben/Documents/sML2_5/25_1_NN_models/250401_Finetunning_NNmodel/featomic/python/featomic
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Installing backend dependencies: started
        Installing backend dependencies: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting metatensor-torch<0.8.0,>=0.7.0
        Downloading metatensor_torch-0.7.4-py3-none-macosx_11_0_x86_64.whl.metadata (1.7 kB)
      ERROR: Could not find a version that satisfies the requirement torch>=1.12 (from versions: none)
      ERROR: No matching distribution found for torch>=1.12
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions