首页 > 解决方案 > Google Cloud AISE PyTorch NVidia GPU 生产 - 缺少 Python3.6

问题描述

此 VM 的软件版本为
PyTorch 0.4.1、Python 3.6.3、CUDA 9.2.148.1、cuDNN 7.2.1

但是在旋转 vm 之后,我看到了 Python 3.5.3

喷气器

标签: google-cloud-platform

解决方案


你如何检查 Python 版本?

我有同一台机器,我有 python 3.6.3

@pytorch03-python3-cuda91-1-vm:/jet/prs$ python --version
Python 3.6.3

你能用这个命令检查吗python --version

也许你看到的是 Debian 的预装版本(在之前的评论中提到过)

@pytorch03-python3-cuda91-1-vm:/jet/prs$  ls /usr/bin/python*
/usr/bin/python   /usr/bin/python2.7  /usr/bin/python3.5   /usr/bin/python3m
/usr/bin/python2  /usr/bin/python3    /usr/bin/python3.5m

这是我安装的版本: 已安装 AISE 软件

这是我的服务器详细信息:

Linux pytorch-python-cuda-minilab-1-vm 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb
9u4 (2018-08-21) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Dec 19 20:49:00 2019 from 74.125.45.66
# AISE Data Science Lab
### AISE PyTorch 0.4.1 Python 3.6 CUDA 9.2 Notebook
#### Main components
* PyTorch 0.4.1
* Jupyter Notebook 5.1.0
* Python 3.6.3
* CUDA 9.2.148.1
* cuDNN 7.2.1
* NVidia drivers 396.51
* OpenBLAS 0.2.20
* cc 4.9.4
* git 2.14.3
* Python numpy 1.13.3
[Web page](http://jetware.io/appliances/aise/pytorch041_python3_cuda92_notebook-180916?us=googlecli)
[Support](http://jetware.io/contacts/submit/support_googlecl?product=aise/pytorch041_python3_cuda92_notebook-180
916)
### [AISE](http://aise.ai/)
AISE is a platform, software distribution, tools and services for Machine Learning and Big Data.
### [Data Science Lab tools](http://aise.ai/constructors/aise_data_science_lab/appliances)
AISE Data Science Lab is a set of ready-to-use fully integrated and configured software stacks for research and 
development of machine learning and data analytics models.

你能看看你是否安装了 python 3.6,尝试使用下一个命令:

sudo find / -name python3.6

推荐阅读