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.

Could not install 3.4.0 using pip

See original GitHub issue
# pip3 install orjson
Collecting orjson
  Using cached https://files.pythonhosted.org/packages/ca/ab/cece004aaae000741d059dcb9b1f6f62a6a5ecb2e11b3ecca09e6180c327/orjson-3.4.0.tar.gz
    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-aup3c1nd/orjson/setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-aup3c1nd/orjson/

3.3.1 works though: pip3 install orjson==3.3.1

Using ubuntu bionic

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
adieyalcommented, Sep 28, 2020

Agreed re adding a note in the documentation. I did however encounter the issue when installing another library that depends on orjson. Downstream users may not see the note.

On Mon, 28 Sep 2020, 8:00 pm Salomon Smeke notifications@github.com wrote:

I also was on manylinux2010, I suspect many people who dont update pip will also be. No need to fix it if you dont think it should be @ijl https://github.com/ijl ! But +1 that I hit this too. In my case its due to docker images which build 3.7.7 and dont update pip.

I fixed it in my use-case by just dropping a pip upgrade in the docker file; no big. But the error message is a bit confusing, might be worth dropping a line in the setup guide that you might need to upgrade pip.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ijl/orjson/issues/128#issuecomment-700191804, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGXMQMFIO3M2DMTPD4P33SIDFNFANCNFSM4R3B65LQ .

0reactions
ijlcommented, Sep 28, 2020

So are manylinux2010 wheels installable in the same environments out of the box?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install additional pip for python3.4? - Stack Overflow
1 Answer 1 · Does not work. Forgot to mention that pip is not installed for python3. · pip has dropped support for...
Read more >
can't install gsw - build failing with pip and conda #90 - GitHub
It looks like your pip build is failing because you don't have the command-line compiler tools installed. To install them, execute: xcode-select ...
Read more >
Installing scikit-learn
There are different ways to install scikit-learn: Install the latest official release. This is the best approach for most users. It will provide...
Read more >
Installing Python Modules — Python 3.11.1 documentation
Starting with Python 3.4, it defaults to installing pip into all created virtual environments ... It is possible that pip does not get...
Read more >
opencv-python - PyPI
If your pip is too old, it will try to use the new source distribution introduced in 4.3.0.38 to manually build OpenCV because...
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