Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
toolbox
WindEnergyToolbox
Commits
0bfa4edd
Commit
0bfa4edd
authored
4 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
update conda installation instructions for developers.
parent
df30e781
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!165
update conda installation instructions for developers.
Pipeline
#20446
passed
4 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/developer-guide.md
+17
-30
17 additions, 30 deletions
docs/developer-guide.md
with
17 additions
and
30 deletions
docs/developer-guide.md
+
17
−
30
View file @
0bfa4edd
...
...
@@ -63,59 +63,46 @@ For all platforms we recommend that you download and install the Anaconda -
a professional grade, full blown scientific Python distribution.
### Installing
Ana
conda
, activate root environment
### Installing
Mini
conda
*
Download and install Anaconda (Python 3.
5
version, 64 bit installer is
recommended) from
<https://
www.continuum.io/downloads>
*
Download and install Anaconda (Python 3.
8
version, 64 bit installer is
recommended) from
<https://
docs.conda.io/en/latest/miniconda.html>
.
> Note: The Python 2.7 or Python 3.5 choice of Anaconda only affects the
root environment. You can always create additional environments using other
Python versions, see below.
*
Update the root Anaconda environment (type in a terminal):
You should now be able to find a
`Anaconda Powershell (Miniconda)`
or
`Anaconda Prompt (Miniconda)`
application launcher. This will drop you in a
terminal alike application, saying something like this:
```
>> conda update --all
(base) C:\Users\>
```
*
Activate the Anaconda root environment in a terminal as follows:
and where
`(base)`
refers to your base Miniconda installation environment.
You can keep the base environment updated as follows (type in a terminal):
```
>> activate
```
and your terminal will do something like:
```
C:\Users\> activate
(root) C:\Users\>
>> conda update --all
```
note that the name of the environment is now a prefix before the current path.
use
```deactivate```
to deactivate the environment.
### Optionally, create other independent Anaconda environments
By using environments you can manage different Python installations with
different versions on your system. Creating environments is as easy as:
different versions on your system
independently
. Creating environments is as easy as:
```
>> conda create -n py27 python=2.7
>> conda create -n py34 python=3.4
>> conda create -n py35 python=3.5
>> conda create -n py39 python=3.9
```
These environments can be activated as follows:
Where
`-n py39`
refers any user defined name that describes what is the environment
used for. These environments can then be activated as follows:
```
>> activate py27
>> activate py34
>> activate py35
>> conda activate py35
```
The Python distribution in use will now be located in e.g.
\<
path_to_anaconda
\>
/env/py3
5
/
The Python distribution in use will now be located in e.g.
\<
path_to_anaconda
\>
/env/py3
9
/
use
```deactivate```
to deactivate the environment.
use
```
conda
deactivate```
to deactivate the environment.
## Install/build dependencies
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment