udacity / CarND-Term1-Starter-Kit

MIT License
494 stars 602 forks source link

Could not find a version that satisfies the requirement tensorflow #61

Closed thisisnottheaccountyourelookingfor closed 7 years ago

thisisnottheaccountyourelookingfor commented 7 years ago

I got this error when I tried to re-create my conda environment on Mac OS. Caused by tensorflow 1.0 release?

Moving tensorflow out of the pip section and using tensorflow=0.12.1 allowed me to create the environment and run CarND-LeNet-Lab/LeNet-Lab-Solution.ipynb.

domluna commented 7 years ago

Set the TF version in environment.yml to 0.12.1. AFAIK most of the content might not support 1.0 yet anyway.

davidhungh commented 7 years ago

Please advice! I still have problem with this issue. I first put tensorflow == 0.12.1 in the pip section. It did not work I delete the line with tensorflow, finished with the creation of the env. Then using pip install tensorflow == 0.12.1 ---> still did not work

What do you mean by moving tensorflow out of the pip section. Inside the env. file what should I write? pip install tensorflow == 0.12.1?

davidhungh commented 7 years ago

Is it something with Python version. My version is python==3.5.2

davidhungh commented 7 years ago

Ok! I got it now. I move tensorflow outside the pip section as following:

domluna commented 7 years ago

I was just referring to this file https://github.com/udacity/CarND-Term1-Starter-Kit/blob/master/environment.yml. Previously the TensorFlow wasn't pinned at a specific version so it would download the latest one (v1.0). Now it'll download v0.12.1 instead.

davidhungh commented 7 years ago

It is working now for me as my environment.yml is as following:

name: carnd-term1 channels: