Cannot pip install orjson (python 3.6).
See original GitHub issuesudo pip3 install --upgrade orjson:
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.6/tokenize.py", line 452, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-3dwbn4b3/orjson/setup.py'
Not sure why it can’t find setup when it was just downloaded. I’ve verified that it exists in the source.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
orjson - PyPI
Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy.
Read more >Unable to install orjson 3.3.0 on macOS 12.2.1 with Apple M1 ...
0 on my MacBook Pro with Apple M1 Pro chip running macOS Monterey 12.2.1. Python version: 3.8.9. Command used: pip install orjson==3.3.0. Error:....
Read more >Resolving orjson dependency conflict when installing django ...
To fix this I am assuming you are: Running on Windows; using pipenv. To find out what version of python your are running...
Read more >pip install fastapi[all] is failing due to a rust component?
Hi I'm trying to install fastapi, but it seems to be failing when im installing orjson. Here is the full error code: Building...
Read more >orjson. A fast JSON library for Python | by Tony | Geek Culture
This article will use orjson in the 3.8.2 environment, use the following command to install orjson: $ python -V Python 3.10.0 $ pip...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You probably have an old pip. Try upgrading pip first:
I had the same issue with pip version 18, latest version fixes the issue.
This worked for me