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

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

Open
ProjX0 opened this issue Sep 24, 2024 · 1 comment

Comments

@ProjX0
Copy link

ProjX0 commented Sep 24, 2024

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.

@kylechampley
Copy link
Collaborator

@ProjX0, thanks for your post. I definitely need help improving the build process for LEAP!

Older versions of LEAP did have the -G "Visual Studio 16 2019" in the Windows batch file, but I removed it. Actually, it is still there in win_build.bat. I removed it because this will only work with VS 2019 and I wanted users to build with other versions of VS. The file that is currently used in the pip install is win_build_agn.bat, the "agn" stands for agnostic. From my understanding, the only thing the -G argument does is generate the VS solutions file (*.sln) so that people can rebuild their changes with VS.

Maybe there is some truth to your suggestion, but if I do this, it will force users to use VSD 2019. I'd prefer a solution that works for multiple versions of VS.

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