tito / telenium

Automation for Kivy Application
MIT License
67 stars 23 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'README.md' #6

Closed AndreMiras closed 6 years ago

AndreMiras commented 6 years ago

Trying to install from pypi is failing with a FileNotFoundError: [Errno 2] No such file or directory: 'README.md'. I thought it was because of the missing README.md from the manifest file, but it works from GitHub zip archive. I'm running Python 3.5.2. See debug session.trace below:

[andre:~/workspace/EtherollApp] [venv] develop* ± pip install telenium==0.4.1
Collecting telenium==0.4.1
  Using cached telenium-0.4.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "/tmp/pip-build-7ssf893v/telenium/setup.py", line 18, in <module>
        import pypandoc
    ImportError: No module named 'pypandoc'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-7ssf893v/telenium/setup.py", line 21, in <module>
        long_description = open("README.md").read()
    FileNotFoundError: [Errno 2] No such file or directory: 'README.md'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7ssf893v/telenium/

Now from Github zip archive:

[andre:~/workspace/EtherollApp] [venv] develop* 1 ± pip install https://github.com/tito/telenium/archive/0.4.1.zip
Collecting https://github.com/tito/telenium/archive/0.4.1.zip
  Downloading https://github.com/tito/telenium/archive/0.4.1.zip (331kB)
    100% |████████████████████████████████| 337kB 2.1MB/s 
Requirement already satisfied: Mako>=1.0.6 in ./venv/lib/python3.5/site-packages (from telenium==0.4.1)
Requirement already satisfied: CherryPy>=10.2.1 in ./venv/lib/python3.5/site-packages (from telenium==0.4.1)
Requirement already satisfied: ws4py>=0.4.2 in ./venv/lib/python3.5/site-packages (from telenium==0.4.1)
Requirement already satisfied: json-rpc>=1.10.3 in ./venv/lib/python3.5/site-packages (from telenium==0.4.1)
Requirement already satisfied: Werkzeug>=0.12.2 in ./venv/lib/python3.5/site-packages (from telenium==0.4.1)
Requirement already satisfied: MarkupSafe>=0.9.2 in ./venv/lib/python3.5/site-packages (from Mako>=1.0.6->telenium==0.4.1)
Requirement already satisfied: cheroot>=5.9.1 in ./venv/lib/python3.5/site-packages (from CherryPy>=10.2.1->telenium==0.4.1)
Requirement already satisfied: six>=1.11.0 in ./venv/lib/python3.5/site-packages (from CherryPy>=10.2.1->telenium==0.4.1)
Requirement already satisfied: portend>=2.1.1 in ./venv/lib/python3.5/site-packages (from CherryPy>=10.2.1->telenium==0.4.1)
Requirement already satisfied: more-itertools>=2.6 in ./venv/lib/python3.5/site-packages (from cheroot>=5.9.1->CherryPy>=10.2.1->telenium==0.4.1)
Requirement already satisfied: tempora>=1.8 in ./venv/lib/python3.5/site-packages (from portend>=2.1.1->CherryPy>=10.2.1->telenium==0.4.1)
Requirement already satisfied: pytz in ./venv/lib/python3.5/site-packages (from tempora>=1.8->portend>=2.1.1->CherryPy>=10.2.1->telenium==0.4.1)
Installing collected packages: telenium
  Running setup.py install for telenium ... done
Successfully installed telenium-0.4.1
[andre:~/workspace/EtherollApp] [venv] develop* 2s ± 
realslimshanky commented 6 years ago

I'm getting the same error.

rajatrj16 commented 6 years ago

Error still remains- Alternative is: pip install https://github.com/tito/telenium/archive/0.4.1.zip

rajatrj16 commented 6 years ago

To get out of it. Clone repo and copy the README.md file into it and then run setup.py THIS WILL WORK FINE