added ./ before virtualenv.py to allow copy and paste run.

This commit is contained in:
kungfujam 2015-09-28 13:40:29 +01:00
parent ea79e8761b
commit dfe7aed669

View File

@ -39,7 +39,7 @@
"### Configuring virtual environment (the generic way)\n", "### Configuring virtual environment (the generic way)\n",
"\n", "\n",
" * `git clone https://github.com/pypa/virtualenv`\n", " * `git clone https://github.com/pypa/virtualenv`\n",
" * Enter the cloned repository and type `virtualenv.py --python /usr/bin/python2.7 --no-site-packages ~/mlpractical`\n", " * Enter the cloned repository and type `./virtualenv.py --python /usr/bin/python2.7 --no-site-packages ~/mlpractical`\n",
" * Activate the environment by typing `source ~/mlpractical/bin/activate` (to leave the virtual environment one may type `decativate`). Environments need to be activated every time ones start the new session (unless you do this explicitly in the shell starting scripts, i.e. `~/.bashrc`).\n", " * Activate the environment by typing `source ~/mlpractical/bin/activate` (to leave the virtual environment one may type `decativate`). Environments need to be activated every time ones start the new session (unless you do this explicitly in the shell starting scripts, i.e. `~/.bashrc`).\n",
"\n", "\n",
"### Configuring virtual environment (more comfy DICE wrapper; ignore if you did the generic way above)\n", "### Configuring virtual environment (more comfy DICE wrapper; ignore if you did the generic way above)\n",
@ -129,12 +129,53 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 1,
"metadata": { "metadata": {
"collapsed": false, "collapsed": false,
"scrolled": true "scrolled": true
}, },
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[H\u001b[2Jatlas_3_10_blas_threads_info:\n",
" libraries = ['tatlas']\n",
" library_dirs = ['/usr/lib64/atlas']\n",
" define_macros = [('HAVE_CBLAS', None), ('ATLAS_INFO', '\"\\\\\"3.10.1\\\\\"\"')]\n",
" language = c\n",
" include_dirs = ['/usr/include']\n",
"lapack_opt_info:\n",
" libraries = ['tatlas', 'tatlas', 'tatlas']\n",
" library_dirs = ['/usr/lib64/atlas']\n",
" define_macros = [('ATLAS_INFO', '\"\\\\\"3.10.1\\\\\"\"')]\n",
" language = f77\n",
" include_dirs = ['/usr/include']\n",
"blas_opt_info:\n",
" libraries = ['tatlas']\n",
" library_dirs = ['/usr/lib64/atlas']\n",
" define_macros = [('HAVE_CBLAS', None), ('ATLAS_INFO', '\"\\\\\"3.10.1\\\\\"\"')]\n",
" language = c\n",
" include_dirs = ['/usr/include']\n",
"openblas_info:\n",
" NOT AVAILABLE\n",
"openblas_lapack_info:\n",
" NOT AVAILABLE\n",
"atlas_3_10_threads_info:\n",
" libraries = ['tatlas', 'tatlas', 'tatlas']\n",
" library_dirs = ['/usr/lib64/atlas']\n",
" define_macros = [('ATLAS_INFO', '\"\\\\\"3.10.1\\\\\"\"')]\n",
" language = f77\n",
" include_dirs = ['/usr/include']\n",
"lapack_mkl_info:\n",
" NOT AVAILABLE\n",
"blas_mkl_info:\n",
" NOT AVAILABLE\n",
"mkl_info:\n",
" NOT AVAILABLE\n"
]
}
],
"source": [ "source": [
"%clear\n", "%clear\n",
"import numpy\n", "import numpy\n",