我有一个使用python 3.6配置的conda环境,那里安装了dvc,但是当我尝试使用python执行dvc运行时,dvc调用conda主安装的python版本,而找不到已安装的库。
$ conda activate py36
$ python --version
Python 3.6.6 :: Anaconda custom (64-bit)
$ dvc run python --version
Running command:
python --version
Python 3.7.0
Saving information to 'Dvcfile'.发布于 2019-02-06 00:55:31
dvc的0.24.3版本纠正了这个问题。
发布于 2018-11-08 19:30:18
这可能会解决你的问题:
dvc run $(which python) --versionhttps://stackoverflow.com/questions/53213596
复制相似问题