Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
169789b2
Commit
169789b2
authored
3 years ago
by
Elias Werner
Browse files
Options
Downloads
Patches
Plain Diff
add conda init information before working with conda virtual environments
parent
282e4ddc
No related branches found
No related tags found
2 merge requests
!530
Automated merge from preview to main
,
!496
add conda init information before working with conda virtual environments
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md
+15
-0
15 additions, 0 deletions
...u-dresden.de/docs/software/python_virtual_environments.md
with
15 additions
and
0 deletions
doc.zih.tu-dresden.de/docs/software/python_virtual_environments.md
+
15
−
0
View file @
169789b2
...
...
@@ -90,6 +90,21 @@ marie@compute$ source /scratch/ws/1/python_virtual_environment/env/bin/activate
## Conda Virtual Environment
**Prerequisite:**
Before working with conda, your shell needs to be configured
initially. Therefore login to the ZIH system, load the Anaconda module and run
`conda init`
. For more information use
`conda init --help`
. Note that changes
take effect after closing and re-opening your shell.
??? example
```console
marie@compute$ module load Anaconda3 #load Anaconda module
Module Anaconda3/2019.03 loaded.
marie@alpha$ conda init #configure shell
[...]
modified /home/marie/.bashrc
```
This example shows how to start working with
**conda**
and virtual environment
(with using module system). At first, we use an interactive job and create a
directory for the conda virtual environment:
...
...
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