-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation via Docker fails #106
Comments
If I'm reading this error correctly I think we can solve it with either specifying a specific version of pip or using the |
I have fixed the issue after I changed the docker file like that: `# To make this a 32 bit version python:2.7.18-slim-stretch -> i386/python:2.7.18-slim-stretch ENV iraf /iraf/iraf/ To make this a 32 bit version linux64 -> linuxENV IRAFARCH linux64 RUN apt-get update RUN mkdir -p $iraf RUN apt-get update RUN apt-get update RUN ln -s /usr/bin/sextractor /usr/bin/sex RUN python -m pip install --upgrade pip RUN pip install numpy>=1.12 RUN pip install sep==1.0.3 git+https://github.com/dguevel/PyZOGY.git && rm -rf ~/.cache/pip RUN wget http://ds9.si.edu/download/debian9/ds9.debian9.8.2.tar.gz RUN wget http://cdsarc.u-strasbg.fr/ftp/pub/sw/cdsclient.tar.gz RUN cd / ENV LCOSNPIPE /lcogtsnpipe RUN mkdir -p /home/supernova/iraf && /usr/sbin/groupadd -g 20000 "domainusers" RUN chown -R supernova:domainusers $LCOSNPIPE /usr/local USER supernova COPY --chown=supernova:domainusers . $LCOSNPIPE WORKDIR $LCOSNPIPE/trunk RUN python setup.py build -f && python setup.py install -f WORKDIR /home/supernova/iraf RUN mkiraf --term=xgterm -i WORKDIR /home/supernova ENTRYPOINT /bin/bash Thank you, Lydia |
reopening so we can remember to fix this for everyone else |
To add on this, I also had to re-build the docker image like this:
otherwise I was getting
when I was trying to open ds9. |
I am on macOS Monterey 12.4, Apple M1 chip and when I am trying the Docker-compose installation, I am getting this error.
` => ERROR [ 8/20] RUN pip install cryptography==2.4.1 astropy matplotlib==2.2.5 pyraf mysql-python scipy astroquery==v0.4 statsm 4.9s
executor failed running [/bin/sh -c pip install cryptography==2.4.1 astropy matplotlib==2.2.5 pyraf mysql-python scipy astroquery==v0.4 statsmodels==0.10 cython reproject]: exit code: 1`
I have installed libffi via brew.
Thank you,
Lydia
The text was updated successfully, but these errors were encountered: