Install Requirements
See original GitHub issueHi,
Since trixi does not necessarily depend on PyTorch, would it be possible to leave it out of the dependencies inside the setup.py and on pip?
I’d like to use trixi in a project but don’t want a hard PyTorch dependency. From what I’ve seen, an optional dependency should be sufficient.
Greetings, Justus
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to install Python packages with pip and requirements.txt
The following command will install the packages according to the configuration file requirements.txt . $ pip install -r requirements.txt. You ...
Read more >python - How can I install packages using pip according to the ...
This works for everyone: pip install -r /path/to/requirements.txt. Explanation: -r, --requirement < filename >. Install from the given requirements file.
Read more >How to use requirements.txt to install all dependencies in a ...
1 Answer · Firstly, remove matplotlib==1.3.1 from requirements.txt · After that try to install it with sudo apt-get install python-matplotlib · Run pip...
Read more >install_requires vs requirements files
install_requires is a setuptools setup.py keyword that should be used to specify what a project minimally needs to run correctly. When the project...
Read more >The Python Requirements File and How to Create it
Use the pip install -r requirements.txt command to install all of the Python modules and packages listed in your requirements.txt file. This ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@dzimmerer, @jenspetersen: maybe we could use
requirements_base.txtin the setup to support this use case? https://github.com/MIC-DKFZ/trixi/blob/develop/setup.py#L33There is now a trixi-slim package. Note that it is accessed via “trixi” in python and I have no idea what happens if you try to install it along with the regular trixi package (feel free to try and report 😃).