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

Couldn't build conda env #15

Open
ShupingR opened this issue May 10, 2017 · 5 comments
Open

Couldn't build conda env #15

ShupingR opened this issue May 10, 2017 · 5 comments

Comments

@ShupingR
Copy link

ShupingR commented May 10, 2017

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 (conda/conda#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!

@leriomaggio
Copy link
Owner

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.

@ShupingR
Copy link
Author

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

@denisefan28
Copy link

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

@ShupingR
Copy link
Author

@denisefan28 Glad it helped!

@soxofaan
Copy link

soxofaan commented Oct 21, 2017

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

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

4 participants