FAQ - Hints & Tricks for Linux Users
General
Which application should I use to do XYZ?
- The following list gives an overview of some Linux applications and their purpose LinuxApplications
How can I convert file X into file Y?
- See this document for some examples about converting and manipulating files in Linux LinuxConvertFiles
My computer is so slow. What can I do?
There could be several reason why your PC gets slow. Please try the following
- Execute in Konsole the command
top . See if a process is using all your resources (%CPU, %MEM)
-
top -i will show you only the main running processes
- The load average in
top should be below the amount of CPUs you have. In top press 1 to see the amount of CPUs
- If your PC starts to swap (all physical memory is used) it will be very slow. If you see in
top processes called kswapd0, kswapd1 using a lot of CPU, your PC is swapping. Stop the program using a lot of memory.
- KDE Desktop effects can make your PC slow. Try to disable KDE Desktop effects: From the KDE menu choose Configure Desktop. Choose from Look & Feel Desktop Desktop Effects and uncheck the box Enable desktop effects
- Scrolling in firefox can be very slow. See here for a workaround
- Acroread does not react for several seconds. See here for a workaround
Login/Logout
I can no longer login to a Linux system
- Quite often your Trash which is under
$HOME/.local/share/Trash fills up the whole disk space. Don't forget to delete your trash from time to time.
I can no longer logout from KDE
I can no longer shutdown/reboot my PC
- It's possible to poweroff or restart your PC from the command line by typing
poweroff
reboot
I can no longer unlock the screensaver
SSH and SCP
How can I login over ssh without typing my password?
- Use SSH Key Based Authentication with empty passphrase in order to login over ssh or scp without password.
- First, you need to create an RSA key pair on your computer (if you don't already have one):
ssh-keygen -t rsa
You might need to enter a location to save it. Just use the default path. On Linux it will be somewhere like $HOME/.ssh/id_rsa and for Mac somewhere like /Users/username/.ssh/id_rsa. You will also be asked if you want to use a passphrase. If you leave it blank (just press enter), no password will be required for login.
- IMPORTANT: Keep secret your private key
~/.ssh/id_rsa and the file ~/.ssh/authorized_keys . Make sure that they are only readable and writable for you. Be aware that anybody who has a physical access to your machine may be able to get these files. If you think that somebody has stolen your private key. Remove all entries of this key from your ~/.ssh/authorized_keys2 files and recreate a new ssh key pair as described above.
- New Linux distribution expect to find the keys in ~/.ssh/authorized_keys instead of ~/.ssh/authorized_keys2. An easy solution is to link your ~/.ssh/authorized_keys2 to ~/.ssh/authorized_keys in order to keep both files the same.
How to disable ksshaskpass
Secure copy (scp) does not work
I get "timeout in locking authority file .Xauthority"
When I open a X application over ssh, I get "Error: Can't open display:"
When starting a application over ssh, I get "No DBUS session-bus found"
- After ssh login run
export $(dbus-launch)
Please note, this only works for bash shell users,
How can I mount my home directory outside of IAC?
How can I mount directories that are located behind a remote machine?
At CSCS only the ela.cscs.ch machine is exposed to the internet. Therefore one has to always log in first to that machine, before jumping to daint using ( ssh daint ). Directories such as /scratch and /project are not mounted on ela.cscs.ch which makes accessing those cumbersome, in particular using file explorers (e.g., Nautilus, Dolphin). However, one can configure ssh to use a jumphost (here: ela.cscs.ch).
To this end put the following in .ssh/config:
Host daint
HostName daint
ForwardX11Trusted yes
ProxyJump USERNAME@ela.cscs.ch
User USERNAME
You can then log in directly to daint with ssh daint and mount the filesystem in your favourite file explorer using sftp://USERNAME@daint .
More info about SSH and keys can be found here.
Shell
I get "Argument list too long". What can I do?
- The "Argument list too long" error occurs anytime you feed too many arguments to a single shell command, like
ls * , rm * , etc. Below are some suggestions how to work around this problem.
- Manually split the command line arguments into smaller bunches. For example
ls [a-m]*
ls [n-z]*
- Use the find command. For example
find . -name '*' -exec ls {} \;
- Use xargs. For example
find . -name '*' | xargs ls
- For example to delete all netcdf files in a directory you can run
find . -maxdepth 1 -type f -name '*.nc' -exec rm -f {} \;
-
-type f find only files (f )
-
-maxdepth 1 do not descend into subdirectories
-
{} is replaced by the current file name found by find
How can I keep running a program in the background?
My console is dead. What can I do?
- Try to press
CTRL+Q .
- If you use Konsole from KDE and press
CTRL+S by mistake, the Konsole will be suspended and looks like completely dead. CTRL+Q will resume the Konsole.
Disk quota
How can I list the quota of my home directory?
- You can use the command
homequota
How can I find folders using more than 1 MB disk space in my home directory?
How can I empty the trash manually?
- When the trash reaches its maximum size, the error message 'Cleanup the trash manually' will appear. Empty the trash in:
cd ~/.local/share/Trash
How can I find out the amount of free disk space in a folder?
- Change to the folder and run the command
df
cd folder
df -h .
Is there a way to display the file size in a folder graphically?
- Start konqueror, browse the the folder or type as Location
file:/parth/to/your/folder . In the konqueror menu choose View View Mode File Size View. Please be patient depending on the folder size building up the File Size View can take some time.
Emacs
Do not show the start-up screen of emacs
AUCTeX error message problem
Emacs looks different?
- In openSUSE there are different emacs styles available (emacs-x11, emacs-gtk, emacs-nox). To get X11 styled emacs type
emacs-x11
Pressing the down arrow key moves cursor to the next line as seen on the screen, but not to end of line
Chrome
Chromium does not start up when executing on a remote machine over ssh
Firefox
Firefox is hanging for several seconds. What can I do?
- Firefox seems to have problems when the profile is stored in your home folder, because your home folder is mounted over NFS v3.
- WORKAROUND: Move ~/.mozilla to the local disk /lhome
- Quit Firefox !
- Move /home/$USER/.mozilla to /lhome/$USER/.mozilla
mv /home/$USER/.mozilla /lhome/$USER/
- Link /home/$USER/.mozilla to /lhome/$USER/.mozilla
ln -s /lhome/$USER/.mozilla /home/$USER/
- Start Firefox
- Drawback: Since /lhome/$USER/.mozilla is stored locally on your PC. You can no longer start Firefox on another system with your default profile. More information about Firefox profiles
- Note: /lhome is backed up daily to /backup. More information about Linux Backup
Firefox does not start. What can I do?
- Or just running the command
firefox-unlock
will do the same for you.
My firefox is screwed up completely. What can I do?
- First try to refresh firefox: https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings
- In case this does not help quit firefox !
- If needed try to safe some settings, see https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
- Now (re-)move your broken firefox profile.
cd ~/.mozilla
rm -rf firefox
# or instead of delete, just move
mv firefox firefox.bak
If you start firefox now, a fresh firefox profile will be created and all your settings (bookmarks, plugins) are lost.
- In order to keep your firefox settings, copy from the backup an older and working firefox profile into the
~/.mozilla folder before starting firefox.
- In case your .mozilla folder is on /lhome
cd /backup
cd "date-and-time-of-last-working-version"
cd $USER/.mozilla
cp -a firefox ~/.mozilla/
- In case your mozilla folder is on /home
cd /home/.snapshot
cd "date-and-time-of-last-working-version"
cd $USER/.mozilla
cp -a firefox ~/.mozilla/
- Start firefox again.
I miss the icons in the search box (search bar)
Firefox version >= 34 comes with an new Search interface, if you don't like it, you can it turn off:
- Open Firefox and type
about:config in the addressbar and press enter. It'll confirm, click on I'll be careful, I promise! button.
- Now type
oneoff in the Filter box and look for following boolean key: browser.search.showOneOffButtons
- The entry
browser.search.showOneOffButtons should be set to true . Double-click on it or right-click on it and select Toggle . It'll set its value to false .
My firefox is slow and does not work as expected. What can I do?
Clicking on an email link in Firefox does not open Thunderbird and leaves the recipient blank
- In Firefox Edit Preferences
- Select the tab Applications
- As Content type select mailto. As action selecte use other...
- Type in
/usr/bin/thunderbird -compose %u OK OK
I see reversed colors (blue people) and artifacts of flash animations all over the screen
- Try to unset hardware optimization flag for the flash player. Right-clicking on the video and remove that flag
I see the message "The bookmarks and history system will not be functional because one of Firefox's files is in use by another application. ..."
How do I run multiple sessions of Firefox?
- Firefox does not allow two instances with the same user running in different sessions. If you should need it, you must run it with the command:
firefox -no-remote -P
otherwise you'll have the error "Firefox is already running, but is not responding. To open a new window, you must first close the existing firefox process, or restart your system".
How can I remove the "start new session" when opening firefox? I always want it to start a new session.
How to synchronize bookmarks between different computers?
- Firefox can now natively sync bookmarks and other components.
- Go to
Preferences Sync and create a firefox account.
- Select what you want to synchronize.
How to restore firefox bookmarks?
- The firefox bookmarks are stored in the files
places.sqlite and places.sqlite-journal
- These files are inside your firefox profile folder under
~/.mozilla/firefox/"anything".default . Where "anything" is a random string like cj3cdqk4 .
- Restore
places.sqlite and places.sqlite-journal from the backup
Scrolling in Firefox is very slow
In firefox type as URL about:config . As Filter type general.smoothScroll and the Value to false with a double click.
Thunderbird
I don't see all my folders in Thunderbird. What can I do?
- In case you create a folder outside of Thunderbird, for example in Webmail, on your iPhone, or in Outlook, Thunderbird will not see this folder automatically. You have to subscribe to this folder. Right click on mail account name in Folder Pane and select Subscribe.... A new window should open showing a list of folders. Select the folders you want to see in Thunderbird and click on 'Subscribe' and afterward click on OK.
- The same happens if you delete/rename a folder outside of Thunderbird. You may have to Unsubscribe first, in order to get ride of the "grayish" folder in Thunderbird.
How to set the default web browser in Thunderbird?
Thunderbird does not startup. What can I do?
- Remove the lock files
lock and .parentlock in your thunderbird profile by running the command
thunderbird-unlock
Thunderbird and Firefox are missing scroll arrows
How can I use my ETH exchange calendar in Thunderbird?
- Install the following add-ons in Thunderbird Tools Add-ons Search for the add-on
- After the add-ons are installed, we can start to configure TbSync for synchronize with Exchange
- In Thunderbird Tools Add-on Preferences TbSync
- Click on Account actions Add new account Exchange ActiveSync Microsoft Office 365
- Fill out
- Account name: can be any name, for example ETH
- User name (email address): your_eth_username@ethz.ch
- Password: your ETH password (Mail)
- Click on Add account
- Enable the synchronization status for the account by enabling Enable and synchronize this account and choose the Available resources for the Calendars. You may also choose to synchronize your Tasks and Contacts too.
- Set a Periodic synchronization (for example 5 minutes) and click on Synchronize now
- Finally close the TbSync account manager window
- In Thunderbird under Calendar right click on the new calendar Properties assign an email identity
Thunderbird does not open links
- Add the following lines in
prefs.js to open links with firefox:
user_pref("network.protocol-handler.app.http","/usr/bin/firefox");
user_pref("network.protocol-handler.app.https","/usr/bin/firefox");
user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox");
Thunderbird is filling up my home directory. What can I do?
- Per default Thunderbird 3.x downloads all emails to your local
~/.thunderbird folder. Since your emails are stored on the ETH mailserver this behavior is not needed and it is a waste of diskspace in your home directory.
- See here how to disable this feature: ThunderbirdConfigure
Is there a way to force Thunderbird to look inside all subscribed folders for new mail?
- In Thunderbird go to Edit Preferences Advanced General tab Config Editor...
- Choose as Filter: imap
- Now double click on
mail.check_all_imap_folders_for_new to set it to true.
Thunderbird downloads attachments only partially. The result are corrupt attachments like damaged PDFs.
- In Thunderbird go to Edit Preferences Advanced General tab Config Editor...
- Choose as filter: by_chunks
- Double click on
mail.imap.fetch_by_chunks (only Thunderbird <= 2.x) and mail.server.default.fetch_by_chunks to set them to false.
- In addition, choose as filter: literal
- Double click on
mail.imap.use_literal_plus to set it to false.
Usually Thunderbird downloads attachments "in chunks", but to do it it's necessary that the mail server reports their right size. Sometimes servers don't support this feature properly which can lead to corrupt attachments.
I don't see all my mail folders in Thunderbird
- Right click on Inbox and choose Subscribe...
- Mark the mail folders you want to see inside thunderbird and press Subscribe / OK
I use Thunderbird 3.x and want to have some Thunderbird 2.x functionality back
I would like that Thunderbird shows me the number of unread messages in the system tray?
Latex
Missing style files
- The latex installation is split into over 4'500 different packages. We only have installed 1'000 of them. In case you miss a latex style file, please let us (iac-it@env.ethz.ch) know.
How to add subfolders to TEXINPUTS?
My Latex installation seems to be broken
AUCTeX error messages problem
If you use AUCTeX to write LaTeX, and upon compilation an error is detected, you are supposed to press C-` to get the error message.
If instead of the error message you get ""Error after last TeX File closed", you can fix the problem by insert into your ~/.emacs
; Fix calling convention so AUCTeX reports errors
(setq LaTeX-command-style '(("" "%(PDF)%(latex) -file-line-error %S%(PDFout)")))
LibreOffice
How to set A4 page size as default?
- The default locale setting of in Libreoffice is set to English (USA).
- In order to change the default page size from Letter to A4. Set the locale setting for example to English (UK) or German (Switzerland)
- The locale setting influences settings for numbering and units of measure.
- Go to Tools Options Language Settings Languages. Set Local setting for example to German (Switzerland)
How to repair a corrupt .DOCX file?
- Unzip the .docx file in a temporary directory:
mkdir temp
unzip broken.docx -d temp
- Assuming the XML error is near line 2, column 30441, open the file word/document.xml in emacs at this position:
emacs -nw +2:30411 temp/word/document.xml
- Emacs should color XML errors in red. Correct the error.
- Remove any emacs backup files (*~), for example
rm temp/word/document.xml~
- Pack all files again in a DOCX File:
cd temp
zip -r ../fixed.docx *
- Open the fixed file in LibreOffice - Good luck!
oowriter ../fixed.docx
LibreOffice/OpenOffice is crashing all the time or does no longer start up. What can I do?
Impress is very slow. What can I do?
- Do not insert graphics as eps. Use jpg or png instead
- Disable Font Anti-Aliasing: Tools Options LibreOffice View untick Use Anti-Aliasing
Matlab
Matlab is crashing or does not work
Matlab fonts are huge in the command window
Open the Preference window using the Preferences menu.
There is a Fonts item in the Preferences that will let you customize the fonts used in each of the Desktop tools and the main font settings. Change all fonts from "Desktop code" to Custom. Choose for example Droid Sans Mono
Sound
How do I turn off that annoying system beep?
- In a shell, type
xset b off
and enjoy the silence.
- In order to disable the system beep permanently add to your shell profile
~/.bashrc (for bash) or ~/.cshrc (for tcsh) the line
xset b off >&/dev/null
Sound is not working. What can I do?
- Click on the loudspeaker icon found in the panel/system tray. Or from a console run the command
kmix
- Sometimes the KDE tool kmix is not working properly. In this case try to configure the sound with the GNOME command:
pavucontrol
- In case you don't hear anything, either your sound card is not configured correctly or your sound card is not supported by the Linux installation. Contact your system administrator GettingHelp
KDE
KDE or the KDE menu bar is hanging what can I do?
KDE menu does no longer show any applications and/or clicking on a file does not open any application
- Re-install KDE Application menu widgets
How to change the keyboard layout
- Right click on the
US symbol on the right side of the system tray/panel - select Preferences Input Methods Add German German (Switzerland) Add
Kactivitymanagerd pops up every second. What can I do?
I don't like KDE. Is there an alternative?
- Yes. Try out XFCE Desktop (http://www.xfce.org). Xfce is a lightweight desktop environment. At the login screen select Session Type and choose Xfce Session instead of KDE.
How to change the desktop background?
- Right click on your desktop and select Configure Desktop
How to change the font in the konsole (terminal)?
- Open a terminal (konsole).
- In the menu go to Settings Edit Current Profile... Click on the Appearance tab. At the bottom choose Edit Font.... Select a font. For example
Droid Sans Mono size 10 points . Finally press Ok and Apply.
How to put application icons in the panel?
- In the KDE menu search for the application you want to put into the panel.
- Instead of starting the application with a left click, right click on it and from the menu cooose Add to Panel. About how to move the icon inside the panel, see next point.
How to move icons/widgets in the panel?
- Right click on the panel and choose Panel Options and choose Panel Settings. Or on the right side of the panel click on the three horizontal lines symbol.
- While the Settings window is opened, move the cursor to the icon/widget on the panel, click on it and move to the desired location and click again. Close the Panel Settings window after the move.
I cannot modify my panel, for example add applications or move widgets?
- Check if your panel is not locked. Right click on the panel and select Unlock Widgets.
How to adjusting the thickness of the panel?
- On the right side of the panel click on the three horizontal lines symbol. A toolbar pops up.
- Click the "Height" button but DO NOT RELEASE the mouse button.
- Now move the mouse, this causes the height of the panel to grow or shrink.
How to configure the pager?
- The pager shows you the virtual desktops. The pager is a widget and can be added to the panel or to the desktop.
- To configure the pager located in the panel, right click on it and choose Pager Settings or Configure Virtual Desktops.
How to Disable Akonadi?
How to clean up your KDE settings
- If you experience problems with KDE. I recommend to start from scratch and clean up all your KDE settings.
- To (re-)move your KDE settings move them to a backup folder. Start a konsole/terminal and type:
mkdir ~/KDE.backup
mv ~/.local/share/kactivitymanagerd ~/KDE.backup
rm -f ~/.config/kglobalshortcutsrc.lock
mv ~/.config/plasma-* ~/KDE.backup
mv ~/.config/*rc ~/KDE.backup
mv ~/.kde4 ~/KDE.backup
mv ~/.kde ~/KDE.backup
- Or just remove it completely
rm -rf ~/.local/share/kactivitymanagerd
rm -rf ~/.config/plasma-*
rm -f ~/.config/kglobalshortcutsrc.lock
rm -rf ~/.config/*rc
rm -rf ~/.kde4
rm -rf ~/.kde
- NOTE: Maybe you only have to remove ~/.config/plasma-*
- Now logout and login again. KDE4 will start with the default settings.
- If you can not login to KDE, press Ctrl+Alt+F1. Login to the text console. (Re)move ~/.kde and ~/.kde4. Press Ctrl+Alt+F7 to get back to the login screen.
- Instead of starting with fresh KDE settings, try to restore old ~/.kde and ~/.kde4 folders from the backup, see LinuxHome#Restore_from_Backup
How to set a shortcut to start an application?
- On a konsole start the program
systemsettings5 . Or from the KDE menu choose Configure Desktop. Choose from Workspace Shortcuts.
How to mount/unmount USB disks and CD/DVD ?
- Use the plasma widget called Device Notifier, which shows attached devices such as USB flash drives, CD/DVD drives, or digital cameras.
- For more info see DeviceNotifier
Shutdown the PC from the KDE menu does not work or only after a long delay
- To power off your PC start a konsole and type the command poweroff or turnoff. For more information see also RemoteTurnOffOn
XFCE
All window title bars went missing, how to get them back?
Changing the number of workspaces in the settings does not have any effect.
- Remove all XFCE settings and cache from your home directory to reset to default (see above)
GNOME Shell
Screen cannot be locked
How to disable keyring
Python
Warning: do not automatically activate an environment in .bashrc
- Automatically activating an environment in (e.g.
source activate iacpy3_2019 ) in your .bashrc can break your login
- If you cannot login and suspect it is because of this issue
- open alternative (non-graphical) shell with
CTRL + ALT + F1
- edit your
.bashrc and remove the line with source activate environment
Also check the docs on JupyterHub!
JupyterHub
Should I use Python?
Tutorials
Which version should I use? python 2 or python 3?
- You should use python 3 for every new project.
- Note: Python 2 has reached its end-of-life in 2019. It no longer receives bugfixes. Most projects (numpy, matplotlib, ...) stoped supporting python 2!
What's the recommended way to use python at IAC?
- We recommend to use
conda to manage packages and environments. See below.
What about other solutions?
- Python installed on the machines?
It is discouraged to use the python installation on the machines. Package versions can change unexpectedly which may lead to code incompatibilities. This solution is not viable for long-term reproducibility.
- Virtual environments?
Conda is superior to virtual environments because it also handles non-python dependencies (such as the netCDF library) and can therefore offer a more stable environment.
What are Best Practices when using python?
- This file has to be made executable (
chmod +x startup ) and needs to be invoked as source startup .
- See this gist for a more complete example
Why is it important to work with a fixed environment?
- Python packages undergo a rapid development and may become incompatible with your script. If you want to re-run your analysis in at a later stage you want to have the same versions for the packages you used. Therefore it is important that you know which environment you used.
What is conda?
- conda is a program that manages (python) packages and environments. It allows to use a centralized installation while still providing user flexibility in term of package installation.
What is mamba?
- mamba is a faster drop-in replacement for conda - it allows for much faster dependency solving. You can replace almost every
conda command by mamba command
What is a conda environment?
- From the conda documentation: A conda environment is a directory that contains a specific collection of conda packages that you have installed. For example, you may have one environment with NumPy 1.7 and its dependencies, and another environment with NumPy 1.6 for legacy testing. If you change one environment, your other environments are not affected. You can easily activate or deactivate environments, which is how you switch between them. You can also share your environment with someone by giving them a copy of your environment.yaml file.
What is a conda package?
- A conda package is a compressed tarball file that contains system-level libraries, Python or other modules, executable programs and other components. Conda keeps track of the dependencies between packages and platforms. Thus, it can not only handle python packages but also other dependencies (e.g. the netCDF c library).
How do I use conda?
- Load the module
module load conda
- View all environments
conda env list
What environments are available?
- You can also make all environments available with
module load conda
Older environments
-
module load miniconda3 is equivalent to module load conda
I am missing a package - what can I do?
- Write to iac-linux@env.ethz.ch - we can generally add single packages to the existing environments. If you are impatient, see below.
How can I install a single package?
- You will need to create your own environment (see below), and then add the package with
mamba install <package>
How can I create my own environment?
- conda allows to manage environments without being root!
Create a new environment
- NB: don't forget to include ipython in your new environment
Clone and tweak an existing environment
Background information about the differences between pip, conda and anaconda
How can I create an executable python script when using a conda environment?
- To run a python script directly from the command line (
./script.py ) you need to add the following at the top of your script
#!/usr/bin/env python
- However, the environment needs to be loaded, before it is executed.
- Of course the file needs to be executable (
chmod +x scripy.py )
How to best run jupyter notebook on a server?
- See below how to run a notebook on a server from your personal computer.
- Here we to setup a jupyter notebook running on a server and use it from your computer.
- It will make use of tmux on the server to keep a session running even if you are not logged in anymore.
- For security purpose the jupyter notebook produces a token at start, you need to copy this token (password) to the login screen of the notebook.
- Open the browser and go to: http://127.0.0.1:8888
- Copy the token given by the jupyter notebook on the server and paste it in the login field.
- This also works to tunnel a notebook from a linux machine to a windows machine
- e.g. via (WSL [windows subsystem for linux]), or Start -> cmd
- You can recover the full address including the token on the SERVER by pressing
CTRL C once.
Run a notebook on a server - from your personal computer
- Please don't run jupyter/ python on fog or fog2. These are login nodes that don't have many ressources.
You cannot directly ssh to our servers. Therefore, the above solution does not work from you personal computer. There are two possibilities.
1) Configure fog as a 'jumphost'
2) Use ssh from the USYS VPN
- Connect to the USYS-VPN
- You can now
ssh to the following servers (i.e. the above script works directly)
- If you want to access another server, please contact iac-linux@env.ethz.ch
Run spyder remotely
Spyder 3 shows strange symbols
- Something goes wrong with the font in spyder3. The workaround is to use the symbols of spyder2.
- In spyder3 go to
Tools > General (Appearance) > Icon Theme : Change to Spyder 2 and restart spyder.
user packages no longer available in conda environment and JupyerHub
- Packages installed with
pip install <package> --user (site packages) are no longer available in personal conda environments.
- This should not effect most users.
Why was this change introduced?
- Conda environments should be self-contained and reproducible. Site packages 'pollute' the clean workspace (i.e. there could be packages in an environment that were never installed into it).
- You don't need
--user to install packages with conda+pip.
- Most often you will be able to install packages directly with conda (
conda install <package> )
- When using conda+pip it is not necessary to install packages with
--user ; you can do this with pip install <package>
I'am missing my self-installed packages, what can I do?
What has changed?
-
module load conda now does the following: export PYTHONNOUSERSITE=1 . This avoids putting the site-packages in the pythonpath, as explained in the documentation.
|