Skip to content

Commit 85a47b6

Browse files
Christopher B. ChoyChristopher B. Choy
Christopher B. Choy
authored and
Christopher B. Choy
committed
added python2 exception
1 parent ece6728 commit 85a47b6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

demo.py

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
'''
77
import os
88
import sys
9+
if (sys.version_info < (3, 0)):
10+
raise Exception("Please follow the installation instruction on 'https://github.com/chrischoy/3D-R2N2'")
11+
912
import shutil
1013
import numpy as np
1114
from subprocess import call

main.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env python
2+
import sys
3+
if (sys.version_info < (3, 0)):
4+
raise Exception("Please follow the installation instruction on 'https://github.com/chrischoy/3D-R2N2'")
5+
26
import numpy as np
37
import argparse
48
import pprint

0 commit comments

Comments
 (0)