Here is just a miscellaneous collection of conda commands I have come across while using the conda command.
source /home/kurtis/anaconda3/etc/profile.d/conda.sh
$ conda config --show channels
channels:
- defaults
- conda-forge
I had a server that only had the default channel. The correct way to add conda-forge is to append it to the current channel.
$ conda config --append channels conda-forge
One of my laptops had conda-forge listed before the conda-forge channel. Here is how I fixed this.
$ conda config --show channels
channels:
- conda-forge
- defaults
$ conda config --remove channels conda-forge
$ conda config --show channels
channels:
- defaults
$ conda config --remove channels conda-forg^C
$ conda config --append channels conda-forge
$ conda config --show channels
channels:
- defaults
- conda-forge
$ conda update anaconda
$ conda update conda
The following error happens when startx
command is run fromm the command line.
a.Org X Server 1.20.1
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-957.1.3.el7.x86_64
Current Operating System: Linux jakedog 3.10.0-957.12.2.el7.x86_64 #1 SMP Tue May 14 21:24:32 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-957.12.2.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.driver.blacklist=nouveau nouveau.modeset=0 quiet LANG=en_US.UTF-8
Build Date: 14 March 2019 10:37:36AM
Build ID: xorg-x11-server 1.20.1-5.3.el7_6
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat May 25 13:06:16 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
GLib-GIO-Message: 13:06:17.260: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
** (process:19924): WARNING **: 13:06:17.431: Could not make bus activated clients aware of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect: Connection refused
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Solution is to deactivate conda then run startx
command.