

As can be seen below, it also doesn't work ➜ test2 git:(master) git pull Here is the result of my attempt to install wheel into the virtual environment prior to building the wheel.

So it seems to me that making a venv doesn't fix the problem. I then ran python3 setup.py bdist_wheel to see if I could use the original command suggested to me in the tutorial, however again, I got the same error as is given at the top of this post. and then activated it with source bin/activate. I created a virtualenv with this command: virtualenv. In case this is relevant, I am on macos monterey 12.0.1 At the moment, I want in particular to make a wheel for PyPDF4:, however I would more generally like to be able to make wheels for any package, and the problem I am having doesn't seem to have anything to do with this particular package, so this additional information should be unnecessary. To be clear, my goal is to make a python3 wheel. Nothing is currently expected to break until Python 3.12, and a full solution will be implemented well before then.Īt this point, I am unsure where to go next to resolve my problem. I tried running python3 setup.py bdist_wheel again, however it still gave the same error, so I then checked the page: that the above message recommended to me, however it told me there is nothing for me to do at this time: If you have been directed here from a pip warning, you don't need to take any action at this stage. Requirement already satisfied: wheel in /usr/local/lib/python3.9/site-packages (0.37.0)

If you are using a Homebrew or Linuxbrew Python, please see discussion at
#PIP3 INSTALL GLOBAL HOW TO#
How to fix `error: invalid command 'bdist_wheel'`?Īnd tried re-installing wheel like so: pip3 install wheel, however I got this message: DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. I then checked out this answer on stack overflow: However, when I ran the command python3 setup.py bdist_wheel I got this error: usage: setup.py cmd1. I am trying to make a wheel in python3, so I followed this tutorial:
#PIP3 INSTALL GLOBAL UPDATE#
NOTE: the solution was to update my version of wheels using this command: pip install -U pip wheel setuptools
