質問

I have problem with python scripts built in cx_freeze. When I run the source script by python, everythink works. But when I run the compilled script, it still ended with errors like: object of type 'NoneType' has no len().

Thank you for your help, Honza

役に立ちましたか?

解決

After long investigation I found that the problem was with HOME environment variable (It has to be set).

When I set the environment variable HOME, it started to work properly.

I hope it will safe time and help somebody, Honza

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top