Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Error with Pytorch Encoding #41

@zixinglin07

Description

@zixinglin07

I am running windows and I have issues with installing this project, specifically for the torch encoding package.

Some primary error include:
error: ninja: error: loading 'build.ninja': The system cannot find the file specified.
and
Error building extension 'enclib_cpu'

These errors are usually in tandem with a giant list of other errors presumable in dependencies. When I tried to build the package via Docker, similar issues arose as well.

Things I have tried:

  1. I have ensured that visual studios and the C++ compilers are properly installed, and environmental variables are set
  2. I have installed cudatoolkit along with various pytorch libraries with cuda support (torch.cuda.is_available() returns True)
  3. Tried to build a docker image by following the Pytorch Encoding installation guide, but error still occurs

I am running on a Windows 10 machine.

Are there any fixes or guides to get lang-seg to work under these circumstances?

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