llnl / llnl/LEAP

Solution for '.egg-info directory not found' error during PyTorch Installation

Open
#106 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cuda
Stars
249
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Hello, Kyle

Processing c:\users\user\desktop\recon\pytorch\leap-1.22
Preparing metadata (setup.py) ... done
ERROR: No .egg-info directory found in C:\Users\user\AppData\Local\Temp\pip-pip-egg-info-_1fo_1fy

This error was resolved by adding -G "Visual Studio 16 2019" after cmake .. -DDEV_MODE=1 in etc\win_build_agn.bat.

I hope this helps others encountering the same installation issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with etc\win_build_agn.bat and the Windows build instructions, focusing on the reported cmake .. -DDEV_MODE=1 invocation. Reproduce the PyTorch installation failure on Windows, then verify whether the reported build configuration prevents the missing .egg-info directory error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python, pytorch
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.