Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 1
    Do you get the same error if you run the code from a file instead of the REPL? Commented Jan 11, 2020 at 0:53
  • @AMC I do receive the same error if I run python my_script.py Commented Jan 11, 2020 at 0:55
  • 1
    This exact error seems to be relatively popular: github.com/pandas-dev/pandas/issues/27532, github.com/pandas-dev/pandas/issues/27543, stackoverflow.com/q/57371240/11301900 Commented Jan 11, 2020 at 1:10
  • 1
    Amusingly enough the last answer from the last link is exactly what I was going to suggest: Forget messing around with pyenv, homebrew, and the system's Python install, and use Conda ;p Commented Jan 11, 2020 at 1:18
  • 1
    Yeah I'm a long time conda user trying to migrate to pyenv, as it seems to better suit my needs That's certainly unexpected, can you elaborate? Commented Jan 11, 2020 at 1:21