Comments (4)
This certificate failure could prevent the jq Python bindings from being used in corporate environments, so it would be great if someone could take a look into fixing this.
from jq.py.
What URL is the command failing on? The only URLs referenced directly in setup.py
are GitHub URLs, which I'd expect to have valid certificates.
Are you sure you have certificates installed correctly? The release notes for Python 3.6 mention:
macOS users: If you are using the Python 3.6 from the python.org binary installer linked on this page, please carefully read the Important Information displayed during installation; this information is also available after installation by clicking on /Applications/Python 3.6/ReadMe.rtf. There is important information there about changes in the 3.6.0 installer-supplied Python, particularly with regard to SSL certificate validation.
If you haven't already, you might need to install the certificates e.g. for Python 3.6:
/Applications/Python\ 3.6/Install\ Certificates.command
If that doesn't work, I'm unlikely to have time to implement a fix in the bindings themselves in the near future.
from jq.py.
We got around the SSL cert issue by downloading the files locally, but for some reason the setup.py is failing because it can't find jq.c. See make command below. Ran python setup.py install
Executing: make
/Library/Developer/CommandLineTools/usr/bin/make all-am
GEN version.h
CC main.o
CC locfile.lo
CC bytecode.lo
CC compile.lo
CC execute.lo
CC builtin.lo
CC jv.lo
CC jv_parse.lo
CC jv_print.lo
CC jv_dtoa.lo
CC jv_unicode.lo
CC jv_aux.lo
CC jv_file.lo
CC jv_alloc.lo
CC jq_test.lo
CC util.lo
CC linker.lo
CC parser.lo
CC lexer.lo
CCLD libjq.la
CCLD jq
GEN jq.1
building 'jq' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I./libressl-2.2.7/include -I./libressl-2.2.7/include -I/Users/bfeeser/sourcecode/jq.py/jq-jq-1.5 -I/Users/bfeeser/.pyenv/versions/3.6.7/include/python3.6m -c jq.c -o build/temp.macosx-10.14-x86_64-3.6/jq.o
clang: error: no such file or directory: 'jq.c'
clang: error: no input files
error: command 'clang' failed with exit status 1
from jq.py.
I've added support for wheels on Linux and Mac OS X in the latest version. Hopefully they work for you, but shout if not!
from jq.py.
Related Issues (20)
- ImportError on arm64 (Mac OSX M1) with jq 1.5.0 and 1.6.0 HOT 7
- install error HOT 1
- Specify jq command-line options HOT 2
- Add type hints as a `.pyi` stub file
- json.dumps: ensure_ascii
- Is it possible to input_file? HOT 1
- how can I package this so that it can be reused as Lambda Layer in AWS? HOT 1
- 'OverflowError: cannot convert float infinity to integer' when handling big numbers HOT 3
- walk built-in function does not work HOT 1
- Output values truncated on "null bytes" HOT 2
- Is there a way to output query result without quotes (i.e. "jq -r ") HOT 1
- Error building wheel for jq during "pip install jq" HOT 1
- Cython-3 support HOT 3
- Tests failing with jq-1.7 HOT 1
- Useless `-lonig` when building using system libraries HOT 1
- Behaviour of Out Method first() on JSON Array Output HOT 1
- tox.ini missing in sdist - please add HOT 1
- Variable support
- Module support HOT 1
- Logging support
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 jq.py.