Pergunta

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

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top