Alignak-monitoring-contrib / alignak-webui

Web User Interface for Alignak monitoring framework
GNU Affero General Public License v3.0
8 stars 4 forks source link

IOError: [Errno 2] No such file or directory: 'docs/requirements.txt' #378

Closed Nuranto closed 5 years ago

Nuranto commented 5 years ago

Hello,

When trying to install, I got this error : IOError: [Errno 2] No such file or directory: 'docs/requirements.txt'

Full command & error :


DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting alignak-webui
  Using cached https://files.pythonhosted.org/packages/5d/e4/44fc7529363109107d68c13acd1bd22b87b1188f48060375144771c80f7a/alignak_webui-0.12.0.tar.gz
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-e05WEU/alignak-webui/setup.py", line 70, in <module>
        "docs": read_requirements("docs/requirements.txt"),
      File "/tmp/pip-install-e05WEU/alignak-webui/setup.py", line 63, in read_requirements
        with open(filename) as f:
    IOError: [Errno 2] No such file or directory: 'docs/requirements.txt'
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-e05WEU/alignak-webui/```
mohierf commented 5 years ago

Got it! Thanks, I will publish a fix rapidy.

Meanwhile, you can git clone the repository and pip install .

Nuranto commented 5 years ago

Thanks a lot @mohierf !