question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

httptools build fail while pip installing requirements.txt

See original GitHub issue

Rasa version: 0.13.1

Python version: 3.6.8

Operating system (windows, osx, …): osx

Issue: httptools does not build while installing requirements for rasa_nlu $ pip install -r requirements.txt

Building wheel for httptools (setup.py) … error ERROR: Complete output from command /Users/mohit/anaconda3/envs/condapy36/bin/python -u -c ‘import setuptools, tokenize;file=’“'”‘/private/var/folders/9t/0qgpwgy906z_sww71dnkgkr80000gn/T/pip-install-7hmlhuo6/httptools/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ bdist_wheel -d /private/var/folders/9t/0qgpwgy906z_sww71dnkgkr80000gn/T/pip-wheel-u02mzs5m --python-tag cp36: ERROR: running bdist_wheel

error: command ‘gcc’ failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for httptools Running setup.py clean for httptools Building wheel for ujson (setup.py) … error

$ pip install -e .

Obtaining file:///Users/mohit/work/research/NLP/Rasa/rasa_nlu ERROR: Error installing ‘file:///Users/mohit/work/research/NLP/Rasa/rasa_nlu’: editable mode is not supported for pyproject.toml-style projects. pip is processing this project as pyproject.toml-style because it has a pyproject.toml file. Since the project has a setup.py and the pyproject.toml has no “build-backend” key for the “build_system” value, you may pass --no-use-pep517 to opt out of pyproject.toml-style processing. See PEP 517 for details on pyproject.toml-style projects.

Content of configuration file (config.yml):


Content of domain file (domain.yml) (if used & relevant):

intents:
- greet
- goodbye
- thanks
- deny
- joke
- name


entities:
- name


slots:
  name:
    type: text


actions:
- utter_name
- utter_thanks
- utter_greet
- utter_goodbye
- action_joke


templates:
  utter_name:
  - text: "Hey there! Tell me your name."

  utter_greet:
  - text: "Nice to you meet you {name}. How can I help?"

  utter_goodbye:
  - text: "Talk to you later!"
  
  utter_thanks:
  - text: "My pleasure."
  

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
bschoenhecommented, Jul 2, 2019

In case anyone faces the same issue, I was able to bypass this by installing httptools with conda first: conda install -c conda-forge httptools

1reaction
mahdimorcommented, Jul 24, 2019

sudo apt-get install build-essential python3 python-dev python3-dev then pip install --no-cache-dir ujson and rerun pip install rasa-x --extra-index-url https://pypi.rasa.com/simple solved the problem for me ; ubuntu 16.04 and python 3.6 on conda environment installing the version with rasa-x

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Failed to build httptools, how to fix it - Stack Overflow
I have already installed build tools which is given by the link. and ... requirements.txt file - or it will be present in...
Read more >
Anyone with frustrating issues with the M1 Mac system that ...
Then, today I was trying to install Docker and build a small project, but it gives error when installing one of the packages...
Read more >
Getting Error while running pip install -r requirements.txt after ...
The course has been tested with Python 3.8 and this error usually happens when using an earlier/later version since the package gets deprecated ......
Read more >
sanic-python/Lobby - Gitter
@ahopkins Sanic is installed, because when testing the server.py by issuing ... clean for httptools Building wheel for ujson (setup.py) ... error ERROR: ......
Read more >
Failed building wheel for httptools in installing rasa in ...
Failed building wheel for httptools Running setup.py install for ... :\Users\sandy\AppData\Local\Temp\pip-3hyck3cf-record\install-record.txt ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found