When trying to turn to exe a py file this happens:

RecursionError: maximum recursion depth exceeded

It turns out after a lot of trial and error by deleting libraries that may cause issues that after removing geopandas it finally created the exe.

So the problem now is how to make it work WITH geopandas in it because it is important for my program.

  • Do you know if it is actually due to geopandas itself, or with one of its dependencies? (shapely, fiona, ..) – joris Jun 18 '18 at 11:20
  • the only thing I know is that when I removed the library it worked. – user122244 Jun 18 '18 at 11:22
  • This answer about increasing the recursion limit may be helpful. – Evil Genius Jun 18 '18 at 13:06
  • I have already done it but it didn't fix it. Actually it looked like it didn't affect it. I tried both with spec file and the py and it didn't do anything. – user122244 Jun 18 '18 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.