...
Table of Contents | ||
---|---|---|
|
...
Why
...
use Conda?
Also: |
---|
...
By default, local installs will install to one central location within your home directory (
pip
under~/.local
,install.packages()
under~/R
)Package installations are separated by kernel software versions, but if conflicts exist within the overall install location, packages are overwritten to make the software and dependencies “fit” with your most recently requested installation. This can change installation and available packages for your user profile, breaking older installations and software that you still want to use.
Installing in your
$HOME
directory makes packages and versions of software in your /home available to you regardless of whether you want them at the time, or not.This causes software conflicts between versions native to the HPC system, those you may want to load off and on with modules, and those you’ve installed in
$HOME
, meaning that loaded modules or native HPC software may not work properly or crash due to underlying dependencies can be superseded by packages in$HOME
.
...
Dependency Hell is not Limited to Python: Examples in R
Also: |
---|
...
In these steps, we assume you’ve already created your desired Conda environment. To learn how to create a Conda environment, please see our Conda module.
You should also return to the documentation on exporting conda environments to a python kernel if you have not completed this training.
With our Conda environment already installed and configured, we can now set it up to be used as a jupyter kernel. (To learn about how to make your own Conda environments, see our training on Conda)
| For Python:
|
---|
...
In these steps, we assume you’ve already created your desired Conda environment. To learn how to create a Conda environment, please see our Conda module.
Note: A more in depth description with background for creating an R kernel is available at in our R and RStudio Training Materials in the section re: Create an R Kernel for Jupyter
With our Conda environment already installed and configured, we can now set it up to be used as a jupyter kernel. (To learn about how to make your own Conda environments, see our training on Conda)
| For R:
|
---|
...
Running a Console Kernel
...
Use the following link to provide feedback on this training: https://forms.gle/qBBwXpKeTNqSR551648Cy6mmY1gniN9Jy5 or use the QR code below.
...