keiffster / program-y

Python 3.x based AIML 2.0 Chatbot interpreter, framework, related programs and knowledge files
https://keiffster.github.io/program-y/
Other
348 stars 138 forks source link

Failed to run `pip install -r requirements.txt`. #174

Closed ororog closed 5 years ago

ororog commented 5 years ago

Expected Behavior

I can run pip install -r requirements.txt without errors.

Current Behavior

It stops with errors below:

...
Collecting Flask-Ask==0.9.8 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/6a/f5/d4709ae94584a0b1541e9b52b2d25a8a1bdb6e2da9d6870f23fdd0523a30/Flask-Ask-0.9.8.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/46/xk08njxn7sd54dc3pf_kfp000000gn/T/pip-install-zso7iqtb/Flask-Ask/setup.py", line 8, in <module>
        from pip.req import parse_requirements
    ModuleNotFoundError: No module named 'pip.req'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/46/xk08njxn7sd54dc3pf_kfp000000gn/T/pip-install-zso7iqtb/Flask-Ask/

Steps to Reproduce

  1. create and move the working directory.
  2. python3 -m venv venv
  3. source venv/bin/activate
  4. git clone https://github.com/keiffster/program-y.git
  5. cd program-y
  6. pip install -r requirements.txt

Context (Environment)

keiffster commented 5 years ago

I’ve noticed a couple of errors running pip install on Ubuntu, just comment Flask-Ask out and it will work fine

It is only required for the Alexa client, and thats not fully published yet, so you loose nothing commenting it out

K

On 24 Oct 2018, at 10:06, ororog notifications@github.com wrote:

Expected Behavior

I can run pip install -r requirements.txt without errors.

Current Behavior

It stops with errors below:

... Collecting Flask-Ask==0.9.8 (from -r requirements.txt (line 9)) Using cached https://files.pythonhosted.org/packages/6a/f5/d4709ae94584a0b1541e9b52b2d25a8a1bdb6e2da9d6870f23fdd0523a30/Flask-Ask-0.9.8.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/private/var/folders/46/xk08njxn7sd54dc3pf_kfp000000gn/T/pip-install-zso7iqtb/Flask-Ask/setup.py", line 8, in from pip.req import parse_requirements ModuleNotFoundError: No module named 'pip.req'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/46/xk08njxn7sd54dc3pf_kfp000000gn/T/pip-install-zso7iqtb/Flask-Ask/ Steps to Reproduce

create and move the working directory. python3 -m venv venv source venv/bin/activate git clone https://github.com/keiffster/program-y.git cd program-y pip install -r requirements.txt Context (Environment)

Version of Y-Bot: 6dc1929 https://github.com/keiffster/program-y/commit/6dc192966a415057c1f3b186f5718823a0ffd527 Version of Python: Python 3.7.0 Operating System ( inc Version ): MacOS 10.13.6 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/keiffster/program-y/issues/174, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVCszJs2SNmRFFRIyXzePhKgKwY8Mbpks5uoC2HgaJpZM4X3day.

keiffster commented 5 years ago

Commented out Flask-Ask from requirements and push to master and 3.0.1 to PyPi