Comments (6)
The following packages have to be included
s3fs
h5netcdf
netCDF4
boto3
from kamodo.
These four are already in the setup.cfg, so they don't need to be in requirements.txt. Any pip install of Kamodo will check that the packages in setup.cfg are also installed. I can't reproduce this error.
from kamodo.
This is true, if Kamodo is installed via pip, the dependencies will be handled via setup.cfg. However, if Kamodo is cloned directly from the repository, then requrements.txt helps with installation of the necessary packages in the virtual environment.
As far as I know, there is no command that allows you to install dependency from setup.cfg, like pip install -r requirements.txt
, after the project was cloned. The requirements.txt is useful for development, which is why I suggest to include this small change.
from kamodo.
You can install dependencies for a cloned project. I do it all the time. If you are in the top directory of the cloned project, just type 'pip install .' and it installs the project and all dependencies.
from kamodo.
Thanks for the suggestion! This solution works in the console, but require a bit extra work via IDE. I use PyCharm, which recognize requirements.txt by default.
So, the problem is solvable on my end with a workaround. However, I still don't understand why not just add those packages in requirements.txt?
from kamodo.
I don't see a big negative to modifying requirements.txt this way, though its not how I've understood the intent of this file. I will accept and then slightly modify your PR.
from kamodo.
Related Issues (20)
- Improve README - Equations
- The README file in this repo has 2 bad links - [404:NotFound]
- Kamodo won't accept units 'N', 'S', or 'Ohm' HOT 4
- Errors calling kamodo from C++ HOT 2
- Getting empty argument list from kamodo
- Invalid path for windows.
- Flythrough won't import HOT 1
- SFcsv_reader leaving unclosed file HOT 1
- Installation notes HOT 2
- Move documentation from binary pdf files to plain text files
- Add to pip
- Add this to conda-forge
- requirements.txt HOT 1
- Module kamodo_ccmc.readers.OpenGGCM.readOpenGGCM not found HOT 2
- Requesting a DOI for Kamodo
- Support Python 3.8, 3.9, 3.10, and 3.11
- interpolate_amrdata_extension_build.py errors on Windows10 HOT 2
- Kamodo not working on data stored in s3 buckets HOT 4
- Missing Project Description
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kamodo.