Skip to content

Commit

Permalink
Added more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed Mar 7, 2021
1 parent 0878d4a commit d0ba85d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13125,7 +13125,7 @@ <h2 id="Download-and-install-Anaconda">Download and install Anaconda<a class="an
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
</div><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="Windows:-Installing-a-conda-environment-for-Windows-from-YML-file-(quickest-method---recommended)">Windows: Installing a conda environment for Windows from YML file (quickest method - recommended)<a class="anchor-link" href="#Windows:-Installing-a-conda-environment-for-Windows-from-YML-file-(quickest-method---recommended)">&#182;</a></h2><p>We can download <a href="https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_windows.yml">environment_windows.yml (click to download)</a> from our browser or via <code>curl</code> in the command line. We can use that YML file to create our conda environment with all the necessary packages. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries.</p>
<h2 id="Windows:-Installing-a-conda-environment-for-Windows-from-YML-file-(quickest-method---recommended)">Windows: Installing a conda environment for Windows from YML file (quickest method - recommended)<a class="anchor-link" href="#Windows:-Installing-a-conda-environment-for-Windows-from-YML-file-(quickest-method---recommended)">&#182;</a></h2><p>We can download <a href="https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_windows.yml">environment_windows.yml (click to download)</a> from our browser or via <code>curl</code> in the command line. We can use that YML file to create our conda environment with all the necessary packages. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries. Sometimes conda might hang for a very long time, if this is the case, try the "slower" method below.</p>
<ul>
<li>Open up the Anaconda Prompt (should be in the Start Menu)</li>
<li><p>In this prompt, your Anaconda folder will be on the path (ie. it will recognise where <code>conda</code> is installed etc.)</p>
Expand Down Expand Up @@ -13206,7 +13206,7 @@ <h2 id="Excel:-Installing-xlwings-addin-in-Excel-on-Windows-(or-Mac)">Excel: Ins
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
</div><div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="Linux/Mac:-Installing-a-conda-environment-for-Linux/Mac-from-YAML-file-(quickest-method---recommended)">Linux/Mac: Installing a conda environment for Linux/Mac from YAML file (quickest method - recommended)<a class="anchor-link" href="#Linux/Mac:-Installing-a-conda-environment-for-Linux/Mac-from-YAML-file-(quickest-method---recommended)">&#182;</a></h2><p>We can download <a href="https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_linux.yml">environment_linux.yml (click to download)</a> if we're installing on Linux or <a href="https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_mac.yml">environment_mac.yml (click to download)</a> for Mac from our browser or via <code>curl</code> in the command line. We can use that YML file to create our conda environment with all the necessary packages . This should be a lot faster to run. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries.</p>
<h2 id="Linux/Mac:-Installing-a-conda-environment-for-Linux/Mac-from-YAML-file-(quickest-method---recommended)">Linux/Mac: Installing a conda environment for Linux/Mac from YAML file (quickest method - recommended)<a class="anchor-link" href="#Linux/Mac:-Installing-a-conda-environment-for-Linux/Mac-from-YAML-file-(quickest-method---recommended)">&#182;</a></h2><p>We can download <a href="https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_linux.yml">environment_linux.yml (click to download)</a> if we're installing on Linux or <a href="https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_mac.yml">environment_mac.yml (click to download)</a> for Mac from our browser or via <code>curl</code> in the command line. We can use that YML file to create our conda environment with all the necessary packages . This should be a lot faster to run. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries. Sometimes conda might hang for a very long time, if this is the case, try the "slower" method below.</p>
<ul>
<li>Open a Terminal window (usually a black window icon on both Linux and Mac) making sure that Anaconda is on your path on Linux or Mac<ul>
<li>See the section <strong>Make sure Anaconda is on your Mac or Linux path</strong> for more information about starting conda, if Anaconda isn't on your paht</li>
Expand Down Expand Up @@ -13327,7 +13327,7 @@ <h2 id="Windows/Linux/Mac:-Installing-a-conda-environment-if-all-else-fails">Win
<li><p>Activate the new <code>py37class</code> environment, install the <code>anaconda</code> libraries, which include things like Pandas, NumPy etc. and install the Cuemacro finance libraries to get you started.</p>
<ul>
<li><code>conda activate py37class</code></li>
<li><code>conda install anaconda</code></li>
<li><code>conda install anaconda</code> (and if you find it hangs remove this line)</li>
<li><code>pip install chartpy findatapy finmarketpy dash</code></li>
</ul>
</li>
Expand Down
10 changes: 5 additions & 5 deletions pythoncourse/installation/installing_anaconda_and_pycharm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"source": [
"## Windows: Installing a conda environment for Windows from YML file (quickest method - recommended)\n",
"\n",
"We can download [environment_windows.yml (click to download)](https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_windows.yml) from our browser or via `curl` in the command line. We can use that YML file to create our conda environment with all the necessary packages. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries.\n",
"We can download [environment_windows.yml (click to download)](https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_windows.yml) from our browser or via `curl` in the command line. We can use that YML file to create our conda environment with all the necessary packages. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries. Sometimes conda might hang for a very long time, if this is the case, try the \"slower\" method below.\n",
"\n",
"* Open up the Anaconda Prompt (should be in the Start Menu)\n",
"* In this prompt, your Anaconda folder will be on the path (ie. it will recognise where `conda` is installed etc.)\n",
Expand Down Expand Up @@ -99,7 +99,7 @@
"\n",
"A conda environment is a separate version of Python, where you can install all your own Python environments. This is a slower way to do it, but this makes it easier to change the versions of the libraries (note, might not be 100% same versions as my libraries). Also try this method if the above one takes too long. \n",
"\n",
"Note that underneath `create_conda_env_windows.bat` are using [mamba](https://github.com/mamba-org/mamba) - which is a faster implementation of conda to install some libraries versus conda. If you have any difficulties with mamba, you might need to change references in `create_conda_env_windows.bat` where mamba is installing libraries to conda.\n",
"Note that underneath `create_conda_env_windows.bat` are using [mamba](https://github.com/mamba-org/mamba) - which is a faster implementation of conda to install some libraries versus conda. If you have any difficulties with mamba, you might need to change references in `create_conda_env_windows.bat` where mamba is installing libraries to conda. If this method still doesn't work/or hangs, skip to the section \"Installing a conda environment if all else fails\".\n",
"\n",
"### Download `create_conda_env_windows.bat`\n",
"* Open up the Anaconda Prompt (should be in the Start Menu)\n",
Expand Down Expand Up @@ -143,7 +143,7 @@
"source": [
"## Linux/Mac: Installing a conda environment for Linux/Mac from YAML file (quickest method - recommended)\n",
"\n",
"We can download [environment_linux.yml (click to download)](https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_linux.yml) if we're installing on Linux or [environment_mac.yml (click to download)](https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_mac.yml) for Mac from our browser or via `curl` in the command line. We can use that YML file to create our conda environment with all the necessary packages . This should be a lot faster to run. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries.\n",
"We can download [environment_linux.yml (click to download)](https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_linux.yml) if we're installing on Linux or [environment_mac.yml (click to download)](https://raw.githubusercontent.com/cuemacro/teaching/master/pythoncourse/installation/environment_mac.yml) for Mac from our browser or via `curl` in the command line. We can use that YML file to create our conda environment with all the necessary packages . This should be a lot faster to run. This also installs the exact same libraries versions that I have (and reduces the likelihood of version conflicts between libraries). The conda environment file is periodically updated for new versions of libraries. Sometimes conda might hang for a very long time, if this is the case, try the \"slower\" method below.\n",
"\n",
"* Open a Terminal window (usually a black window icon on both Linux and Mac) making sure that Anaconda is on your path on Linux or Mac\n",
" * See the section **Make sure Anaconda is on your Mac or Linux path** for more information about starting conda, if Anaconda isn't on your paht\n",
Expand Down Expand Up @@ -177,7 +177,7 @@
"## Linux/Mac: Installing a conda environment for Linux/Mac (slower method)\n",
"\n",
"A conda environment is a separate version of Python, where you can install all your own Python environments. For Linux \n",
"and Mac, we'll install more libraries, which you might need to use later (some of which aren't fully supported by Windows). Note that underneath `create_conda_env_linux.sh` (or Mac) are using [mamba](https://github.com/mamba-org/mamba) - which is a faster implementation of conda to install some libraries versus conda. If you have any difficulties with mamba, you might need to change references in `create_conda_env_linux.sh` (or Mac) where mamba is installing libraries to conda.\n",
"and Mac, we'll install more libraries, which you might need to use later (some of which aren't fully supported by Windows). Note that underneath `create_conda_env_linux.sh` (or Mac) are using [mamba](https://github.com/mamba-org/mamba) - which is a faster implementation of conda to install some libraries versus conda. If you have any difficulties with mamba, you might need to change references in `create_conda_env_linux.sh` (or Mac) where mamba is installing libraries to conda. If this method still doesn't work/or hangs, skip to the section \"Installing a conda environment if all else fails\".\n",
"\n",
"### Download `create_conda_env_mac.sh` or `create_conda_env_linux.sh`\n",
"\n",
Expand Down Expand Up @@ -242,7 +242,7 @@
" \n",
"* Activate the new `py37class` environment, install the `anaconda` libraries, which include things like Pandas, NumPy etc. and install the Cuemacro finance libraries to get you started.\n",
" * `conda activate py37class`\n",
" * `conda install anaconda`\n",
" * `conda install anaconda` (and if you find it hangs remove this line)\n",
" * `pip install chartpy findatapy finmarketpy dash`"
]
},
Expand Down

0 comments on commit d0ba85d

Please sign in to comment.