question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing wheel for Python 3.9 (Windows, macOS)

See original GitHub issue

Hello!

I cannot install orjson with command pip install orjson.

The traceback is the following.

OS: Windows 10 (64bit) Python: 3.9 (64bit)

I have tried both installing git master, and the latest orjson, no success.

Thanks for your help in advance.

Collecting orjson
  Using cached orjson-3.4.0.tar.gz (655 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'error'

DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333.
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\mozesa\PycharmProjects\acps-asm-core\.venv\Scripts\python.exe' 'C:\Users\mozesa\PycharmProjects\acps-asm-core\.venv\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\mozesa\AppData\Local\Temp\tmpw9exnck8'
         cwd: C:\Users\mozesa\AppData\Local\Temp\pycharm-packaging\orjson
    Complete output (6 lines):
    Checking for Rust toolchain....
    
    Cargo, the Rust package manager, is not installed or is not on PATH.
    This package requires Rust and Cargo to compile extensions. Install it through
    the system's package manager or via https://rustup.rs/
    
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\mozesa\PycharmProjects\acps-asm-core\.venv\Scripts\python.exe' 'C:\Users\mozesa\PycharmProjects\acps-asm-core\.venv\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\mozesa\AppData\Local\Temp\tmpw9exnck8' Check the logs for full command output.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ijlcommented, Oct 9, 2020
2reactions
iwoloschincommented, Oct 7, 2020

In the meantime, orjson installs fine on macOS as long as you’ve set rustup default nightly-2020-09-14 and ensure you have maturin installed (either globally or in the virtual environment). I assume the same is true of Windows?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install, download and build Python wheels - ActiveState
Use Python 3.9 by ActiveState and build your own runtime with the ... Pip will install the appropriate wheel for Windows, Linux or...
Read more >
release wheels for python 3.9 · Issue #823 - GitHub
Currently, pypi does not contain wheels for python 3.9. I know python 3.9 just came out - but it would be great if...
Read more >
wheel - PyPI
This library is the reference implementation of the Python wheel packaging standard, as defined in PEP 427. It has two different roles:.
Read more >
Installing Python Modules — Python 3.11.1 documentation
With the introduction of support for the binary wheel format, and the ability to publish wheels for at least Windows and macOS through...
Read more >
What Are Python Wheels and Why Should You Care?
In this tutorial, you'll learn what Python wheels are and why you should care as both a developer and end user of Python...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found