Solution for '.egg-info directory not found' error during PyTorch Installation
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.
@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.
@ProjX0 Hello, ProjX0
I'm also having the same problem as you, can you tell me the details of the issue you solved?Thank you very much.
@qimu-xieguangkun, did you get this resolved? If you send me your screen output during installation, I can help trace the issue for you.
I also got the same pytorch installation problem on Linux system. It reports "ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-e_vr75p_", I here use cuda 11.8, gcc 7.3.1 for installation. Do you know how to solve it? many thanks.
Could you run the following and send me the output?
pip install -v .