Comments (4)
Actually, it is worse than I originally reported: python setup.py install
from a git clone also doesn't work (which at least makes sense compared to the other failures). The previous test that appeared to be working was because I was sitting in the speclite/ directory and it was finding the filters it needed starting from that local path.
@dkirkby @weaverba137 please help fix the speclite installation procedure. This is needed for testing the next DESI software release. Thanks.
from speclite.
When you say you were in the speclite directory, was that the top-level git checkout directory or the Python package directory?
from speclite.
I was in the in the top level git checkout (i.e. the "...
" in the above represents the installation output messages, not any additional commands I issued after ccing into the top level git checkout).
FWIW, it works to use speclite without installing it, by adding the top level git clone directory to $PYTHONPATH
. It is only the installation procedure that seems to be missing the necessary data files.
Also: I was testing this with python 3.8 in a conda environment on my laptop, starting with:
conda create --name desitest --yes python=3.8 \
numpy scipy astropy pyyaml requests ipython h5py scikit-learn \
matplotlib numba sqlalchemy line_profiler pytest pytz
conda activate desitest
conda install -c conda-forge fitsio
pip install healpy
[then various attempts to install speclite]
Thanks for checking on this.
from speclite.
A few data points:
- I tried doing
python setup.py install --prefix ...
(to keep the install separate from anything else) from a git clone where I explicitly checked out tagv0.9
. - The
speclite/data
(in the Python package) directory was not installed at all, so that's the big problem here. - The install was placed in
python3.6/site-packages/packagename-0.9.dev528-py3.6.egg
, so not only is the install process not picking up the name of the package, it is also getting the version wrong (version should be 0.9, since this is tagv0.9
). - Although
speclite/data
is listed in the setup.py file (although not MANIFEST.in), it is possible that the mechanism that would normally install this package has "decayed away" in some sense.
from speclite.
Related Issues (20)
- Warning from future non-tuple HOT 3
- Euclid throughputs HOT 3
- Is speclite.readthedocs.io updated? HOT 7
- AB magnitudes not correctly predicted HOT 1
- MNT: Stop using ci-helpers in appveyor.yml
- speclite v0.9 pip install failure HOT 17
- Padding method not propagated for filter group HOT 3
- SDSS filters missing atmospheric transmission factor? HOT 8
- module 'astropy.utils.data' has no attribute '_find_pkg_data_path' HOT 9
- accommodating a band_shifted filter curve? HOT 2
- Latest speclite release incompatible with setuptools>=58.0.2 HOT 3
- astropy and numpy warnings
- find_pkg_data_path deprecated in Astropy 5.0 HOT 2
- Citation instructions? HOT 5
- ReadTheDocs configuration HOT 1
- Add Gaia DR3 pass-bands
- Speclite documentation can't be build HOT 1
- matplotlib deprecated `cm.get_cmap`
- ModuleNotFoundError: No module named 'imp' HOT 3
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 speclite.