Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install not working with Python 3.8.5 #121

Open
ScrapeFlare opened this issue Nov 18, 2020 · 0 comments
Open

Install not working with Python 3.8.5 #121

ScrapeFlare opened this issue Nov 18, 2020 · 0 comments

Comments

@ScrapeFlare
Copy link

Last few lines of error:

scrapely/_htmlpage.c:333:75: note: in definition of macro ‘__Pyx_PyCode_New’ 333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) | ^~~~~ In file included from /usr/include/python3.8/compile.h:5, from /usr/include/python3.8/Python.h:138, from scrapely/_htmlpage.c:19: /usr/include/python3.8/code.h:122:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’ 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( | ^~~~~~~~~~ scrapely/_htmlpage.c:333:11: error: too many arguments to function ‘PyCode_New’ 333 | PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) | ^~~~~~~~~~ scrapely/_htmlpage.c:11442:15: note: in expansion of macro ‘__Pyx_PyCode_New’ 11442 | py_code = __Pyx_PyCode_New( | ^~~~~~~~~~~~~~~~ In file included from /usr/include/python3.8/compile.h:5, from /usr/include/python3.8/Python.h:138, from scrapely/_htmlpage.c:19: /usr/include/python3.8/code.h:122:28: note: declared here 122 | PyAPI_FUNC(PyCodeObject *) PyCode_New( | ^~~~~~~~~~ error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iy634a0o/scrapely/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iy634a0o/scrapely/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-o5t_b1tg/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pijus/.local/include/python3.8/scrapely Check the logs for full command output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant