You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>This will copy the repo and take you to your fork, notice that your web-browser’s URL has changed to include your username.</li>
154
154
<li>Now you can <ahref="http://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository#Cloning-an-Existing-Repository">clone</a> your fork to your computer. Find the clone url of your fork on the right hand side of the page and copy it. You can use the https url. <br/><imgsrc="https://suave.stanford.edu/images/clone-example.png" alt="clone" height="90px" /></li>
155
155
<li>Open a command prompt, in a directory that you want to start the repository (for example in the SUAVE_Project folder), and run the git clone command <br/><codeclass="highlight_code">git clone <git url></code><br/> Now you should have the source code.</li>
156
-
<li>Change directory into the trunk folder and run a developer installation command. <br/><codeclass="highlight_code">python setup.py develop</code><br/> Now you have a developer version of SUAVE installed! You can make changes to the source in this directory and the changes will appear the next time you run python, without having to rebuild or reinstall.</li>
156
+
<li>Change directory into the trunk folder and run a developer installation command. <br/><codeclass="highlight_code">python3 setup.py develop</code><br/> Now you have a developer version of SUAVE installed! You can make changes to the source in this directory and the changes will appear the next time you run python, without having to rebuild or reinstall.</li>
157
157
<li>Test the installation by changing to any other directory, then start a python shell, and run the command <br/><codeclass="highlight_code">>>> import SUAVE</code><br/><codeclass="highlight_code">>>> print(SUAVE.__file__)</code><br/> This should print the file path to the SUAVE package init.py file in your trunk directory.</li>
158
158
</ol>
159
159
160
160
<h4id="some-notes">Some Notes</h4>
161
161
162
162
<ul>
163
-
<li>You may need to run a sudo (super user do) command to install SUAVE when working on linux or mac systems: <codeclass="highlight_code">sudo python setup.py develop</code></li>
163
+
<li>You may need to run a sudo (super user do) command to install SUAVE when working on linux or mac systems: <codeclass="highlight_code">sudo python3 setup.py develop</code></li>
164
164
<li>The same strategies for dealing with write access can be used here, by simply replacing any <codeclass="highlight_code">install</code> keywords with <codeclass="highlight_code">develop</code></li>
165
-
<li>To uninstall the developer version, run the command <codeclass="highlight_code">python setup.py develop --uninstall</code></li>
165
+
<li>To uninstall the developer version, run the command <codeclass="highlight_code">python3 setup.py develop --uninstall</code></li>
<strong>Note</strong>: For the windows installers, you can pick the latest version, for “cp2.7” (C-Python 3.6), for your architecture (32 or 64bit), and for numpy pick the MKL version (it’s faster). <br/>
179
+
<strong>Note</strong>: For the windows installers, you can pick the latest version, for Python 3.6, for your architecture (32 or 64bit), and for numpy pick the MKL version (it’s faster). <br/>
180
180
<strong>Note</strong>: The pip installer above will also install setuptools, a sub-dependency.</p>
181
181
182
182
<h3id="dealing-with-write-access">Dealing with Write Access</h3>
@@ -186,7 +186,7 @@ <h3 id="dealing-with-write-access">Dealing with Write Access</h3>
186
186
<h4id="a-install-to-local-site-packages">A. Install to local site-packages</h4>
Your site-packages folder is typically located in your python’s install directory, unless you manually created it. You can find it by using the following commands.<br/>
0 commit comments