You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I just heard about this project and was willing to try this package, but I was not able to install it following the instructions in the readme.
$ pipenv install requests-html
Installing requests-html…
Collecting requests-html
Using cached requests_html-0.6.9-py2.py3-none-any.whl
Collecting pyppeteer (from requests-html)
Using cached pyppeteer-0.0.10.tar.gz
Collecting requests (from requests-html)
Using cached requests-2.18.4-py2.py3-none-any.whl
Collecting bs4 (from requests-html)
Using cached bs4-0.0.1.tar.gz
Collecting fake-useragent (from requests-html)
Using cached fake-useragent-0.1.10.tar.gz
Collecting pyquery (from requests-html)
Using cached pyquery-1.4.0-py2.py3-none-any.whl
Collecting parse (from requests-html)
Using cached parse-1.8.2.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/4_/3m18vsgn6tx2gwh1n_g78tv40000gn/T/pip-build-v4xjk72f/parse/setup.py", line 10, in <module>
f.write(__doc__)
TypeError: write() argument must be str, not None
----------------------------------------
Adding requests-html to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Traceback (most recent call last):
File "/Users/victor/Library/Python/3.6/bin/pipenv", line 11, in <module>
load_entry_point('pipenv==9.0.3', 'console_scripts', 'pipenv')()
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/cli.py", line 1934, in install
do_lock(system=system, pre=pre)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/cli.py", line 1102, in do_lock
pre=pre
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/utils.py", line 545, in resolve_deps
resolved_tree = actually_resolve_reps(deps, index_lookup, markers_lookup, project, sources, verbose, clear, pre)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/utils.py", line 507, in actually_resolve_reps
resolved_tree.update(resolver.resolve(max_rounds=PIPENV_MAX_ROUNDS))
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/piptools/resolver.py", line 102, in resolve
has_changed, best_matches = self._resolve_one_round()
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/piptools/resolver.py", line 200, in _resolve_one_round
for dep in self._iter_dependencies(best_match):
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/piptools/resolver.py", line 296, in _iter_dependencies
dependencies = self.repository.get_dependencies(ireq)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 153, in get_dependencies
result = reqset._prepare_file(self.finder, ireq)
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/pip/req/req_set.py", line 639, in _prepare_file
abstract_dist.prep_for_dist()
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/pip/req/req_set.py", line 134, in prep_for_dist
self.req_to_install.run_egg_info()
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/pip/req/req_install.py", line 438, in run_egg_info
command_desc='python setup.py egg_info')
File "/Users/victor/Library/Python/3.6/lib/python/site-packages/pipenv/patched/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /var/folders/4_/3m18vsgn6tx2gwh1n_g78tv40000gn/T/tmpw_18ya1sbuild/parse/
I also tried to pip install it, but without success:
$ pip3.6 install requests-html
Collecting requests-html
Using cached requests_html-0.6.9-py2.py3-none-any.whl
Collecting w3lib (from requests-html)
Using cached w3lib-1.19.0-py2.py3-none-any.whl
Collecting parse (from requests-html)
Using cached parse-1.8.2.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/4_/3m18vsgn6tx2gwh1n_g78tv40000gn/T/pip-build-cw83qyfo/parse/setup.py", line 10, in <module>
f.write(__doc__)
TypeError: write() argument must be str, not None
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/4_/3m18vsgn6tx2gwh1n_g78tv40000gn/T/pip-build-cw83qyfo/parse/
Any tips?
The text was updated successfully, but these errors were encountered:
Hi! I just heard about this project and was willing to try this package, but I was not able to install it following the instructions in the readme.
I also tried to pip install it, but without success:
Any tips?
The text was updated successfully, but these errors were encountered: