mirror of https://github.com/Jittor/Jittor
polish windows install error
This commit is contained in:
parent
3d4861265d
commit
9e58fac49f
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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""")
|
||||
|
||||
|
|
Loading…
Reference in New Issue