Install: Windows 10 - scottiealexander/NeuroBootcamp.jl GitHub Wiki

To install NeuroBootcamp on Windows 10 please follow the following steps:

1. Install Python and Matplotlib

  1. Install Python 3.7 LINK(https://www.python.org/ftp/python/3.7.4/python-3.7.4-amd64.exe)

  2. Launch PowerShell (hint: type powershell into the Windows/Cortana search bar to find the application launcher)

  3. run the following commands (copy-and-paste the first line into PowerShell then press enter, then do the same for the next line):

cd ~/AppData/Local/Programs/Python/Python37
./python.exe -mpip install matplotlib
  1. Exit PowerShell

2. Install Julia and NeuroBootcamp

  1. Install Julia 1.2 LINK(https://julialang-s3.julialang.org/bin/winnt/x64/1.2/julia-1.2.0-win64.exe)

  2. Launch Julia (hint: type julia into the Windows/Cortana search bar to find the application launcher)

  3. Run the following commands (copy and paste each line, then press [ENTER] to run, to paste you might have to right click within the window and select "Paste")

ENV["PYTHON"] = joinpath(homedir(), "AppData", "Local", "Programs", "Python", "Python37", "python.exe")
using Pkg
Pkg.add(PackageSpec(url="https://github.com/scottiealexander/NeuroBootcamp.jl.git"))
  1. That command should take a little while to complete. Once it is done, run the following command:
using NeuroBootcamp
  1. That command might take a pretty long time, but once it'd done the installation should be complete!

Problems?

If you get an error that matplotlib can't be found (or something like that), launch Julia and copy-paste the following code section (the whole thing) and press [ENTER]:

ENV["PYTHON"] = joinpath(homedir(), "AppData", "Local", "Programs", "Python", "Python37", "python.exe")
if isfile(ENV["PYTHON"])
    using Pkg
    Pkg.build("PyCall")
    Pkg.build("PyPlot")
    Pkg.build("NeuroBootcamp")
else
    error("Failed to locate PYTHON")
end

If you get an error saying Failed to locate PYTHON please check the location at which python was installed. Launch Python3.7 (which you installed in step 1, you can use the Cortana search feature) and run the following commands:

import sys
print(sys.executable)

Please email me and include the file path printed by the above code.

Good luck!