avl excite python二次开发1--python解释器需用内置解释器aws_cmd
- 1、python解释器问题
-
- [1.1、用外置python解释器,import WSInterface会失败(WSInterface.pyd)](#1.1、用外置python解释器,import WSInterface会失败(WSInterface.pyd))
- 1.2、用内置解释器aws_cmd运行py脚本
- [1.3 用内置解释器aws_python执行脚本](#1.3 用内置解释器aws_python执行脚本)
1、python解释器问题
1.1、用外置python解释器,import WSInterface会失败(WSInterface.pyd)
python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import sys
>>> path=r'C:\Program Files (x86)\AVL\R2020.1\AWS\python\lib.x86_64-unknown-winnt_i16v15'
>>> import WSInterface
python
>>> sys.path.append(path)
>>> import WSInterface
1.2、用内置解释器aws_cmd运行py脚本