Then we set the PYTHONPATH environment variable and convert alexnet.py
```buildoutcfg
~$ export PYTHONPATH=~/models
~$ mindconverter --in_file models/lenet.py
```
Then we will see a conversion report and the output MindSpore script
```buildoutcfg
```buildoutcfg
export PYTHONPATH=~/my_pt_proj/models
~$ ls
mindconverter --in_file lenet.py
lenet_report.txt models output
~$ ls output
lenet.py
```
```
Since the conversion is not 100% flawless, we encourage users to checkout the reports when fixing issues of the converted scripts.
Please checkout [models/lenet.py](../../tests/st/func/mindconverter/data/lenet_script.py) and [output/lenet.py](../../tests/st/func/mindconverter/data/lenet_converted.py) as the input/output example representatively.
Since the conversion is not 100% flawless, we encourage users to checkout the report when fixing issues of the converted script.