Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to install 3.4.0 with pip3 #136

Closed
shannon197751 opened this issue Oct 13, 2020 · 6 comments
Closed

Fail to install 3.4.0 with pip3 #136

shannon197751 opened this issue Oct 13, 2020 · 6 comments

Comments

@shannon197751
Copy link

I could not install orjson 3.4.0 with pip3 on Linux.

[docker] Downloading https://files.pythonhosted.org/packages/ca/ab/cece004aaae000741d059dcb9b1f6f62a6a5ecb2e11b3ecca09e6180c327/orjson-3.4.0.tar.gz (655kB)
[docker] Complete output from command python setup.py egg_info:
[docker] Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python3.7/tokenize.py", line 447, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-di2xujrs/orjson/setup.py'

3.3.1 works for me

@elrik75
Copy link

elrik75 commented Oct 13, 2020

Same error for me since version 3.4.0. It work perfectly in 3.3.1
Python 3.7.3 on Debian Buster + venv

  Downloading https://files.pythonhosted.org/packages/ca/ab/cece004aaae000741d059dcb9b1f6f62a6a5ecb2e11b3ecca09e6180c327/orjson-3.4.0.tar.gz (655kB)
    100% |████████████████████████████████| 665kB 2.2MB/s 
  Installing build dependencies ... done
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.7/tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-h42lglj_/orjson/setup.py'

@lunswor
Copy link

lunswor commented Oct 13, 2020

Getting the same error

Collecting orjson==3.4.0; sys_platform == "darwin" or sys_platform == "linux"
       Downloading https://files.pythonhosted.org/packages/ca/ab/cece004aaae000741d059dcb9b1f6f62a6a5ecb2e11b3ecca09e6180c327/orjson-3.4.0.tar.gz (655kB)
       Complete output from command python setup.py egg_info:
       Traceback (most recent call last):
       File "<string>", line 1, in <module>
       File "/app/.heroku/python/lib/python3.7/tokenize.py", line 447, in open
       buffer = _builtin_open(filename, 'rb')
       FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-29ykcrms/orjson/setup.py'
----------------------------------------
       Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-29ykcrms/orjson/

@amagee
Copy link

amagee commented Oct 18, 2020

Same issue here. For what it's worth, I was able to solve it by upgrading from Python 3.6.12 to 3.8.6.

@Michaelliv
Copy link

python -m pip install --upgrade pip seems to solve it

@ijl
Copy link
Owner

ijl commented Oct 30, 2020

Yes, you need to upgrade pip: https://github.com/ijl/orjson#why-cant-i-install-it-from-pypi

@elrik75
Copy link

elrik75 commented Oct 30, 2020

I confirm that upgrading pip has solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants