In addition to the package we installed using apt earlier, we’ll need to install matplotlib into this Anaconda environment using pip.Īt this point you can actually run and train your agents as long as you don’t execute the render method which is what actually allows you to see what’s going on. (gym) $ git clone (gym) $ cd gym(gym) $ pip install -e. Next, we’re going to clone the gym github repo and install it using pip. The source activate command will have activated that environment, which you will know by the text “(gym)” prepended to your command prompt. In the output from the create command above you’ll have seen a whole bunch of data-sciencey python libraries get installed. $ conda create -name gym python=3.5$ source activate gym Now we are ready to create and activate a new Anaconda environment which we’ll designate creatively as “gym”.
$ sudo apt-get install cmake zlib1g-dev xorg-dev libgtk2.0-0 python-matplotlib swig python-openglĪnaconda made some changes to ~/.bashrc which we’ll need to apply in order to continue so you’ll either need to start a new Bash session or run the source command.
Next, we’ll install all the supporting packages not provided by Anaconda. It’s pretty big so it might take a few minutes. In other words, your mileage may vary.įirst, let’s go out and get Anaconda3, then install.
I note this not to damage my credibility with Linux enthusiasts further, but to draw a distinction between the Ubuntu version supported by this build (16.04 xenial) compared to that supported by the current release build of Windows 10 (14.04 trusty).
I am running Windows 10 Pro Insider Preview build 14986. So, for that we’ll need a bonafide X Server for Windows, Xming.įinally, a note for the wary. And if you’re wondering why we want X Window libraries on Microsoft Windows, that’s needed for you to observe your agents in action.Python 2D plotting library python-matplotlib.X Window system development libraries xorg-dev.
free and open compression library, zlib1g-dev.Cross-platform, open source, build tool cmak.Then we’ll need several additional packages anyway.
OpenAI is a company whose mission is to make the cutting edge in AI development open for all to see and participate in. With that in mind, Musk and the president of the YCombinator tech incubator, Sam Altman, came up with the concept of OpenAI. You may recall hearing some expressions of concern from Tesla and SpaceX CEO Elon Musk over the last few years about the potential for AI to take us down the killbot route if it’s not carefully designed. Meanwhile, Google DeepMind’s AlphaGo – the AI that beat the best human players in the world at Go – wouldn’t stand a chance against me at Mario Kart (and I’m just fair at best). We are also on the verge of unleashing murderous killbots ready to end our civilization as the most direct means to achieve their inscrutable ends. We are on the cusp of the Singularity where we will merge with our machines and advance our intelligence exponentially. Artificial Intelligence is a funny thing.