0

I'm trying to install an earlier version of inferpy in google colab but I keep getting this error. I can install the latest version with no error. I tried solutions that works for local machines but none of them worked out for me.

my code:

!pip install inferpy==0.0.3

the error I get:

Using cached https://files.pythonhosted.org/packages/c3/d7/825b509d4067e09571f58a3ab86bdf0672134e67c51cb126c2e0d3a47127/inferpy-0.0.3.tar.gz
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

any ideas how this can be resolved? thanks

ali bakhtiari
  • 102
  • 15
  • 1
    This is the error `ERROR: inferpy-0.0.3.tar.gz is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).`. I recommend you to use newer version. – xszym Jul 03 '20 at 18:03

1 Answers1

1

As per project homepage this old version only works with:

  • Python :: 2.7
  • Python :: 3.4

Source: https://pypi.org/project/inferpy/0.0.3/

Your colab notebook most likely is in a newer version of python 3 thus the error, (I got similar problem when trying to use unirest which depends on poster that only works in Python2)

One option you may have is the one described in this post:

Is there a way to use Python 3.5 instead of 3.6?

Dharman
  • 21,838
  • 18
  • 57
  • 107
Jos
  • 26
  • 1