https://prefect.io logo
#prefect-community
Title
# prefect-community
d

Dan Horne

09/21/2022, 4:55 AM
Hi all, while evaluating orchestration engines, I discovered prefect today. So I decided to give it a whirl, and the pip install failed on both Windows 10 and Mac OS 12.4. I'm running python 10.3.6 on both This is the Mac output after running "pip install --pre prefect" for Mac: × Running setup.py install for aiohttp did not run successfully. │ exit code: 1 ╰─> [511 lines of output] ********************** * Accellerated build * ********************** /Users/danhorne/Env/prefect/lib/python3.10/site-packages/setuptools/config/setupcfg.py508 SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /Users/danhorne/Env/prefect/lib/python3.10/site-packages/setuptools/command/install.py34 SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.macosx-12-arm64-cpython-310 creating build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_ws.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/worker.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/multipart.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_response.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/signals.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/client_ws.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/test_utils.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/tracing.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_exceptions.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_middlewares.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/http_exceptions.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_app.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/streams.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_protocol.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/log.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/client.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_urldispatcher.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_request.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/http_websocket.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/client_proto.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/locks.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/__init__.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_runner.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_server.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/base_protocol.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/payload.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/client_reqrep.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/http.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_log.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/resolver.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/formdata.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_routedef.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/connector.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/client_exceptions.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/typedefs.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/hdrs.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/web_fileresponse.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/http_writer.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/tcp_helpers.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/helpers.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/frozenlist.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/http_parser.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/cookiejar.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/pytest_plugin.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/abc.py -> build/lib.macosx-12-arm64-cpython-310/aiohttp running egg_info writing aiohttp.egg-info/PKG-INFO writing dependency_links to aiohttp.egg-info/dependency_links.txt writing requirements to aiohttp.egg-info/requires.txt writing top-level names to aiohttp.egg-info/top_level.txt reading manifest file 'aiohttp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'aiohttp' anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyd' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '*.lib' found anywhere in distribution warning: no previously-included files matching '*.dll' found anywhere in distribution warning: no previously-included files matching '*.a' found anywhere in distribution warning: no previously-included files matching '*.obj' found anywhere in distribution warning: no previously-included files found matching 'aiohttp/*.html' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE.txt' writing manifest file 'aiohttp.egg-info/SOURCES.txt' copying aiohttp/_cparser.pxd -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_find_header.c -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_find_header.h -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_find_header.pxd -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_frozenlist.c -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_frozenlist.pyx -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_headers.pxi -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_helpers.c -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_helpers.pyi -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_helpers.pyx -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_http_parser.c -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_http_parser.pyx -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_http_writer.c -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_http_writer.pyx -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_websocket.c -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/_websocket.pyx -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/frozenlist.pyi -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/py.typed -> build/lib.macosx-12-arm64-cpython-310/aiohttp copying aiohttp/signals.pyi -> build/lib.macosx-12-arm64-cpython-310/aiohttp running build_ext building 'aiohttp._websocket' extension creating build/temp.macosx-12-arm64-cpython-310 creating build/temp.macosx-12-arm64-cpython-310/aiohttp clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/Users/danhorne/Env/prefect/include -I/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c aiohttp/_websocket.c -o build/temp.macosx-12-arm64-cpython-310/aiohttp/_websocket.o aiohttp/_websocket.c216622: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : ^ /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h2617: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op) : \ ^ /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h45135: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h4451: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h51354: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((deprecated)) ^ aiohttp/_websocket.c216622: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : ... lots more messages ... aiohttp/_http_parser.c2327619: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); ^ aiohttp/_http_parser.c2327617: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aiohttp/_http_parser.c2336019: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret = _PyGen_Send((PyGenObject*)yf, NULL); ^ aiohttp/_http_parser.c2336017: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] ret = _PyGen_Send((PyGenObject*)yf, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 warnings and 5 errors generated. error: command '/usr/bin/clang' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> aiohttp note: This is an issue with the package mentioned above, not pip. Has anyone else received these messages and resolved the problem? Thanks
1
s

Stéphan Taljaard

09/21/2022, 6:35 AM
Hi @Dan Horne Would you mind editing your message to cut and paste the output/code into the thread here? That will clean up the channel a bit. If you want, you can format it using ``` before and after your post to format as a "code block"
upvote 2
m

Mason Menges

09/21/2022, 3:20 PM
Hey @Dan Horne does this work without specifying the
--pre
flag, i.e.
pip install prefect
to install the latest stable version of prefect?
z

Zanie

09/21/2022, 3:22 PM
With
--pre
it’ll attempt to install pre-releases of prefect and all of prefects dependencies. It looks like one of our dependencies has an uninstallable prerelease.
15 Views