annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

exe contains python node

Risolto!
Vai alla soluzione

Hello:

I'm having trouble generating an exe that contains a python node.

My source program works fine, but when I turn it into an application, I get an error in 1663:vi?? . I did some checking to narrow down the scope, and found that the same error will be reported when vi programs only include open python callback programs. Whether can i think of it as opening a python session is an error. How exactly can we solve this? What are the considerations for vi to generate an exe containing python node?

Looking forward to your reply, thank you very much!

0 Kudos
Messaggio 1 di 6
2.275Visualizzazioni
Soluzione
Accettato da hallo77

These articles would be helpful

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000wzGfCAI&l=en-US

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHmyCAG&l=en-US

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
Messaggio 2 di 6
2.262Visualizzazioni

Thank you for your reply, but at the moment I am still getting an error when running the generated exe on the development computer.It's very confusing.

0 Kudos
Messaggio 3 di 6
2.251Visualizzazioni

Thank you very much. My problem is solved. But I had a new problem. When generating the installer, can I add the libraries that python needs, such as pyserial, to the installer?

0 Kudos
Messaggio 4 di 6
2.225Visualizzazioni
Soluzione
Accettato da hallo77

You can include the "whl" files for the libraries, you can create a post-install script to call "pip install" after the installer installs Python.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Messaggio 5 di 6
2.176Visualizzazioni

Thanks for your reply. I would have a try.What I would prefer is to be able to self-install even when offline. That might be a little difficult.

0 Kudos
Messaggio 6 di 6
2.157Visualizzazioni