In the Remote Desktop cluster - configure the Python environment variable

In Remote Desktop to run the program found that can not be imported numpy,

The anaconda package loaded copy of the past, and configuration environment variable

For a cluster to handle Python program

  1. we .bashrc

# added by Anaconda3 5.3.0 installer

export PATH="/data4/hxfeng/python_cluster/python/anaconda3/bin:$PATH"

  1. source .bashrc

Guess you like

Origin www.cnblogs.com/gegemu/p/11907116.html