我安装了Python 3.7,它显然不支持Keras。当我尝试使用conda下载Keras时,Python被降级到3.6.8,并且Conda停止工作。当我尝试运行Conda时,我得到以下错误, from conda.cli import main
ModuleNotFoundError: No module named 'conda' 我还尝试通过运行以下命令直接降级Python: <em
conda install geopandas给出 UnsatisfiableError: The following specifications were found to be incompatibleincompatible with your CUDA driver:
Your installed CUDA driver is: 10.1 condainstall --channel conda-forge geopandas给出了相同的错误。使
因此,根据Keras和tensorflow文档,我们需要具有Python3.6(而不是3.7)和两个Python包keras和TensorFlow的Anaconda。因此,在我们的dockerfile中,我们安装了Python的最新版本,低于3.7 (所以3.6.8),方法是安装最新的Miniconda,即Python3.7,然后降级为Python 3.6.8:
RUN /
我正在尝试通过conda install python=3.3降级anaconda的python版本,但出现了以下错误:Fetching package metadata .........
Solving package specifications: .UnsatisfiableError: The following specifications were fou
因此,我尝试升级gettyimage/spark映像的python版本,或者将python版本的jupyter/pyspark-notebook停靠映像降级以修复它。另外,当我再次键入conda时,它将显示conda command not found,但是python终端运行良好。我比较了降级前和降级后的sys.path
'',‘/usr/本地/星火/pytho