2

I got maximum recursion depth exceeded when installing gcs-oauth2-boto-plugin-1.4 on my mac. I downloaded and unzipped the package, ran sudo python setup.py install under the installation directory, pretty standard stuff that you would do when install a Python module. I was doing it in a virtual environment (virtualenv). I did not encounter any problem while installing it on the original environment. Any help would be greatly appreciated. Thanks a lot!

Edit: I got the same error when trying to install it with pip install gcs-oauth2-boto-plugin==1.4

1
  • It worked for me. Could you please share some details like OS, stacktrace ets? Commented Jun 21, 2015 at 7:16

1 Answer 1

-3

It is a good possibility that there is some bug in source code that is causing infinite loop and recursion limit error. Still, standard recursion limit in python is quite low (2000 I guess), which might cause problems in some cases. Increasing the recursion limit might work.

import sys
sys.setrecursionlimit(10000)

Add this line to install.py of your source code.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks a lot for your answer. But I still get the same error. The weird thing is that it works perfect on my original environment. It only produces such error in the virtualenv.
I am also facing the error when i use different environment. please someone suggest an answer?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.