Giter Site home page Giter Site logo

Comments (3)

Sylva1n avatar Sylva1n commented on July 30, 2024

Previously I have built wheel:

build-pip install wheel

Requirement already satisfied: wheel in ./venv/build/lib/python3.8/site-packages (0.37.1)

pip -v install wheel

Using pip 22.0.2 from /home/sylvain/venv/build/lib/python3.8/site-packages/pip (python 3.8)
Requirement already satisfied: wheel in ./venv/cross/lib/python3.8/site-packages (0.37.1)

and cffi

build-pip install cffi

Requirement already satisfied: cffi in ./venv/build/lib/python3.8/site-packages (1.15.0)
Requirement already satisfied: pycparser in ./venv/build/lib/python3.8/site-packages (from cffi) (2.21)

from crossenv.

Sylva1n avatar Sylva1n commented on July 30, 2024

The last error is:

AttributeError: 'Distribution' object has no attribute 'convert_2to3_doctests'

I tried to build cryptography

Same error happens:

AttributeError: 'Distribution' object has no attribute 'convert_2to3_doctests'
error: subprocess-exited-with-error

× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/sylvain/venv/cross/bin/python3 /home/sylvain/venv/build/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpooyb_cgs
cwd: /tmp/pip-install-7x0ydyqr/cryptography_321d29036cfb41d0ae04087f397be95d
Building wheel for cryptography (pyproject.toml) ... error
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

from crossenv.

Sylva1n avatar Sylva1n commented on July 30, 2024

To fix it, I needed to update both cross and build pip and setuptools packages.

from crossenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.