How to install python package without dependencies

I am trying to install a python module without dependencies.

I am running:

python setup.py install

      

but this installs the dependencies, any ideas how this can be done?

+3


source to share


1 answer


If you are using setup.py

, you can use:

python setup.py develop --no-deps

      



If you are using pip

try:

pip install --no-deps

      

+10


source







All Articles