Questions tagged [python-wheel]

​​​​​​​​​​​​​​​​​​​​A wheel is a ZIP-like archive format for Python packages with the .whl extension.

Wheels were introduced to Python with PEP 427 to simplify distribution installation. It replaces the egg format.

Useful Links:

  1. PEP 376 Database of Installed Python Distributions infrastructure Wheels are based on
  2. PEP 427 Introduction of the Wheel format
  3. Wheel package index
883 questions
3
votes
2 answers

Im trying to build mediapipe on my jetson nano

So Im trying to build a mediapipe whl file for my jetson nano by following this guide https://github.com/jiuqiant/mediapipe_python_aarch64 I am successful on building it with my raspberry pi 4. By the way this github repo also provides a whl file…
3
votes
0 answers

Create binary python package that depends on system-wide installed libssl.so

I am trying to create a binary python package that can be installed without compilation. The python package consists only one extension module written in C using the Python API. The extension module depending on the stable python ABI by using…
3
votes
0 answers

How to release a package with python-specific wheels to the GitLab Package Registry and twine

I try to use GitLab CI to automate the package release process and store the releases in GitLab Package Registry. I have followed the documentation: https://docs.gitlab.com/ee/user/packages/pypi_repository/ and managed to setup the CI so it builds…
3
votes
0 answers

How to package lib.so files into a .whl file so user don't have to change LD_LIBRARY_PATH?

I have a mypackage wheel mypackage-py3.7-linux-x86_64 that installs into /usr/local/conda/lib/python3.7/site-packages/mypackage-py3.7-linux-x86_64.egg and adds…
y.selivonchyk
  • 8,987
  • 8
  • 54
  • 77
3
votes
1 answer

installing airflow on mac virtualenv gives: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

In virtual environment I'm trying to install apache-airflow. macOS: 10.13.6 Python: 3.9 (airflow_venv) $ sudo -H pip install apache-airflow==1.10.12 --constraint…
3
votes
2 answers

Python3 and pip3 + dose the wheels that installed for python2 can used also for python3

Until yesterday we works with python 2.7.5 and wheels packages was installed for python 2.7.5 by pip ( pip that is related to python 2.7.5 ) Now we install the latest python version from redhat – 3.8 We also installed the pip3 , when we installed…
Judy
  • 1,595
  • 6
  • 19
  • 41
3
votes
0 answers

What is the difference between the various versions of binary wheels?

These are the many versions of the pycairo binary wheels. What is the…
ashir
  • 111
  • 7
3
votes
0 answers

setting environment vairables when pip install my_wheel

I am wondering if there is a way to set environment variables when I use pip to install python wheel I built. Can I wirte something in setup.py to get this: pip install wheel_0_I_built == pip install wheel_1_I_built + export MY_ENV=var where…
Lea
  • 53
  • 2
  • 6
3
votes
0 answers

Building Python wheels in Docker for Raspberry Pi Zero on x86_64 machine

I'm hoping this is an appropriate venue for my question. There's a lot of pieces to this puzzle. I'm building a container using Docker that is destined to run on a Raspberry Pi Zero. The RPi Zero has an ARMv6 hard-float processor. The container will…
fdmillion
  • 4,823
  • 7
  • 45
  • 82
3
votes
1 answer

Running application installed from bdist_wheel package using setuptools_scm fails with version lookup error

TL;DR I am trying to create built-distribution package for a project that uses setuptools-scm. I generated the wheel package running python setup.py sdist bdist_wheel. I am able to install the .whl package using pip install .... But when I try to…
Zobayer Hasan
  • 2,187
  • 6
  • 22
  • 38
3
votes
0 answers

How to use Bazel to crate a wheel file for a package that build with cmake

I have a made a python package. The package is currently build using cmake. I want to prebuild this package on my laptop and create a .whl file, such that I can install it on other platform without worrying about building. I know that bazel could…
siwei
  • 83
  • 4
3
votes
1 answer

How do I set up pypi to trusted?

I am trying to use Python wheels. When I do pip install wheel, it says that the requirement is there, however I get this SSL error: (base) C:\Users\xxxx\PycharmProjects\prepay_clone>pip install wheel Requirement already satisfied: wheel in…
deblue
  • 277
  • 4
  • 18
3
votes
2 answers

How to create a full wheel with abi tag?

Trying to create a wheel from an empty project, using this setup.py: setup.py from setuptools import setup setup(name='bla', version='1') I invoke with python setup.py bdist_wheel --python-tag py35 --plat-name linux_x86_64 and get…
CIsForCookies
  • 12,097
  • 11
  • 59
  • 124
3
votes
1 answer

PIP3 - How to reduce time taken for Building wheel for ?

I run pip3 on a Jetson Nano board which has 4 cores ARM A57 and class 1 sdcard. It is ubuntu 18.04 with nVidia repositories. pip3 install --user pandas Takes almost 1 hour! I have to do it multiple times because I'm building an environment over…
Alsushi
  • 373
  • 3
  • 14
3
votes
2 answers

How do you execute a python Wheel Class/Method(not a script) in Azure Data Factory using an Azure Databricks activity?

Is it possible to execute a python Wheel Class/Method(not a script) in Azure Data Factory using an Azure Databricks activity like you would execute if it were a java packaged method in a .jar? Unlike a script, this would have the ability to return…