deep-learning-keras-tensorflow icon indicating copy to clipboard operation
deep-learning-keras-tensorflow copied to clipboard

Couldn't build conda env

Open ShupingR opened this issue 8 years ago • 5 comments

Hi, Valerio, I am still new to anaconda and was trying to build the conda env on Mac terminal by conda env create -f deep-learning-osx.yml

And got the error NoPackagesFoundError: Package missing in current osx-64 channels: - backports.shutil_get_terminal_size 1.0.0 py35_0.

After reading this post (https://github.com/conda/conda/issues/4994), I deleted some of the build numbers and/or version numbers, and also deleted backports.shutil_get_terminal_size. The environment was then created (I can share my version if needed). Check import/installed version passed. I am still at the beginning of your tutorial, and not sure if this will lead to future problems. Any help with this issue would be much appreciated!

Also, thank you very much for sharing this consice tutorial!

ShupingR avatar May 10 '17 03:05 ShupingR

I just updated the conda environment file and that package (backports.shutil_get_terminal_size) is still there, apparently. Please see the pydatalondon2017 branch for this.

I will investigate further and let you know. Could you please compare your conda environment file with the new one in the repo so you can tell what other packages you removed?

Anyway, if you were able to pass the imports, I'm quite sure that everything is up&running!

Thanks for sharing this.

Cheers.

leriomaggio avatar May 10 '17 18:05 leriomaggio

Here are the packages under dependencies I ended up deleting and are in pydatalondon2017 branch.

- backports.shutil_get_terminal_size=1.0.0=py35_1
- blas=1.1=openblas
- bleach=1.5.0=py35_0
- ca-certificates=2017.1.23=1
- cudatoolkit=7.5=0
- dbus=1.10.10=3
- gensim=1.0.1=np111py35_0
- html5lib=0.999=py35_0
- icu=58.1=1
- jedi=0.10.0=py35_0
- libffi=3.2.1=3
- nltk=3.2.2=py35_0
- numexpr=2.6.2=np111py35_0
- numpy=1.11.3=py35_blas_openblas_200
- olefile=0.44=py35_0
- pandoc=1.19.2=0
- pandocfilters=1.4.1=py35_0
- tqdm=4.11.2=py35_0
- webencodings=0.5=py35_0

Also, attached is the yml file that built my current conda environemt. my-learn-yml.txt

Thanks! -Ping

ShupingR avatar May 11 '17 01:05 ShupingR

I encountered the same issue, my os version is 10.12.3 @ShupingR Thanks for sharing your env file, it works for me.

denisefan28 avatar May 23 '17 16:05 denisefan28

@denisefan28 Glad it helped!

ShupingR avatar May 24 '17 13:05 ShupingR

I had the same issue with the master branch (ee1e0fe at the moment)

switching to the only other branch available: euroscipy2017 (4a7e98f at the moment) fixed it for me (yml file changed name though): conda env create -f keras-tutorial-env.yml

soxofaan avatar Oct 21 '17 20:10 soxofaan