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.

``pip install'' 's option corresponding to the python parallel building option -j.

See original GitHub issue

Hi,

The ``python setup.py install’’ has the following option:

--parallel (-j) number of parallel build jobs

On the other hand, I noted that the ``pip install'' will invoke the ``python setup.py'' if necessary. So, I want to know whether there is the ``pip install'' 's option corresponding to the python parallel building option -j?

Regards

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
uranusjrcommented, Mar 20, 2020

@azmeuk pip propagates build options to child dependencies. Use --no-deps to install . independently, and then pip install . again without the build-option flag to pull in dependencies.

0reactions
pradyunsgcommented, Dec 16, 2022

Closing this out since this has been sitting for a while now and the use of --global-option to directly interact with setup.py is on its way out. See https://pip.pypa.io/en/stable/reference/build-system/ for the details on the second part.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install/compile pip requirements in parallel (make -j ...
This works. My wxPython build is now happening on 8 processes in parallel Thanks. I used -j8 just for good measure. – partofthething....
Read more >
The difference between ``python setup.py build_ext
So, it seems that pip install -e DIR and python setup.py develop are equivalent in the final results for setting up the develop...
Read more >
Installation — block2 documentation - Read the Docs
pip install block2-mpi. Binary format are prepared via pip for python 3.6, 3.7, 3.8, ... Adding option -DMPI=ON will build MPI parallel version....
Read more >
qbatch
Execute shell command lines in parallel on Slurm, S(un|on of) Grid Engine (SGE) ... qbatchParser will accept a list of command line options...
Read more >
scikit-build Documentation
Python package to be downloaded and installed when your project is built. ... To limit the number of parallel jobs, the build tool...
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