1. Vim 上下左右變ABCD:
sudo apt-get remove vim-common
sudo aot-get install vim
(ref: https://blog.csdn.net/oschina_41790905/article/details/81036833 )
2. Mount硬碟:
sudo blkid
看硬碟資訊 UUID..etc
sudo vi /etc/fstab
貼上資訊
(ref: https://blog.gtwang.org/linux/linux-add-format-mount-harddisk/ )
3. Anaconda:
add PATH:
sudo gedit ~/.bashrc
+ export PATH="/home/username/anaconda3/bin:$PATH"
sudo gedit /etc/profile
+ export PATH="/home/username/anaconda3/bin:$PATH"
source /etc/profile
(ref: https://blog.csdn.net/H_O_W_E/article/details/78494131)
4. Add new env kernel on Jupyter :
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"(ref: https://stackoverflow.com/questions/37085665/in-which-conda-environment-is-jupyter-executing )
Remove:
jupyter kernelspec listjupyter kernelspec uninstall unwanted-kernel(ref: https://stackoverflow.com/questions/42635310/remove-kernel-on-jupyter-notebook)
5. Ta-lib installation:
sudo apt install build-essential wget -y
wget https://artiya4u.keybase.pub/TA-lib/ta-lib-0.4.0-src.tar.gz
tar -xvf ta-lib-0.4.0-src.tar.gz
cd ta-lib/
./configure --prefix=/usr
make
sudo make install
pip install TA-lib
(ref: https://medium.com/@artiya4u/installing-ta-lib-on-ubuntu-944d8ca24eae )
6. Setup Tensorflow GPU:
(ref: https://towardsdatascience.com/installing-tensorflow-gpu-in-ubuntu-20-04-4ee3ca4cb75d?gi=332f0f66c6bf )
留言
張貼留言