Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
98 views
+50

With the AI answers, I was recommended to do: [tool.hatch.envs.hatch-test] dev-mode = false # This is the line recommended by AI to have it installed instead of having it editable/local use mode ...
Cyber Avater's user avatar
  • 2,070
Advice
0 votes
2 replies
41 views

I wrote pybind11 bindings for my C++ library Uno and I'd like to distribute the Python package. Uno has as (optional) dependency BQPD, written in Fortran, that is only available as precompiled static ...
Charlie Vanaret - the Uno guy's user avatar
1 vote
1 answer
112 views

I am trying to install GDAL in my virtual Environment which is built based on python 3.13.7. Following this page, In my environment I do: pip install gdal No success though. Please see the error ...
Sina NAKHOSTIN's user avatar
0 votes
0 answers
90 views

I am trying to download and install Python wheel packages into a uv virtual environment for a non-native (cross-platform) target environment. When using pip, I would typically use flags like --...
Vojtěch Jiruš's user avatar
1 vote
1 answer
99 views

For given project: . ├── demo │ └── __init__.py ├── demo.bin └── setup.py demo/__init__.py: if __name__ == "__main__": print("You're in demo") demo.bin: #!/bin/bash echo &...
bux's user avatar
  • 7,711
0 votes
1 answer
64 views

I'm trying to build a devops pipeline that allows to upload a python wheel file to my databricks volume. However I keep getting the error : "Error: Authorization failed. Your token may be expired ...
Pranav ramachandran's user avatar
0 votes
0 answers
118 views

I have a Dockerfile that builds OpenCV from source with cuda. The build itself succeeds, but pip doesn’t recognize this custom installation. As a result, when I later install a Python package that ...
M.Akyuzlu's user avatar
  • 335
1 vote
1 answer
511 views

I have some custom functions and classes that I packaged as a Python wheel. I want to use them in my python notebook (with a .py extension) that runs on a serverless Databricks cluster. I have read ...
Alexis Kan's user avatar
0 votes
0 answers
104 views

I’m building a PEX file for a Python 3.12 project (system-monitor) targeting Amazon Linux 2023 (glibc 2.34) on both x86_64 and aarch64 architectures. I’m using PEX with --platform options to enforce ...
Sarathy Velmurugan's user avatar
2 votes
1 answer
88 views

I have two same-architecture Linux boxes running identical versions of pypy, installed via pyenv. Consider one a "production" machine and one a "build" machine, such that the ...
mysteryegg's user avatar
1 vote
1 answer
166 views

I created my simple Python-module. The pyproject.toml reads: [project] authors = [ {name = "Me Me", email = "[email protected]"} ] name = "Mysms" description = "...
Mikhail T.'s user avatar
  • 4,266
0 votes
0 answers
63 views

I currently build my simple Python module with a command like: python3 -m build --wheel --outdir /tmp . This creates the /tmp/mypackage-0.1-py3-none-any.whl -- as one would expect. However, it also ...
Mikhail T.'s user avatar
  • 4,266
0 votes
0 answers
79 views

TL;DR: When pip install builds and installs wheels, how do I determine which versions of build tool packages (e.g. Cython) it used? How do I force it to use the same versions of those packages in the ...
macdjord's user avatar
  • 635
1 vote
1 answer
114 views

I'm building a python wheel file using a toml file on both Linux and Windows. Linux seems to work ok, but on Windows (using clion/cmake) the wheel file is getting built with a very restricted access ...
Fred's user avatar
  • 23
0 votes
2 answers
74 views

Recently I've been trying to learn a bit more about how to build python modules and share code amongst my personal projects. This is my first attempt and I'm running into errors and I'm having a tough ...
Staros's user avatar
  • 3,292
2 votes
2 answers
510 views

10 hours ago Python Packaging Authority release wheel of version 0.46.1. It fails in our pipeline. Do you have same problem? It returns this error: error: invalid command 'bdist_wheel' Therefore, we ...
Jan Zhouf's user avatar
1 vote
0 answers
160 views

I'm building a .whl package for a Python library using Nuitka. To generate the wheel, I use the following command: python setup.py bdist_nuitka The wheel is created successfully, and after installing ...
Rorschy's user avatar
  • 27
0 votes
1 answer
122 views

The provided whl files for polars library are tagged as abi3. I am working with specific setup that needs ABI tag to be cp39. I tried unpacking and packing again while changing the tag but still not ...
RGI's user avatar
  • 21
0 votes
1 answer
1k views

Currently the compilation of the Python wheel for the FlashAttention 2 (Dao-AILab/flash-attention) Python package takes several hours, as reported by multiple users on GitHub (see e.g. this issue). ...
mirekphd's user avatar
  • 7,231
2 votes
2 answers
160 views

I've created a Python 3.6 environment in my WSL Ubuntu 22.04 operating system using virtualenv -p python3.6 <my_env>. I need to download some packages, particularly matplotlib, but I'm having ...
Andrea Barone's user avatar
0 votes
0 answers
166 views

I tried to use pytsk3 in my python project to extract files from .img files. Pytsk3 (https://github.com/py4n6/pytsk) is a python binding for the Sleuth Kit. It works fine on my laptop (windows 11 pro ...
user29792845's user avatar
0 votes
1 answer
357 views

I'm using Python 3.9.18 on my Mac 14.0.6. I tried to install skimpy by running !pip install skimpy. However, I kept getting the same error "ERROR: Could not build wheels for pyarrow, which is ...
Ada Shi's user avatar
  • 11
0 votes
0 answers
94 views

Context: I have a first private github repository with a release containing one python wheel. In a second public repository I have a python module depending on this wheel, I am using github actions to ...
Maxi mini's user avatar
0 votes
0 answers
247 views

I tried to install Python pillow via pip and it failed to create a wheel. I'm trying to guess which downloadable wheel I can use, but the first four I tried give me: C:\Users\dcorn\Downloads>python ...
EmptySetBlues's user avatar
1 vote
0 answers
84 views

I have built a basic python project. The project at its core is using a toml file to store all the configurations and build rules (see below): [project] authors = [{ name = "name", email = &...
Death_by_Ch0colate's user avatar
0 votes
1 answer
261 views

Background: I am new to using the standard Python packaging tools and have typically relied on custom tooling. However, I’ve decided to get a better understanding of the packaging process, but I’m ...
avalon20's user avatar
  • 199
0 votes
0 answers
170 views

I am installing local python package in editable mode, using a pyproject.toml file to configure it. The pyproject.toml looks like this: [build-system] requires = ["setuptools", "...
Ben Jeffrey's user avatar
  • 1,043
1 vote
2 answers
3k views

I have the error "error: command '/usr/bin/g++' failed with exit code 1" when trying to install python package QuTip via Juyter notebook: and below "error: command '/usr/bin/g++' ...
Nigel1's user avatar
  • 139
1 vote
2 answers
773 views

While trying to install Wagtail on MacOS Monterey with pip the build fails with many errors like these: /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include/stdlib.h:134:25: error: ...
Marie's user avatar
  • 21
0 votes
1 answer
226 views

I have the following databricks asset bundle job defintion: - task_key: test-model-from-wheel python_wheel_task: entry_point: run # Entry point of the wheel ...
PlagTag's user avatar
  • 6,499
0 votes
1 answer
1k views

I have a scenario where I need to generate a versioned Wheel file and upload it automatically to a Databricks cluster using VS Code, without creating workflows or jobs like those in Databricks Bundles....
question.it's user avatar
  • 3,018
3 votes
1 answer
86 views

I have several python packages that need to be installed on various os/environments. These packages have dependencies and some of them like Polars needs a different package depending on the OS, for ...
FiReTiTi's user avatar
  • 5,979
3 votes
1 answer
97 views

I'm tryring to setup a python wheel for my testrunner helper script to make it easyly acessible from everywhere on my Windows machine. Therefore I configure a console entry point in my setup.py. I can ...
Jonny Schubert's user avatar
0 votes
3 answers
121 views

I am trying to package a Python project using py -m build within an Anaconda environment. However, I noticed that only the .tar.gz source distribution is being created, and the .whl (wheel) ...
Kate Crawford's user avatar
2 votes
2 answers
427 views

Novice Raspberry Pi user here trying to build a digital picture frame. The problem I'm running into is the pi-heif wheel won't successfully build. I'm using Python3.11.2, the latest libheif library is ...
Sandra Serbu's user avatar
0 votes
0 answers
228 views

I want to create a Python wheel that will run on both Windows and Linux (x86_64 and possibly ARM). I want to write the data processing code in Rust and have Python call the Rust code, so I am going to ...
John's user avatar
  • 12.1k
1 vote
1 answer
151 views

I am trying to install a package for Python, I think I have the right .whl but I'm not good at this. I'm trying to install pycryptodome-3.21.0-pp310-pypy310_pp73-win_amd64.whl which is saved on my ...
Dot Rain's user avatar
1 vote
0 answers
52 views

When trying to upload a wheel distribution to PyPI, all other architectures were accepted, except for manylinux_2_31_riscv64. I could not find any documentation on how to submit packages targeting the ...
Hykilpikonna's user avatar
  • 2,241
1 vote
1 answer
19k views

I have an application that depends on intel-fortran-rt When installed via pip install intel-fortran-rt==2021.3.0, the intel fortran runtime dlls are copied into xxx\Library\bin The problem is to ...
Mads M Pedersen's user avatar
0 votes
1 answer
169 views

I want to create a Python wheel that contains a single Python module (script.py) and a directory of compiled C++ binaries. Below is my project structure: root/ │ ├── bin/ │ ├── binary1 │ ├── ...
sherlock85's user avatar
1 vote
0 answers
108 views

I'm trying to run a Databricks wheel task and print some logs. I created a logging utility: # log_utils.py import sys import logging from typing import Optional def setup_logging( name: Optional[...
Giacomo Sachs's user avatar
0 votes
0 answers
112 views

I know, you'd ask why I would want to this, so I have a WHL file to install on windows with a title like : nameAndVersion-cp38-cp38-win_amd64.whl Sadly, it does not install the result is : Error "...
Mathieu Bragard's user avatar
0 votes
0 answers
58 views

There's a 3rd party program (VeraCrypt) that'd I'd like to use in python, so I'm looking at creating a python package around it. I want to make it so if you download the package, it will "just ...
Cameron Showalter's user avatar
-1 votes
2 answers
367 views

I'm using pybind11 to create cross platform bindings to the c++ library named piper-phonemize. The library depends on 2 native libraries - onnxruntime and espeak-ng. There's cmake file which produce ...
anonymous's user avatar
2 votes
1 answer
734 views

Using pip install tflite-support, this is the full output and error message: Collecting tflite-support Using cached tflite-support-0.1.0a1.tar.gz (390 kB) Preparing metadata (setup.py) ... done ...
Renz_Dal's user avatar
0 votes
1 answer
6k views

I am trying to install fisher in Python using pip install fisher but I keep getting the following error: Collecting fisher Using cached fisher-0.1.14.tar.gz (22 kB) Installing build ...
Pernille Rainer's user avatar
1 vote
0 answers
487 views

I want to transition existing python 2.7 code base (2 .py files, nothing big) from 10+ years ago to python3 and more modern level of project handling. Python2 to python3 steps are out of scope here. ...
silpol's user avatar
  • 356
-1 votes
1 answer
158 views

For our projects we need our own developped python package but it's currently compiled only for python 3.7. For many reason we would like to bypass this restriction and use it with any >=3.7 python ...
Brice_'s user avatar
  • 1
0 votes
0 answers
212 views

I have a Python package with the following directory structure: project_root_dir/ ├── config/ │ └── (config files) ├── src/ │ ├── sophios/ │ │ └── (source files) ├── setup.py ├── MANIFEST.in ...
Samee's user avatar
  • 31
1 vote
1 answer
146 views

I created wheels from an existing venv, that resulted in, among others, the following wheel. The wheel was created within docker, with a Python version of 3.9 (the smallest possible versions were ...
Johannes Schaub - litb's user avatar

1
2 3 4 5
20