4 ms·
Half the tutorial is about how to set up virtualEnv and other config. This is why I hate developing in python. I will just wait for go and node.js to come up w
by wrong_variable 11y ago
Half the tutorial is about how to set up virtualEnv and other config.
This is why I hate developing in python. I will just wait for go and node.js to come up with their own APIs for tensor flow.
- maaku 11y agoYou could write that API...
- mzahir 11y agoUse the docker image instead - https://www.tensorflow.org/versions/0.6.0/get_started/os_setup.html#docker_install https://www.tensorflow.org/versions/0.6.0/get_started/os_set...
- cookingrobot 11y agoI'd successfully finished the Andrew Ng Coursera class using Matlab on my old MacBook Air, and moved on to TensorFlow. Turns out Docker is just too much for my 2 Gb Mac - it totally hangs. I got it working pretty easily on a web IDE codeenv, but it has limitations and I couldn't load the sample files or use ipython notebook. I'd love to run through these tutorials on a remote hosted environment with minimal configuration work. Anyone have advice?
- batat 11y agoNodejs, nodejs-legacy, npm, gulp, bower and tsd. Not a big deal of course.
- rahimnathwani 11y ago"Half the tutorial is about how to set up virtualEnv and other config." No, it's not. The README.md for the repo has a link to the tensorflow 'Download and Setup' instructions (in another repo). The files in the tensorflow_tutorials repo are all code samples (and corresponding ipython notebooks) showing how to use Tensorflow.
- frozenport 11y agoHumbug! In my day you had to resolve linker dependencies, and god forbid if you mixed debug and release or one of the things you were linking against accidently set your process to single-threaded apartment mode, kids these days have it easy!
- wodenokoto 11y agoOr you could install it with easy install and pip. Literally 2 commands in terminal. Virtual environments have their benefits, but they are far from necessary.
- Houshalter 11y agoI discovered it was nearly impossible to set up pip on windows. It required installing virtual environment stuff first which was very difficult. I eventually discovered someone who had a binary wrapper of it.
- zo1 11y agoPython on windows is a special case. Don't try to use pip/easy_install(setup tools) for anything that has extension modules, or needs compilation rather. Just find the binary distribution for your CPU architecture for windows and install using that. Pip and setup tools were not made for a windows-type environment. I.e. Where you have don't library dependencies automatically installed and you require a compiler. Windows is a second-class citizen when it comes to those things, but it's getting better with cygwin and all that.
- Kihashi 11y agoPip comes installed by default with python 3.4 and 3.5. Not sure about the latest 2.7 builds, but I expect it's bundled there too. EDIT: For the general case of Python on windows, it might be worth looking into [Anaconda][https://www.continuum.io/downloads https://www.continuum.io/downloads].
- zo1 11y agoSetup tools doesn't have distributions for 2.5 anymore. You have to download a "bootstrap.py" type of file and run that to get setup tools instaled.
- mdemare 11y agoI agree (about Python, not node.js). This was my introduction to Python. What a mess! Nothing quite worked, and the instructions were very incomplete. Install with or without sudo? System python, homebrew or something else? Python2 or python3? When pip installs libraries, then what's easy_install? How come I can't specify which python version to use for easy_install? I tried pretty much every permutation, starting with the recommended one in the tutorial, and every one ended in a different error. Don't get me wrong, the Ruby tooling situation for instance is probably just as bad, only I've gotten used to that by now.
- burke 11y ago> Don't get me wrong, the Ruby tooling situation for instance is probably just as bad Under the hood, it's comparably horrible, but IME bundler does a much better job of papering over that horribleness for experienced users and newcomers alike.