mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Officially support Python 3 in Conda build.
Summary: Closes https://github.com/caffe2/caffe2/pull/1188 Reviewed By: Yangqing Differential Revision: D5898795 Pulled By: ezyang fbshipit-source-id: 9d17c3239d8c76f6e0858a877242b6d2e11a4f18
This commit is contained in:
committed by
Facebook Github Bot
parent
cf769a7b6f
commit
7c45ac8e43
@ -20,12 +20,6 @@ import os
|
||||
import sys
|
||||
import platform
|
||||
|
||||
version = platform.python_version()
|
||||
if version[:3] != '2.7':
|
||||
print('ERROR: Python {version} is not officially supported yet.'
|
||||
.format(version=version), file=sys.stderr)
|
||||
exit(1)
|
||||
|
||||
# Flags to print to stdout
|
||||
flags = ''
|
||||
inc = sysconfig.get_python_inc()
|
||||
|
Reference in New Issue
Block a user