You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst trying to solve a problem with installing torch using PDM I came across #69. After reading the code I realized that the change provided makes the error message more verbose but doesn't solve the issue for the torch package.
The problem seems to be that some whl files, when looping over self._zipfile.infolist() include the directories as well as the files which is what causes that function to fail because the RECORD file doesn't have information about directories. eg:
Whilst trying to solve a problem with installing torch using PDM I came across #69. After reading the code I realized that the change provided makes the error message more verbose but doesn't solve the issue for the torch package.
The problem seems to be that some whl files, when looping over
self._zipfile.infolist()
include the directories as well as the files which is what causes that function to fail because the RECORD file doesn't have information about directories. eg:Torch (Directories as part of the list):
Colorama (Files only):
The text was updated successfully, but these errors were encountered: