-
Notifications
You must be signed in to change notification settings - Fork 7
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 fails on macOS #49
Comments
Right now, ingenialink-python is not compatible with macOS. |
Thank you for your reply. According to this readme, macOS is listed as being supported. I attached the log file of my installation attempt where v 5.1.0 failed, but 4.1.0 was successfully installed. Is the website wrong or is macOS support for v 5.1.0 coming?—Last login: Mon Mar 29 09:57:09 on console
(forge) ~> pip install ingenialink
Collecting ingenialink
Using cached ingenialink-5.1.0.tar.gz (31 kB)
ERROR: Command errored out with exit status 1:
command: /Users/sean/anaconda3/envs/forge/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/setup.py'"'"'; __file__='"'"'/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/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 /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-pip-egg-info-p0bmj1wq
cwd: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/
Complete output (215 lines):
Cloning into '_deps/ingenialink'...
Note: switching to 'd83bde790eb430d5fdfbfb0e476507e68afda465'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Submodule 'external/libxml2/libxml2' (https://github.com/GNOME/libxml2.git) registered for path 'external/libxml2/libxml2'
Submodule 'external/sercomm' (https://github.com/ingeniamc/sercomm.git) registered for path 'external/sercomm'
Cloning into '/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/external/libxml2/libxml2'...
Cloning into '/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/external/sercomm'...
Submodule path 'external/libxml2/libxml2': checked out 'bc5a5d658320c37e206fe4e7b525b4a24466d0c6'
Submodule path 'external/sercomm': checked out 'dd1f999884ec4202c6b42d623efdc5eabf1753fe'
Submodule 'docs/template' (https://github.com/ingeniamc/doxygen-template.git) registered for path 'external/sercomm/docs/template'
Cloning into '/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/external/sercomm/docs/template'...
Submodule path 'external/sercomm/docs/template': checked out '9b4d271575c1a0393f1f53fbfc0e4ea1096f58e3'
-- The C compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_build/sercomm
Scanning dependencies of target sercomm
[ 14%] Building C object CMakeFiles/sercomm.dir/sercomm/base.c.o
[ 28%] Building C object CMakeFiles/sercomm.dir/sercomm/err.c.o
[ 42%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/base.c.o
[ 57%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/comms.c.o
[ 71%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/time.c.o
[ 85%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/dev_macos.c.o
[100%] Linking C static library libsercomm.a
[100%] Built target sercomm
Install the project...
-- Install configuration: "Release"
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommConfig.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommConfigVersion.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommTargets.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommTargets-release.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/libsercomm.a
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/err.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/types.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/dev.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/comms.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/common.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/sercomm.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/base.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/config.h
-- The C compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Found LibXml2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/lib/libxml2.tbd (found version "2.9.4")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Perl: /usr/bin/perl (found version "5.28.2")
-- Style check available (style_check)
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_build/ingenialink
Scanning dependencies of target ingenialink
[ 0%] Building C object CMakeFiles/ingenialink.dir/ingenialink/dict.c.o
In file included from /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:25:
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.h:120:24: warning: redefinition of typedef 'il_dict_t' is a C11 feature [-Wtypedef-redefinition]
typedef struct il_dict il_dict_t;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/public/ingenialink/dict.h:42:24: note: previous definition is here
typedef struct il_dict il_dict_t;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:241:6: warning: variable 'r' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (!h_scats) {
^~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:277:9: note: uninitialized use occurs here
return r;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:241:2: note: remove the 'if' if its condition is always false
if (!h_scats) {
^~~~~~~~~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:212:7: note: initialize the variable 'r' to silence this warning
int r, absent;
^
= 0
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:474:30: error: too many arguments to function call, expected 2, have 3
(const char *)val, NULL, 0);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:520:30: error: too many arguments to function call, expected 2, have 3
(const char *)val, NULL, 0);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:553:36: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
reg->enums[index].value = atoi(value);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int atoi(const char *);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:554:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
reg->enums[index].label = strdup(content);
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here
char *strdup(const char *__s1);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:550:18: warning: unused variable 'new_enum' [-Wunused-variable]
il_reg_enum_t new_enum;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:882:16: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dict->version = node_ver->children[0].content;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:923:30: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion]
r = parse_reg(node, dict, &subnode);
^~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:623:60: note: passing argument to parameter 'subnode' here
static int parse_reg(xmlNodePtr node, il_dict_t *dict, int subnode)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:952:36: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion]
r = parse_reg(cur_node, dict, &subnode);
^~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:623:60: note: passing argument to parameter 'subnode' here
static int parse_reg(xmlNodePtr node, il_dict_t *dict, int subnode)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:1045:22: warning: incompatible pointer types passing 'kh_reg_id_t **' (aka 'struct kh_reg_id_s **') to parameter of type 'kh_reg_id_t *' (aka 'struct kh_reg_id_s *'); dereference with * [-Wincompatible-pointer-types]
kh_destroy(reg_id, dict->h_regs);
^~~~~~~~~~~~
*
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:446:47: note: expanded from macro 'kh_destroy'
#define kh_destroy(name, h) kh_destroy_##name(h)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.h:50:1: note: passing argument to parameter 'h' here
KHASH_MAP_INIT_STR(reg_id, il_dict_reg_t)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:625:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:366:2: note: expanded from macro 'KHASH_INIT'
KHASH_INIT2(name, static kh_inline klib_unused, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:363:2: note: expanded from macro 'KHASH_INIT2'
__KHASH_IMPL(name, SCOPE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:215:46: note: expanded from macro '__KHASH_IMPL'
SCOPE void kh_destroy_##name(kh_##name##_t *h) \
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:812:16: warning: unused variable 'j' [-Wunused-variable]
int r = 0, i, j;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:1051:1: warning: unused label 'cleanup_h_axes' [-Wunused-label]
cleanup_h_axes:
^~~~~~~~~~~~~~~
11 warnings and 2 errors generated.
make[2]: *** [CMakeFiles/ingenialink.dir/ingenialink/dict.c.o] Error 1
make[1]: *** [CMakeFiles/ingenialink.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/setup.py", line 9, in <module>
setup(name='ingenialink',
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/__init__.py", line 163, in setup
return distutils.core.setup(**attrs)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/dist.py", line 429, in __init__
_Distribution.__init__(self, {
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/distutils/dist.py", line 292, in __init__
self.finalize_options()
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/dist.py", line 721, in finalize_options
ep(self)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/dist.py", line 728, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/cffi/setuptools_ext.py", line 219, in cffi_modules
add_cffi_module(dist, cffi_module)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/cffi/setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "ingenialink/ingenialink_build.py", line 195, in <module>
_build_deps()
File "ingenialink/ingenialink_build.py", line 116, in _build_deps
check_call([cmake, '--build', _IL_BUILD, '--config', 'Release',
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/sean/anaconda3/envs/forge/bin/cmake', '--build', '_build/ingenialink', '--config', 'Release', '--target', 'install']' returned non-zero exit status 2.
[INFO] Ingenialink build
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/50/b1/eb6ed477414e625602cc98e7452fc920d10b8ff95bca0380cd46f2b1b990/ingenialink-5.1.0.tar.gz#sha256=3b479b50c8713bf9f882745b46d17cbd650b02a203c5944d79758f04e625024e (from https://pypi.org/simple/ingenialink/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached ingenialink-4.1.0.tar.gz (15 kB)
Requirement already satisfied: cffi>=1.0.0 in ./anaconda3/envs/forge/lib/python3.9/site-packages (from ingenialink) (1.14.5)
Requirement already satisfied: pycparser in ./anaconda3/envs/forge/lib/python3.9/site-packages (from cffi>=1.0.0->ingenialink) (2.20)
Building wheels for collected packages: ingenialink
Building wheel for ingenialink (setup.py) ... done
Created wheel for ingenialink: filename=ingenialink-4.1.0-cp39-cp39-macosx_10_9_x86_64.whl size=89901 sha256=7467c30f96005ef7f6382b81f448439188aa917ace4a22ff5b03e8c21f5b2904
Stored in directory: /Users/sean/Library/Caches/pip/wheels/1d/b5/74/be733256d3b8696a8f6a2a9aa5c6c8f1e7165a2e76bd8953af
Successfully built ingenialink
Installing collected packages: ingenialink
Successfully installed ingenialink-4.1.0
(forge) ~> via Newton MailOn Fri, Feb 26, 2021 at 4:33 AM, Oriol Burgaya Verdaguer ***@***.***> wrote:
Right now, ingenialink-python is not compatible with macOS.
Sorry for the inconvenience.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#49 (comment)",
"url": "#49 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
Oriol,
Is a macOS development environment planned to be supported in the future developments of the Ingenia software, or version 4.1.0 the last supported version for macOS?
If it is, is the M1 chip going to be supported?
Sean O’Rear
+1 (414) 418-3722
***@***.***
… On Apr 2, 2021, at 8:10 AM, Sean O'Rear ***@***.***> wrote:
Thank you for your reply.
According to this readme <https://github.com/ingeniamc/ingenialink-python>, macOS is listed as being supported. I attached the log file of my installation attempt where v 5.1.0 failed, but 4.1.0 was successfully installed. Is the website wrong or is macOS support for v 5.1.0 coming?
—
Last login: Mon Mar 29 09:57:09 on console
(forge) ~> pip install ingenialink
Collecting ingenialink
Using cached ingenialink-5.1.0.tar.gz (31 kB)
ERROR: Command errored out with exit status 1:
command: /Users/sean/anaconda3/envs/forge/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/setup.py <http://setup.py/>'"'"'; __file__='"'"'/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/setup.py <http://setup.py/>'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read <http://f.read/>().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-pip-egg-info-p0bmj1wq
cwd: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/
Complete output (215 lines):
Cloning into '_deps/ingenialink'...
Note: switching to 'd83bde790eb430d5fdfbfb0e476507e68afda465'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
Submodule 'external/libxml2/libxml2' (github.com/GNOME/libxml2.git <https://github.com/GNOME/libxml2.git>) registered for path 'external/libxml2/libxml2'
Submodule 'external/sercomm' (github.com/ingeniamc/sercomm.git <https://github.com/ingeniamc/sercomm.git>) registered for path 'external/sercomm'
Cloning into '/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/external/libxml2/libxml2'...
Cloning into '/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/external/sercomm'...
Submodule path 'external/libxml2/libxml2': checked out 'bc5a5d658320c37e206fe4e7b525b4a24466d0c6'
Submodule path 'external/sercomm': checked out 'dd1f999884ec4202c6b42d623efdc5eabf1753fe'
Submodule 'docs/template' (github.com/ingeniamc/doxygen-template.git <https://github.com/ingeniamc/doxygen-template.git>) registered for path 'external/sercomm/docs/template'
Cloning into '/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/external/sercomm/docs/template'...
Submodule path 'external/sercomm/docs/template': checked out '9b4d271575c1a0393f1f53fbfc0e4ea1096f58e3'
-- The C compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc <http://xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc> - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_build/sercomm
Scanning dependencies of target sercomm
[ 14%] Building C object CMakeFiles/sercomm.dir/sercomm/base.c.o
[ 28%] Building C object CMakeFiles/sercomm.dir/sercomm/err.c.o
[ 42%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/base.c.o
[ 57%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/comms.c.o
[ 71%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/time.c.o
[ 85%] Building C object CMakeFiles/sercomm.dir/sercomm/posix/dev_macos.c.o
[100%] Linking C static library libsercomm.a
[100%] Built target sercomm
Install the project...
-- Install configuration: "Release"
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommConfig.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommConfigVersion.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommTargets.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/cmake/sercomm/sercommTargets-release.cmake
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/lib/libsercomm.a
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/err.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/types.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/dev.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/comms.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/common.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/sercomm.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/base.h
-- Installing: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_install/include/sercomm/config.h
-- The C compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc <http://xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc> - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Found LibXml2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/lib/libxml2.tbd <http://xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/lib/libxml2.tbd> (found version "2.9.4")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Perl: /usr/bin/perl (found version "5.28.2")
-- Style check available (style_check)
-- Configuring done
-- Generating done
-- Build files have been written to: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_build/ingenialink
Scanning dependencies of target ingenialink
[ 0%] Building C object CMakeFiles/ingenialink.dir/ingenialink/dict.c.o
In file included from /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:25:
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.h:120:24: warning: redefinition of typedef 'il_dict_t' is a C11 feature [-Wtypedef-redefinition]
typedef struct il_dict il_dict_t;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/public/ingenialink/dict.h:42:24: note: previous definition is here
typedef struct il_dict il_dict_t;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:241:6: warning: variable 'r' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (!h_scats) {
^~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:277:9: note: uninitialized use occurs here
return r;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:241:2: note: remove the 'if' if its condition is always false
if (!h_scats) {
^~~~~~~~~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:212:7: note: initialize the variable 'r' to silence this warning
int r, absent;
^
= 0
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:474:30: error: too many arguments to function call, expected 2, have 3
(const char *)val, NULL, 0);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:520:30: error: too many arguments to function call, expected 2, have 3
(const char *)val, NULL, 0);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:553:36: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
reg->enums[index].value = atoi(value);
^~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:135:23 <http://xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:135:23>: note: passing argument to parameter here
int atoi(const char *);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:554:38: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
reg->enums[index].label = strdup(content);
^~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/string.h:117:26 <http://xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/string.h:117:26>: note: passing argument to parameter '__s1' here
char *strdup(const char *__s1);
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:550:18: warning: unused variable 'new_enum' [-Wunused-variable]
il_reg_enum_t new_enum;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:882:16: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dict->version = node_ver->children[0].content;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:923:30: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion]
r = parse_reg(node, dict, &subnode);
^~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:623:60: note: passing argument to parameter 'subnode' here
static int parse_reg(xmlNodePtr node, il_dict_t *dict, int subnode)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:952:36: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion]
r = parse_reg(cur_node, dict, &subnode);
^~~~~~~~
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:623:60: note: passing argument to parameter 'subnode' here
static int parse_reg(xmlNodePtr node, il_dict_t *dict, int subnode)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:1045:22: warning: incompatible pointer types passing 'kh_reg_id_t **' (aka 'struct kh_reg_id_s **') to parameter of type 'kh_reg_id_t *' (aka 'struct kh_reg_id_s *'); dereference with * [-Wincompatible-pointer-types]
kh_destroy(reg_id, dict->h_regs);
^~~~~~~~~~~~
*
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:446:47: note: expanded from macro 'kh_destroy'
#define kh_destroy(name, h) kh_destroy_##name(h)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.h:50:1: note: passing argument to parameter 'h' here
KHASH_MAP_INIT_STR(reg_id, il_dict_reg_t)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:625:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:366:2: note: expanded from macro 'KHASH_INIT'
KHASH_INIT2(name, static kh_inline klib_unused, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:363:2: note: expanded from macro 'KHASH_INIT2'
__KHASH_IMPL(name, SCOPE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/include/klib/khash.h:215:46: note: expanded from macro '__KHASH_IMPL'
SCOPE void kh_destroy_##name(kh_##name##_t *h) \
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:812:16: warning: unused variable 'j' [-Wunused-variable]
int r = 0, i, j;
^
/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/_deps/ingenialink/ingenialink/dict.c:1051:1: warning: unused label 'cleanup_h_axes' [-Wunused-label]
cleanup_h_axes:
^~~~~~~~~~~~~~~
11 warnings and 2 errors generated.
make[2]: *** [CMakeFiles/ingenialink.dir/ingenialink/dict.c.o] Error 1
make[1]: *** [CMakeFiles/ingenialink.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-afu32dgc/ingenialink_9e8b20c8ba074111a524013a53ceb5d9/setup.py <http://setup.py/>", line 9, in <module>
setup(name='ingenialink',
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/__init__.py", line 163, in setup
return distutils.core.setup(**attrs)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/distutils/core.py <http://core.py/>", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/dist.py <http://dist.py/>", line 429, in __init__
_Distribution.__init__(self, {
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/distutils/dist.py <http://dist.py/>", line 292, in __init__
self.finalize_options()
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/dist.py <http://dist.py/>", line 721, in finalize_options
ep(self)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/setuptools/dist.py <http://dist.py/>", line 728, in _finalize_setup_keywords
ep.load()(self, ep.name <http://ep.name/>, value)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/cffi/setuptools_ext.py <http://ext.py/>", line 219, in cffi_modules
add_cffi_module(dist, cffi_module)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/cffi/setuptools_ext.py <http://ext.py/>", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/site-packages/cffi/setuptools_ext.py <http://ext.py/>", line 25, in execfile
exec(code, glob, glob)
File "ingenialink/ingenialink_build.py <http://build.py/>", line 195, in <module>
_build_deps()
File "ingenialink/ingenialink_build.py <http://build.py/>", line 116, in _build_deps
check_call([cmake, '--build', _IL_BUILD, '--config', 'Release',
File "/Users/sean/anaconda3/envs/forge/lib/python3.9/subprocess.py <http://subprocess.py/>", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/sean/anaconda3/envs/forge/bin/cmake', '--build', '_build/ingenialink', '--config', 'Release', '--target', 'install']' returned non-zero exit status 2.
[INFO] Ingenialink build
----------------------------------------
WARNING: Discarding files.pythonhosted.org/packages/50/b1/eb6ed477414e625602cc98e7452fc920d10b8ff95bca0380cd46f2b1b990/ingenialink-5.1.0.tar.gz#sha256=3b479b50c8713bf9f882745b46d17cbd650b02a203c5944d79758f04e625024e <https://files.pythonhosted.org/packages/50/b1/eb6ed477414e625602cc98e7452fc920d10b8ff95bca0380cd46f2b1b990/ingenialink-5.1.0.tar.gz#sha256=3b479b50c8713bf9f882745b46d17cbd650b02a203c5944d79758f04e625024e> (from pypi.org/simple/ingenialink <https://pypi.org/simple/ingenialink/>). Command errored out with exit status 1: python setup.py <http://setup.py/> egg_info Check the logs for full command output.
Using cached ingenialink-4.1.0.tar.gz (15 kB)
Requirement already satisfied: cffi>=1.0.0 in ./anaconda3/envs/forge/lib/python3.9/site-packages (from ingenialink) (1.14.5)
Requirement already satisfied: pycparser in ./anaconda3/envs/forge/lib/python3.9/site-packages (from cffi>=1.0.0->ingenialink) (2.20)
Building wheels for collected packages: ingenialink
Building wheel for ingenialink (setup.py <http://setup.py/>) ... done
Created wheel for ingenialink: filename=ingenialink-4.1.0-cp39-cp39-macosx_10_9_x86_64.whl size=89901 sha256=7467c30f96005ef7f6382b81f448439188aa917ace4a22ff5b03e8c21f5b2904
Stored in directory: /Users/sean/Library/Caches/pip/wheels/1d/b5/74/be733256d3b8696a8f6a2a9aa5c6c8f1e7165a2e76bd8953af
Successfully built ingenialink
Installing collected packages: ingenialink
Successfully installed ingenialink-4.1.0
(forge) ~>
via Newton Mail <https://cloudmagic.com/k/d/mailapp?ct=dx&cv=10.0.56&pv=11.2.3&source=email_footer_2>
On Fri, Feb 26, 2021 at 4:33 AM, Oriol Burgaya Verdaguer ***@***.*** ***@***.***>> wrote:
Right now, ingenialink-python is not compatible with macOS.
Sorry for the inconvenience.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#49 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AS3FGIY4QCLH2YHXBPVEEDTTA52H5ANCNFSM4YAYJ3GQ>.
|
Hello, I would not say no to macOS support in the future, but we will try to focus on Linux support first as it has more demand than MacOS. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(forge) Seans-Air:ingenialink sean$ pip install ingenialink==5.1.0
Collecting ingenialink==5.1.0
Using cached ingenialink-5.1.0.tar.gz (31 kB)
ERROR: Command errored out with exit status 1:
command: /Users/sean/anaconda3/envs/forge/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-u9mzmdhf/ingenialink_86dc18cf024e479988990de81dd40ba9/setup.py'"'"'; file='"'"'/private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-u9mzmdhf/ingenialink_86dc18cf024e479988990de81dd40ba9/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 /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-pip-egg-info-vxfame3i
cwd: /private/var/folders/3z/v8trplvs7bj61r1l7j1cc0yc0000gn/T/pip-install-u9mzmdhf/ingenialink_86dc18cf024e479988990de81dd40ba9/
Complete output (215 lines):
Cloning into '_deps/ingenialink'...
Note: switching to 'd83bde790eb430d5fdfbfb0e476507e68afda465'.
WARNING: Discarding https://files.pythonhosted.org/packages/50/b1/eb6ed477414e625602cc98e7452fc920d10b8ff95bca0380cd46f2b1b990/ingenialink-5.1.0.tar.gz#sha256=3b479b50c8713bf9f882745b46d17cbd650b02a203c5944d79758f04e625024e (from https://pypi.org/simple/ingenialink/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement ingenialink==5.1.0
ERROR: No matching distribution found for ingenialink==5.1.0
The text was updated successfully, but these errors were encountered: