Questions tagged [pep517]

Questions about the build-system independent source tree format proposed in PEP 517

This tag may be used for questions about the usage of the tools implemented as part of the PEP, about the new source code layout, or about the PEP itself.

46 questions
0
votes
0 answers

ERROR: Failed building wheel for mpi4py, Could not build wheels for mpi4py which use PEP 517 and cannot be installed directly

I am trying to install packages for a project in conda environment. I have issues in building wheel for mdp4py package. The package is installed but couldnt build a wheel for it. The error code is too long but looks something like this.... Building…
0
votes
1 answer

Why isn't `site.main()` called by setuptools?

My code can use any Qt binding. I try to reduce the number of packages to install. For that, I'd like to check whether a package has already been installed and report it as the sole requirement. If nothing's installed, I pick the first item on the…
StSav012
  • 776
  • 5
  • 15
0
votes
1 answer

Specifying build requirements as a file in a setuptools pyproject.toml

Setuptools supports dynamic metadata for project properties in pyproject.toml, and as a PEP517 backend, it also has the option to specify build requirements by implementing get_requires_for_build_wheel. But I cannot figure out whether it uses the…
Anaphory
  • 6,045
  • 4
  • 37
  • 68
0
votes
0 answers

Building a PEP517 package with MinGW

I am a package maintainer for a Python package that provides an interface to an academic project. The main code is written in C and there are some Python scripts to add some extra functionality. The core C code is relatively portable (for C) but…
seanmk
  • 1,934
  • 15
  • 28
0
votes
0 answers

pip build-system has unpinned dependencies that break on update

I'm looking to pin Python dependencies installed as part of the pip build system. Here is the scenario I'm working with: I'm using a requirements file to install a 3rd party package (from a git+ssh source, but I doubt that matters). i.e.…
Joe J
  • 9,985
  • 16
  • 68
  • 100
0
votes
0 answers

ModuleNotFoundError for fastpbkdf2 with pep 517

I ran into a problem trying to use the fastpbkdf2 module. After creating the lock file and further installing it with poetry install, I run into the following error while trying to use the module File…
0
votes
0 answers

Can I use pyproject.toml with pip?

I want to replace multiple projects where I work, that use setup.py with pyproject.toml. I couldn't find a whole lot details about pyproject.toml and all I could find seems to use poetry. I don't really want to replace our use of pip since…
Ema Il
  • 405
  • 1
  • 5
  • 14
0
votes
1 answer

Error installing truefoundry experiment tracking library (pip install mlfoundry)

I tried to install mlfoundry on my Mac m1 laptop. It gives out the following error: note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fastparquet Running setup.py clean for…
0
votes
1 answer

Custom build backend for Python

I would like to write my own Python build backend that can used in pyproject.toml like [build-system] requires = ["setuptools>=42", "wheel", "mybackend"] build-backend = "mybackend.build_meta" and that does the same thing as setuptools, except that…
Nico Schlömer
  • 53,797
  • 27
  • 201
  • 249
0
votes
1 answer

Unable to install sftp package in python on my virtual machine

I need to use sftp services through python on my virtual machine. To note that I am unable to do commands like pip install packagename I have limitations on the controlled VM. So I have to download packages and point to local disk locations (pip…
User56756
  • 352
  • 4
  • 19
0
votes
3 answers

Binance Api Python setup

I created a Bot to trade BTC with Binance and am currently trying to set my Raspberry Pi 3 B+ up. With every pip install python-binance I get Using cached backports.zoneinfo-0.2.1.tar.gz (74 kB) Installing build dependencies ... done Getting…
huangtu577
  • 11
  • 1
0
votes
0 answers

ERROR: Could not build wheels for esmre which use PEP 517 and cannot be installed directly

I'm trying to install esmre using pip install esmre but got error log: Building wheel for esmre (PEP 517) ... error ERROR: Command errored out with exit status 1: command: 'c:\users\my\appdata\local\programs\python\python39\python.exe'…
0
votes
2 answers

Install pycocotools with poetry( not PEP 517/518 compliant)

I am trying to install Pycocotools(PythonAPI) package with Poetry, but it fails to do so. As read in this case, it seems that this package is not packaged properly, and therefore poetry is unable to install it. I tried to follow the procedure on…
0
votes
3 answers

Pip Install On Amazon Linux ec2 PEP 517 Error

I'm trying to pip install autogluon on an amazon linux ec2 instance. All other pip installs have worked so far, but pip installing autogluon throws the following error: ERROR: Failed building wheel for bottleneck Failed to build ConfigSpace psutil…
JMV12
  • 965
  • 1
  • 20
  • 52
0
votes
0 answers

Why I'm getting build wheel error when installing package on Linux

I am working on installing a repository on my Linux and can't seem to download a package correctly. For background, I am a grad research assistant and my post doc is building a package he wants me to test. It's a new version so it could be the…
bsilagy
  • 1
  • 1