Open hotea opened 5 years ago
Neither can I.The same error.
You could install the source code by git.Then go into the installation diractory.Run "python setup.py build“ and "python setup.py install".
Currently you need to run python setup.py install
manually and there's no binary distributions.
I think the japonito
was never released in pip
just because author is not sure that it's stable enough. Probably, author could say better for himself. I'd wish it would be some day even daily releases. From that it's much easier to distinguish how and when to update.
@eirnym @testshiling ,
I use python setup.py install,but it still fail. my os version is: macOS 10.14.2 . Thanks
`(py3.7) IT-C02YPCXVLVCF:japronto jonny$ python setup.py install {'japronto.response.cresponse': ['src/japronto/response/cresponse.c', 'src/japronto/capsule.c'], 'japronto.protocol.creaper': ['src/japronto/protocol/creaper.c', 'src/japronto/capsule.c'], 'japronto.protocol.cprotocol': ['src/japronto/protocol/cprotocol.c', 'src/japronto/capsule.c', 'src/japronto/request/crequest.c', 'src/japronto/response/cresponse.c', 'src/japronto/parser/cparser.c', 'src/japronto/cpu_features.c', 'src/japronto/pipeline/cpipeline.c'], 'japronto.request.crequest': ['src/japronto/request/crequest.c', 'src/japronto/response/cresponse.c', 'src/japronto/router/match_dict.c', 'src/japronto/capsule.c'], 'japronto.router.cmatcher': ['src/japronto/router/cmatcher.c', 'src/japronto/router/match_dict.c', 'src/japronto/capsule.c']} running install running bdist_egg running egg_info creating src/japronto.egg-info writing src/japronto.egg-info/PKG-INFO writing dependency_links to src/japronto.egg-info/dependency_links.txt writing entry points to src/japronto.egg-info/entry_points.txt writing requirements to src/japronto.egg-info/requires.txt writing top-level names to src/japronto.egg-info/top_level.txt writing manifest file 'src/japronto.egg-info/SOURCES.txt' reading manifest file 'src/japronto.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/japronto.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.7-x86_64/egg running install_lib running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/japronto copying src/japronto/runner.py -> build/lib.macosx-10.7-x86_64-3.7/japronto copying src/japronto/reloader.py -> build/lib.macosx-10.7-x86_64-3.7/japronto copying src/japronto/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto copying src/japronto/main.py -> build/lib.macosx-10.7-x86_64-3.7/japronto creating build/lib.macosx-10.7-x86_64-3.7/japronto/pipeline copying src/japronto/pipeline/cpipeline_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/pipeline copying src/japronto/pipeline/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/pipeline copying src/japronto/pipeline/test_pipeline.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/pipeline creating build/lib.macosx-10.7-x86_64-3.7/japronto/app copying src/japronto/app/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/app creating build/lib.macosx-10.7-x86_64-3.7/japronto/response copying src/japronto/response/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/response copying src/japronto/response/cresponse_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/response copying src/japronto/response/py.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/response creating build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/creaper_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/tracing.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/handler.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/null.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/cprotocol_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/generator_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol creating build/lib.macosx-10.7-x86_64-3.7/japronto/parser copying src/japronto/parser/test_parser.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/parser copying src/japronto/parser/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/parser copying src/japronto/parser/cffiparser.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/parser copying src/japronto/parser/build_libpicohttpparser.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/parser copying src/japronto/parser/cparser_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/parser creating build/lib.macosx-10.7-x86_64-3.7/japronto/request copying src/japronto/request/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/request copying src/japronto/request/crequest_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/request creating build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/test_matcher.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/test_analyzer.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/matcher.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/route.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/analyzer.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/init.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/cmatcher_ext.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/test_route.py -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/capsule.c -> build/lib.macosx-10.7-x86_64-3.7/japronto copying src/japronto/cpu_features.c -> build/lib.macosx-10.7-x86_64-3.7/japronto copying src/japronto/pipeline/cpipeline.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/pipeline copying src/japronto/response/cresponse.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/response copying src/japronto/protocol/cprotocol.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/protocol/creaper.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/protocol copying src/japronto/parser/cparser.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/parser copying src/japronto/request/crequest.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/request copying src/japronto/router/cmatcher.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/router copying src/japronto/router/match_dict.c -> build/lib.macosx-10.7-x86_64-3.7/japronto/router running build_ext building 'src/picohttpparser/ssepicohttpparser.o' gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/anaconda3/envs/py3.7/include -arch x86_64 -I/opt/anaconda3/envs/py3.7/include -arch x86_64 -msse4.2 -c -o src/picohttpparser/ssepicohttpparser.o src/picohttpparser/picohttpparser.c src/picohttpparser/picohttpparser.c:27:20: fatal error: assert.h: No such file or directory
^
compilation terminated.
Traceback (most recent call last):
File "setup.py", line 61, in
^
compilation terminated.
Traceback (most recent call last):
File "setup.py", line 61, in
^
compilation terminated.
Traceback (most recent call last):
File "setup.py", line 61, in
^
compilation terminated.
Traceback (most recent call last):
File "setup.py", line 61, in
^
compilation terminated.
Traceback (most recent call last):
File "setup.py", line 61, in
ERROR: Could not find a version that satisfies the requirement japronto (from versions: none) ERROR: No matching distribution found for japronto