python-wheel

What is the meaning of "Failed building wheel for X" in pip install?

What is the meaning of "Failed building wheel for X" in pip install? Question: This is a truly popular question here at SO, but none of the many answers I have looked at, clearly explain what this error really mean, and why it occurs. One source of confusion, is that when (for example) you do …

Total answers: 15

Installing mysqlclient in Python 3.6 in windows

Installing mysqlclient in Python 3.6 in windows Question: I want to install MySqlclient on my windows system. I am Currently using Python 3.6. After going through the various post over Stackoverflow, I could Not find the correct way. This is what I have done so far: 1) Installation by using pip pip install mysqlclient. Error: …

Total answers: 10

List dependencies of Python wheel file

List dependencies of Python wheel file Question: I have Python wheel file: psutil-5.4.5-cp26-none-linux_x86_64.whl How can I list the dependencies this wheel has? Asked By: guettli || Source Answers: You can install the wheel file in a separate virtual environment and then look which all other packages are installed. Use pip freeze command to see all …

Total answers: 7

make pip ignore an existing wheel

make pip ignore an existing wheel Question: If a .whl is available online, pip always installs it rather than compiling from source. However, for some specific module, the wheel happened to be compiled for the next processor generation and doesn’t run on a specific machine. If I command it to just download the package, then …

Total answers: 1

Install python wheel file without using pip

Install python wheel file without using pip Question: Is it possible to install a Python wheel without using pip? I always have issues with installing with pip, so I usually install libraries manually by copying and pasting. I’m wondering if there is a way to do wheel files in a similar manner. Asked By: king …

Total answers: 2

What does the `platforms` argument to `setup()` in `setup.py` do?

What does the `platforms` argument to `setup()` in `setup.py` do? Question: Looking through several projects recently, I noticed some of them use platforms argument to setup() in setup.py, though with only one value of any, i.e. #setup.py file in project’s package folder … setup( …, platforms=[‘any’], … ) OR #setup.py file in project’s package folder …

Total answers: 2

.whl is not a valid wheel filename, storing debug log for failure in C:

.whl is not a valid wheel filename, storing debug log for failure in C: Question: I am having trouble installing a wheel file via pip. I open my command prompt write the following in the prompt C:/Python34/Scripts/pip install C:/Users/Hamsa/Downloads/pygame.whl Then I get this message pygame.whl is not a valid wheel filename. Storing debug log for …

Total answers: 3

How do I list the files inside a python wheel?

How do I list the files inside a python wheel? Question: I’m poking around the various options to setup.py for including non-python files, and they’re somewhat less than intuitive. I’d like to be able to check the package generated by bdist_wheel to see what’s actually in it–not so much to make sure that it will …

Total answers: 6

Python packaging: wheels vs tarball (tar.gz)

Python packaging: wheels vs tarball (tar.gz) Question: The advantage of wheels over eggs is clear (see section why not egg? https://pypi.python.org/pypi/wheel). However, it is not entirely clear to me what is the advantage of using wheels over tar.gz. I might be missing something obvious like “they are the same”. As I see it both can …

Total answers: 2