Skip to content

运行configs下面的配置文件(加入import os用于读取环境变量)会报错 #1128

Closed Answered by bittersweet1999
pzfok asked this question in Q&A
Discussion options

You must be logged in to vote
from os import getenv
dataset_path = getenv("DATASET_PATH")

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pzfok
Comment options

@bittersweet1999
Comment options

Answer selected by pzfok
@pzfok
Comment options

@bittersweet1999
Comment options

@pzfok
Comment options

@bittersweet1999
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants