polish windows install error

This commit is contained in:
Dun Liang 2022-04-22 21:40:58 +08:00
parent 3d4861265d
commit 9e58fac49f
3 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,7 @@
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.3.3.3'
__version__ = '1.3.3.4'
from jittor_utils import lock
with lock.lock_scope():
ori_int = int

View File

@ -232,7 +232,7 @@ your code as below::
static auto make_ternary = get_op_info("ternary")
.get_constructor<VarPtr, Var*, Var*, Var*>();
extern int no_grad;
extern bool no_grad;
VarHolder* ternary_out_hint(VarHolder* cond, VarHolder* x, VarHolder* y) {
if (!no_grad)

View File

@ -7,7 +7,8 @@ except ImportError:
import pywintypes
_OVERLAPPED = pywintypes.OVERLAPPED()
except:
LOG.f("""pywin32 package not found, please install it.
raise Exception("""pywin32 package not found, please install it.
>>> python3.x -m pip install pywin32
If conda is used, please install with command:
>>> conda install pywin32""")