install-requires Questions
2
I'm trying to specify PyTorch with CUDA in install_requires. The command to install with pip is
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio===0.8.0 -f https://download.pytorc...
Custom asked 21/3, 2021 at 23:3
4
I wonder if as well as .deb packages for example, it is possible in my setup.py I configure the dependencies for my package, and run:
$ sudo python setup.py install
They are installed automatica...
Rameau asked 13/11, 2014 at 2:27
3
Solved
I have a setup.py that looks like this:
from setuptools import setup
from subprocess import call
from setuptools.command.install import install
class MyInstall(install):
def run(self):
call(["p...
Classified asked 20/2, 2014 at 17:39
2
Solved
I'm creating a package that has 'typing;python_version<"3.5"' in it's install_requires. Apparently, this kind of dependency specification has only been implemented in recent versions of setuptoo...
Deviation asked 1/1, 2018 at 10:7
2
Solved
I have a library (subx) which depends on subprocess32. The subprocess32 library is a backport for Python2.7 and provides the timeout kwarg.
My library needs the timeout kwarg.
I need subprocess32...
Elainaelaine asked 3/11, 2017 at 14:31
1
My repository contains my own python module and a submodule to one of its dependencies which has its own setup.py.
I'd like to call the dependency's setupy.py when installing my own lib, how is it...
Javierjavler asked 27/11, 2016 at 17:31
2
Solved
I have a module that works both on python 2 and python 3. In Python<3.2 I would like to install a specific package as a dependency. For Python>=3.2.
Something like:
install_requires=[
"threa...
Penetration asked 13/1, 2014 at 0:19
1
© 2022 - 2024 — McMap. All rights reserved.