Open hackermd opened 7 years ago
I've uploaded a new version to pypi. Try it now?
Still doesn't work, unfortunately:
pip install fits_tools
Collecting fits_tools
Collecting astropy (from fits_tools)
Collecting numpy>=1.7.0 (from astropy->fits_tools)
Using cached numpy-1.12.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Installing collected packages: numpy, astropy, fits-tools
Successfully installed astropy-1.3.2 fits-tools-0.0.dev0 numpy-1.12.1
pip freeze
appdirs==1.4.3
astropy==1.3.2
FITS-tools==0.0.dev0
numpy==1.12.1
packaging==16.8
pyparsing==2.2.0
six==1.10.0
pip install FITS-tools==0.0.dev0
Collecting FITS-tools==0.0.dev0
Could not find a version that satisfies the requirement FITS-tools==0.0.dev0 (from versions: 0.0.dev143, 0.0.dev258, 0.0.dev262, 0.0.dev282)
No matching distribution found for FITS-tools==0.0.dev0
You may want to look into recommended versioning scheme.
That's the wrong version. v0.1 is on pypi now. Maybe something was locally cached?
Also, the .dev
extension is used across astropy; I don't think it is a problem.
I repeated the installation in a clean virtual environment with cache disabled:
pip install FITS_tools --no-cache-dir
Collecting FITS_tools
Downloading FITS_tools-0.0.dev282.tar.gz (195kB)
100% |████████████████████████████████| 204kB 1.6MB/s
Collecting astropy (from FITS_tools)
Downloading astropy-1.3.2.tar.gz (8.4MB)
100% |████████████████████████████████| 8.4MB 1.5MB/s
Collecting numpy>=1.7.0 (from astropy->FITS_tools)
Downloading numpy-1.12.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.4MB)
100% |████████████████████████████████| 4.4MB 1.3MB/s
Installing collected packages: numpy, astropy, FITS-tools
Running setup.py install for astropy ... done
Running setup.py install for FITS-tools ... done
Successfully installed FITS-tools-0.0.dev0 astropy-1.3.2 numpy-1.12.1
pip freeze
appdirs==1.4.3
astropy==1.3.2
FITS-tools==0.0.dev0
numpy==1.12.1
packaging==16.8
pyparsing==2.2.0
six==1.10.0
pip install FITS-tools==0.0.dev0
Collecting FITS-tools==0.0.dev0
Could not find a version that satisfies the requirement FITS-tools==0.0.dev0 (from versions: 0.0.dev143, 0.0.dev258, 0.0.dev262, 0.0.dev282)
No matching distribution found for FITS-tools==0.0.dev0
I don't understand this. The problem is obviously:
Collecting FITS_tools
Downloading FITS_tools-0.0.dev282.tar.gz (195kB)
100% |████████████████████████████████| 204kB 1.6MB/s
which is simply out of date. Is pypi doing something wrong?
When installing the
FITS-tools
package (https://pypi.python.org/pypi/FITS_tools/0.0.dev258) via pip, the version is not correctly handled.When I then freeze the environment, I get a different, incorrect version, which cannot be installed: