I'm using Windows.
There's a certain script I use that I need to adapt for my usages. Part of the script uses wheel files, one of which I need to edit. Unfortunately, I can't do that because if I just unzip, edit, and rezip the wheel file becomes broken.
I've read that doing what I need is possible using wheel unpack/pack. The problem: I have no idea how to run wheel properly, and all my searches have only yielded articles about running SPECIFIC wheel packages, not the actual wheel command.
I first installed wheel on my system using "pip install wheel", which seemed to work. However, trying to run "wheel unpack mywheel.whl" only results in the error that the command "wheel" could not be found. I assume it's an environment variable thing...
When I go into "C:\Python39\Lib\site-packages\wheel\cli", where pack.py and unpack.py are located, and run the unpack command straight from there, I get the following error:
Traceback (most recent call last):
File "C:\Python39\Lib\site-packages\wheel\cli\unpack.py", line 6, in <module>
from ..wheelfile import WheelFile
ImportError: attempted relative import with no known parent package
So that seems like the wrong way to run it as well... How the hell do I actually run a wheel command? What directory do I need to be in?