Skip to content
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

Docker compose up failure: Py 3.7 or deprecated packages? #25

Closed
csqr opened this issue Apr 25, 2019 · 3 comments
Closed

Docker compose up failure: Py 3.7 or deprecated packages? #25

csqr opened this issue Apr 25, 2019 · 3 comments

Comments

@csqr
Copy link

csqr commented Apr 25, 2019

Hi,
I did manage to run the Jupyter notebook a few weeks ago. However, on upgrading to Python 3.7 and Anaconda I am getting the following error on docker-compose up

SpecsConfigurationConflictError: Requested specs conflict with configured specs.
requested specs:
- h5py=2.7
- matplotlib=2.1
- pandas=0.22
- scikit-image=0.13
- scipy=1.0
- statsmodels=0.8
pinned specs:
- python=3.7
Use 'conda config --show-sources' to look for 'pinned_specs' and 'track_features'
configuration parameters. Pinned specs may also be defined in the file
/opt/conda/conda-meta/pinned.

I have gone through both Stack overflow and closed issues on Github, but could not find any specific solution. Seems to be related to either deprecated packages and/or Py 3.7 not supported. Any help appreciated.

Thanks,

@csqr
Copy link
Author

csqr commented Apr 25, 2019

On deprecating to Py 2.7 and removing Anaconda, I am now able to generate the Jupyter notebook again.
Does this imply that the pinned dependencies on the notebook and Docker image are not supporting updated packages/ Py version 3.7?

@csqr csqr closed this as completed Apr 25, 2019
@hongweiz
Copy link

Could you share how did you deprecate Py 2.7? I hit the exact same issues, my Mac is running Python 2.7.

@csqr
Copy link
Author

csqr commented May 2, 2019

#This is on Mac OS Mojave 10.14.4.
#Sequence (with stack overflow link in comment) was as follows:
#Deleted Anaconda completely https://stackoverflow.com/questions/42182706/how-to-uninstall-anaconda-completely-from-macos

open -e .bash_profile #to completely delete conda, remember to delete Anaconda from your PATH environment variable, that should deprecate to Py 2.7

#Edit: Its only the Jupyter notebook docker compose up that is now working after deprecation (probably because of dependencies in Docker image not being compatible with Python 3.7). My system is on Py 3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants