modify env.sunhpc

This commit is contained in:
2023-10-10 19:11:12 +08:00
parent 761f7e6618
commit c12c79537a
2 changed files with 2 additions and 3 deletions

View File

@@ -21,7 +21,8 @@ else
fi fi
# python .pth config # python .pth config
SUNHPC_PTH=/opt/sunpy3/lib/python3.10/site-packages/sunhpc.pth SUNHPC_PTH=/opt/sunpy3/lib/python3.9/site-packages/sunhpc.pth
#SUNHPC_PTH=/opt/sunpy3/lib/python3.10/site-packages/sunhpc.pth
[ ! -e $SUNHPC_PTH ] && echo "$SUNHPC_HOME/lib" > $SUNHPC_PTH [ ! -e $SUNHPC_PTH ] && echo "$SUNHPC_HOME/lib" > $SUNHPC_PTH
# pip # pip

View File

@@ -9,11 +9,9 @@
import os import os
import sys import sys
import time import time
import dbus
import socket import socket
import sunhpc import sunhpc
import random import random
import readline
import argparse import argparse
from sunhpc.db.mappings.base import * from sunhpc.db.mappings.base import *