Bug 35940 - treq ImportError: No module named twisted.web.client
Summary: treq ImportError: No module named twisted.web.client
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-treq (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Антон Мидюков
QA Contact: qa-sisyphus
Depends on:
Reported: 2019-01-21 13:32 MSK by Vitaly Lipatov
Modified: 2019-01-22 21:34 MSK (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2019-01-21 13:32:11 MSK
# python
Python 2.7.15 (default, Dec  5 2018, 14:57:29) 
[GCC 8.2.1 20181011 (ALT Sisyphus 8.2.1-alt1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import treq
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/treq/__init__.py", line 5, in <module>
    from treq.api import head, get, post, put, patch, delete, request
  File "/usr/lib/python2.7/site-packages/treq/api.py", line 3, in <module>
    from twisted.web.client import Agent
ImportError: No module named twisted.web.client
Comment 1 Repository Robot 2019-01-21 18:56:34 MSK
python-module-treq-18.6.0-alt2 -> sisyphus:

Mon Jan 21 2019 Anton Midyukov <antohami@altlinux> 18.6.0-alt2
- Added python_req_hier (Closes: 35940)
Comment 2 Vitaly Lipatov 2019-01-22 21:34:03 MSK
> ImportError: No module named twisted.web.client
Ох, почему-то не отправилась бага :(
У меня выяснилось, что дело было в отсутствии файлов пакета при установленном пакете и переустановка помогла.
Но всё равно спасибо!