Before You Start
- For a Python application project running in a remote operating environment, configure the operating environment before application development. Set {version} based on the actual requirements.
LD_LIBRARY_PATH=$HOME/Ascend/ascend-toolkit/{version}/runtime/lib64:$LD_LIBRARY_PATH;PYTHONPATH=$HOME/Ascend/ascend-toolkit/{version}/python/site-packages/acl:$PYTHONPATH
You can use either of the following methods to configure the environment:
- Add the PYTHONPATH and Runtime paths to the .bashrc file in the operating environment.
- During MindStudio build/run configuration, add environment variables in the Run/Debug Configuration function. For details, see Building and Running an Application Project.
- You can develop applications using AscendCL in both the Linux and Windows environments.
Parent topic: Developing an Application Based on AscendCL