Comments (2)
Same issue on my very last version Ubuntu 20.04.
----------~/PycharmProjects/CSVWrite/venv$ pip install -U grab
Collecting grab
Using cached grab-0.6.41.tar.gz (1.1 MB)
Collecting weblib>=0.1.28
Using cached weblib-0.1.30.tar.gz (30 kB)
Requirement already satisfied, skipping upgrade: six in /usr/lib/python3/dist-packages (from grab) (1.14.0)
Collecting user_agent
Using cached user_agent-0.1.9.tar.gz (20 kB)
Collecting selection
Using cached selection-0.0.14.tar.gz (4.5 kB)
Collecting defusedxml
Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Collecting lxml
Using cached lxml-4.5.1-cp38-cp38-manylinux1_x86_64.whl (5.4 MB)
Collecting pycurl<7.43.0.2
Using cached pycurl-7.43.0.1.tar.gz (195 kB)
ERROR: Command errored out with exit status 1:
command: /home/kara/env/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nzvd6c3f/pycurl/setup.py'"'"'; file='"'"'/tmp/pip-install-nzvd6c3f/pycurl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ynsckdk2
cwd: /tmp/pip-install-nzvd6c3f/pycurl/
Complete output (22 lines):
Traceback (most recent call last):
File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 103, in configure_unix
p = subprocess.Popen((CURL_CONFIG, '--version'),
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 841, in <module>
ext = get_extension(sys.argv, split_extension_source=split_extension_source)
File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 508, in get_extension
ext_config = ExtensionConfiguration(argv)
File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 72, in __init__
self.configure()
File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 108, in configure_unix
raise ConfigurationError(msg)
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
from grab.
Same issue on my very last version Ubuntu 20.04.
----------~/PycharmProjects/CSVWrite/venv$ pip install -U grab
Collecting grab
Using cached grab-0.6.41.tar.gz (1.1 MB)
Collecting weblib>=0.1.28
Using cached weblib-0.1.30.tar.gz (30 kB)
Requirement already satisfied, skipping upgrade: six in /usr/lib/python3/dist-packages (from grab) (1.14.0)
Collecting user_agent
Using cached user_agent-0.1.9.tar.gz (20 kB)
Collecting selection
Using cached selection-0.0.14.tar.gz (4.5 kB)
Collecting defusedxml
Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Collecting lxml
Using cached lxml-4.5.1-cp38-cp38-manylinux1_x86_64.whl (5.4 MB)
Collecting pycurl<7.43.0.2
Using cached pycurl-7.43.0.1.tar.gz (195 kB)
ERROR: Command errored out with exit status 1:
command: /home/kara/env/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nzvd6c3f/pycurl/setup.py'"'"'; file='"'"'/tmp/pip-install-nzvd6c3f/pycurl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ynsckdk2
cwd: /tmp/pip-install-nzvd6c3f/pycurl/
Complete output (22 lines):
Traceback (most recent call last):
File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 103, in configure_unix
p = subprocess.Popen((CURL_CONFIG, '--version'),
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 841, in <module> ext = get_extension(sys.argv, split_extension_source=split_extension_source) File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 508, in get_extension ext_config = ExtensionConfiguration(argv) File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 72, in __init__ self.configure() File "/tmp/pip-install-nzvd6c3f/pycurl/setup.py", line 108, in configure_unix raise ConfigurationError(msg) __main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config' ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Did you solved this problem? I get the samme message on ubuntu
from grab.
Related Issues (20)
- Remove multicurl transport HOT 1
- empty request headers and body in *.log files when using log_dir option
- spider: impossible to setup grab transport HOT 2
- Can i use grab with async? HOT 1
- Segmentation fault 11 HOT 2
- Typo in documentation HOT 1
- Support ubuntu 19.04 / python3.7 and python3.8 HOT 3
- How to filter duplicate urls HOT 2
- Deprecation warning for defusedxml.lxml HOT 1
- Fix simple typo: shuld -> should
- In Windows XP HOT 9
- Не устанавливается в Линукс HOT 7
- похоже метод в Thread isAlive() был переименован в is_alive() в Python 3.9.0 HOT 2
- On the github page the link to http://grablib.org/ seems broken. HOT 1
- Why not have any new releases on PyPi ? HOT 4
- Failed pycurl/resolve/cookies test
- Fix tests for python 3.10: SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats HOT 2
- Wrong Thread method for Python 3.9.0+ HOT 1
- Fix grammar/spelling errors in README.md
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grab.