hammerlab / survivalstan

Library of Stan Models for Survival Analysis
Apache License 2.0
124 stars 23 forks source link

pip install currently not working on ubuntu #85

Open michael-ziedalski opened 5 years ago

michael-ziedalski commented 5 years ago

Whenever I do pip install survivalstan, or even python -m pip install survivalstan, I get the following error,

Collecting survivalstan
  Using cached https://files.pythonhosted.org/packages/86/fa/751a9011f2cc0e4a990b16fbbc50fdf91c73266ad761c91ca532e166ae23/survivalstan-0.1.2.8.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-1pwrevmp/survivalstan/setup.py", line 12, in <module>
        with open(path.join(here, 'docs', 'home.rst'), encoding='utf-8') as f:
      File "/home/mltesting89/miniconda3/envs/idp/lib/python3.6/codecs.py", line 897, in open
        file = builtins.open(filename, mode, buffering)
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-1pwrevmp/survivalstan/docs/home.rst'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-1pwrevmp/survivalstan/

I tried following the advice here on solving the issue, to no avail.

My Python and Pip info:

Python 3.6.5 |Intel Corporation| (default, Aug  3 2018, 14:28:11) 
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.

Pip==19.0.3