Skip to content
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

Parasail install failing on M1 Pro #89

Open
leecbaker opened this issue Nov 9, 2021 · 4 comments
Open

Parasail install failing on M1 Pro #89

leecbaker opened this issue Nov 9, 2021 · 4 comments

Comments

@leecbaker
Copy link

Installing parasail via pipenv on M1 Pro, and the install fails with the following log:

➜ pipenv install --dev
Installing dependencies from Pipfile.lock (0a2afc)...
  🐍   β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰β–‰ 1/1 β€” 00:00:00
An error occurred while installing parasail==1.2.4 --hash=sha256:8e6e0762924a461bb437cbb71122765c6912dace880e338bd19c7f9d12efead2 --hash=sha256:37d17536b37886dcf87883f56c04ff614fec780e111db5a0cedd791c586ef252 --hash=sha256:5324e87262ae456a5c7165394734eda60f9b8927eb4bf6b88f6fe5f55c404e66 --hash=sha256:fd940a737507e1980d3c08982f0c3aef084515c059daff39e1ebd370db2f5fa3 --hash=sha256:500a181b5c8f96083423913efdb3070fde7ca8e1bb2de222d03e2ef1c37bec2c --hash=sha256:35bebac42193a0608fa59a42f34a3b393010d4d425a0c40a7bf3419ea7a0b2fe! Will try again.
Installing initially failed dependencies...
[InstallError]:   File "/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/lib/python3.10/site-packages/pipenv/cli/command.py", line 233, in install
[InstallError]:       retcode = do_install(
[InstallError]:   File "/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/lib/python3.10/site-packages/pipenv/core.py", line 2052, in do_install
[InstallError]:       do_init(
[InstallError]:   File "/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/lib/python3.10/site-packages/pipenv/core.py", line 1304, in do_init
[InstallError]:       do_install_dependencies(
[InstallError]:   File "/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/lib/python3.10/site-packages/pipenv/core.py", line 899, in do_install_dependencies
[InstallError]:       batch_install(
[InstallError]:   File "/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/lib/python3.10/site-packages/pipenv/core.py", line 796, in batch_install
[InstallError]:       _cleanup_procs(procs, failed_deps_queue, retry=retry)
[InstallError]:   File "/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/lib/python3.10/site-packages/pipenv/core.py", line 703, in _cleanup_procs
[InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: Collecting parasail==1.2.4
[pipenv.exceptions.InstallError]:   Using cached parasail-1.2.4.tar.gz (77 kB)
[pipenv.exceptions.InstallError]:   Preparing metadata (setup.py): started
[pipenv.exceptions.InstallError]:   Preparing metadata (setup.py): finished with status 'done'
[pipenv.exceptions.InstallError]: Building wheels for collected packages: parasail
[pipenv.exceptions.InstallError]:   Building wheel for parasail (setup.py): started
[pipenv.exceptions.InstallError]:   Building wheel for parasail (setup.py): finished with status 'error'
[pipenv.exceptions.InstallError]:   ERROR: Command errored out with exit status 1:
[pipenv.exceptions.InstallError]:    command: /Users/me/my-project/.venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py'"'"'; __file__='"'"'/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-wheel-5sl31_ax
[pipenv.exceptions.InstallError]:        cwd: /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/
[pipenv.exceptions.InstallError]:   Complete output (64 lines):
[pipenv.exceptions.InstallError]:   running bdist_wheel
[pipenv.exceptions.InstallError]:   parasail/libparasail.dylib not found, attempting to build
[pipenv.exceptions.InstallError]:   Downloading latest parasail master
[pipenv.exceptions.InstallError]:   Unzipping parasail master archive
[pipenv.exceptions.InstallError]:   fixing executable bits after unzipping
[pipenv.exceptions.InstallError]:   Unable to find parasail configure script
[pipenv.exceptions.InstallError]:   Prepending /usr/bin to PATH
[pipenv.exceptions.InstallError]:   PATH=/usr/bin:/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/tools:/usr/local/opt/openjdk/bin:/Users/me/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/me/.cargo/bin
[pipenv.exceptions.InstallError]:   Running autoreconf -fi from ./parasail-master
[pipenv.exceptions.InstallError]:   b'This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level'
[pipenv.exceptions.InstallError]:   b'GNU M4 1.4.6'
[pipenv.exceptions.InstallError]:   b'autoconf (GNU Autoconf) 2.71'
[pipenv.exceptions.InstallError]:   automake not found
[pipenv.exceptions.InstallError]:   b'glibtoolize (GNU libtool) 2.4.6'
[pipenv.exceptions.InstallError]:   b'autoreconf (GNU Autoconf) 2.71'
[pipenv.exceptions.InstallError]:   Prepending /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin to PATH
[pipenv.exceptions.InstallError]:   PATH=/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin:/usr/bin:/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/tools:/usr/local/opt/openjdk/bin:/Users/me/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/me/.cargo/bin
[pipenv.exceptions.InstallError]:   Building autotools
[pipenv.exceptions.InstallError]:   Downloading http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz
[pipenv.exceptions.InstallError]:   Expanding m4-1.4.17.tar.gz
[pipenv.exceptions.InstallError]:   configuring m4
[pipenv.exceptions.InstallError]:   running ./configure --prefix=/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools
[pipenv.exceptions.InstallError]:   making and installing m4
[pipenv.exceptions.InstallError]:   Downloading http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
[pipenv.exceptions.InstallError]:   Expanding autoconf-2.69.tar.gz
[pipenv.exceptions.InstallError]:   configuring autoconf
[pipenv.exceptions.InstallError]:   running ./configure --prefix=/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools
[pipenv.exceptions.InstallError]:   making and installing autoconf
[pipenv.exceptions.InstallError]:   Downloading http://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz
[pipenv.exceptions.InstallError]:   Expanding automake-1.15.1.tar.gz
[pipenv.exceptions.InstallError]:   configuring automake
[pipenv.exceptions.InstallError]:   running ./configure --prefix=/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools
[pipenv.exceptions.InstallError]:   making and installing automake
[pipenv.exceptions.InstallError]:   Downloading http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz
[pipenv.exceptions.InstallError]:   Expanding libtool-2.4.6.tar.gz
[pipenv.exceptions.InstallError]:   configuring libtool
[pipenv.exceptions.InstallError]:   running ./configure --prefix=/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools
[pipenv.exceptions.InstallError]:   making and installing libtool
[pipenv.exceptions.InstallError]:   Running autoreconf -fi from ./parasail-master
[pipenv.exceptions.InstallError]:   b'This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level'
[pipenv.exceptions.InstallError]:   m4 --version failed
[pipenv.exceptions.InstallError]:   b'autoconf (GNU Autoconf) 2.69'
[pipenv.exceptions.InstallError]:   b'automake (GNU automake) 1.15.1'
[pipenv.exceptions.InstallError]:   b'glibtoolize (GNU libtool) 2.4.6'
[pipenv.exceptions.InstallError]:   b'autoreconf (GNU Autoconf) 2.69'
[pipenv.exceptions.InstallError]:   Traceback (most recent call last):
[pipenv.exceptions.InstallError]:     File "<string>", line 1, in <module>
[pipenv.exceptions.InstallError]:     File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 478, in <module>
[pipenv.exceptions.InstallError]:       setup(
[pipenv.exceptions.InstallError]:     File "/Users/me/my-project/.venv/lib/python3.10/site-packages/setuptools/__init__.py", line 159, in setup
[pipenv.exceptions.InstallError]:       return distutils.core.setup(**attrs)
[pipenv.exceptions.InstallError]:     File "/opt/homebrew/Cellar/[email protected]/3.10.0_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/core.py", line 148, in setup
[pipenv.exceptions.InstallError]:       dist.run_commands()
[pipenv.exceptions.InstallError]:     File "/opt/homebrew/Cellar/[email protected]/3.10.0_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/dist.py", line 966, in run_commands
[pipenv.exceptions.InstallError]:       self.run_command(cmd)
[pipenv.exceptions.InstallError]:     File "/opt/homebrew/Cellar/[email protected]/3.10.0_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/dist.py", line 985, in run_command
[pipenv.exceptions.InstallError]:       cmd_obj.run()
[pipenv.exceptions.InstallError]:     File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 461, in run
[pipenv.exceptions.InstallError]:       prepare_shared_lib()
[pipenv.exceptions.InstallError]:     File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 445, in prepare_shared_lib
[pipenv.exceptions.InstallError]:       build_parasail(libname)
[pipenv.exceptions.InstallError]:     File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 334, in build_parasail
[pipenv.exceptions.InstallError]:       raise RuntimeError("autoreconf -fi failed")
[pipenv.exceptions.InstallError]:   RuntimeError: autoreconf -fi failed
[pipenv.exceptions.InstallError]:   ----------------------------------------
[pipenv.exceptions.InstallError]:   ERROR: Failed building wheel for parasail
[pipenv.exceptions.InstallError]:   Running setup.py clean for parasail
[pipenv.exceptions.InstallError]: Failed to build parasail
[pipenv.exceptions.InstallError]: Installing collected packages: parasail
[pipenv.exceptions.InstallError]:     Running setup.py install for parasail: started
[pipenv.exceptions.InstallError]:     Running setup.py install for parasail: finished with status 'error'
[pipenv.exceptions.InstallError]:     ERROR: Command errored out with exit status 1:
[pipenv.exceptions.InstallError]:      command: /Users/me/my-project/.venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py'"'"'; __file__='"'"'/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-record-eqomov4i/install-record.txt --single-version-externally-managed --compile --install-headers /Users/me/my-project/.venv/include/site/python3.10/parasail
[pipenv.exceptions.InstallError]:          cwd: /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/
[pipenv.exceptions.InstallError]:     Complete output (58 lines):
[pipenv.exceptions.InstallError]:     running install
[pipenv.exceptions.InstallError]:     /Users/me/my-project/.venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
[pipenv.exceptions.InstallError]:       warnings.warn(
[pipenv.exceptions.InstallError]:     parasail/libparasail.dylib not found, attempting to build
[pipenv.exceptions.InstallError]:     Archive 'parasail-master.zip' already downloaded
[pipenv.exceptions.InstallError]:     Archive 'parasail-master.zip' already unzipped to /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439
[pipenv.exceptions.InstallError]:     parasail archive executable permissions ok
[pipenv.exceptions.InstallError]:     Unable to find parasail configure script
[pipenv.exceptions.InstallError]:     Prepending /usr/bin to PATH
[pipenv.exceptions.InstallError]:     PATH=/usr/bin:/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/tools:/usr/local/opt/openjdk/bin:/Users/me/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/me/.cargo/bin
[pipenv.exceptions.InstallError]:     Running autoreconf -fi from ./parasail-master
[pipenv.exceptions.InstallError]:     b'This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level'
[pipenv.exceptions.InstallError]:     b'GNU M4 1.4.6'
[pipenv.exceptions.InstallError]:     b'autoconf (GNU Autoconf) 2.71'
[pipenv.exceptions.InstallError]:     automake not found
[pipenv.exceptions.InstallError]:     b'glibtoolize (GNU libtool) 2.4.6'
[pipenv.exceptions.InstallError]:     b'autoreconf (GNU Autoconf) 2.71'
[pipenv.exceptions.InstallError]:     Prepending /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin to PATH
[pipenv.exceptions.InstallError]:     PATH=/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin:/usr/bin:/opt/homebrew/Cellar/pipenv/2021.5.29_1/libexec/tools:/usr/local/opt/openjdk/bin:/Users/me/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/me/.cargo/bin
[pipenv.exceptions.InstallError]:     Building autotools
[pipenv.exceptions.InstallError]:     m4-1.4.17.tar.gz already exists! Using existing copy.
[pipenv.exceptions.InstallError]:     m4-1.4.17 already exists! Using existing sources.
[pipenv.exceptions.InstallError]:     /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin/m4 already exists! Skipping build.
[pipenv.exceptions.InstallError]:     autoconf-2.69.tar.gz already exists! Using existing copy.
[pipenv.exceptions.InstallError]:     autoconf-2.69 already exists! Using existing sources.
[pipenv.exceptions.InstallError]:     /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin/autoconf already exists! Skipping build.
[pipenv.exceptions.InstallError]:     automake-1.15.1.tar.gz already exists! Using existing copy.
[pipenv.exceptions.InstallError]:     automake-1.15.1 already exists! Using existing sources.
[pipenv.exceptions.InstallError]:     /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin/automake already exists! Skipping build.
[pipenv.exceptions.InstallError]:     libtool-2.4.6.tar.gz already exists! Using existing copy.
[pipenv.exceptions.InstallError]:     libtool-2.4.6 already exists! Using existing sources.
[pipenv.exceptions.InstallError]:     /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/autotools/bin/libtool already exists! Skipping build.
[pipenv.exceptions.InstallError]:     Running autoreconf -fi from ./parasail-master
[pipenv.exceptions.InstallError]:     b'This is perl 5, version 30, subversion 3 (v5.30.3) built for darwin-thread-multi-2level'
[pipenv.exceptions.InstallError]:     m4 --version failed
[pipenv.exceptions.InstallError]:     b'autoconf (GNU Autoconf) 2.69'
[pipenv.exceptions.InstallError]:     b'automake (GNU automake) 1.15.1'
[pipenv.exceptions.InstallError]:     b'glibtoolize (GNU libtool) 2.4.6'
[pipenv.exceptions.InstallError]:     b'autoreconf (GNU Autoconf) 2.69'
[pipenv.exceptions.InstallError]:     Traceback (most recent call last):
[pipenv.exceptions.InstallError]:       File "<string>", line 1, in <module>
[pipenv.exceptions.InstallError]:       File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 478, in <module>
[pipenv.exceptions.InstallError]:         setup(
[pipenv.exceptions.InstallError]:       File "/Users/me/my-project/.venv/lib/python3.10/site-packages/setuptools/__init__.py", line 159, in setup
[pipenv.exceptions.InstallError]:         return distutils.core.setup(**attrs)
[pipenv.exceptions.InstallError]:       File "/opt/homebrew/Cellar/[email protected]/3.10.0_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/core.py", line 148, in setup
[pipenv.exceptions.InstallError]:         dist.run_commands()
[pipenv.exceptions.InstallError]:       File "/opt/homebrew/Cellar/[email protected]/3.10.0_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/dist.py", line 966, in run_commands
[pipenv.exceptions.InstallError]:         self.run_command(cmd)
[pipenv.exceptions.InstallError]:       File "/opt/homebrew/Cellar/[email protected]/3.10.0_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/dist.py", line 985, in run_command
[pipenv.exceptions.InstallError]:         cmd_obj.run()
[pipenv.exceptions.InstallError]:       File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 451, in run
[pipenv.exceptions.InstallError]:         prepare_shared_lib()
[pipenv.exceptions.InstallError]:       File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 445, in prepare_shared_lib
[pipenv.exceptions.InstallError]:         build_parasail(libname)
[pipenv.exceptions.InstallError]:       File "/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py", line 334, in build_parasail
[pipenv.exceptions.InstallError]:         raise RuntimeError("autoreconf -fi failed")
[pipenv.exceptions.InstallError]:     RuntimeError: autoreconf -fi failed
[pipenv.exceptions.InstallError]:     ----------------------------------------
[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1: /Users/me/my-project/.venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py'"'"'; __file__='"'"'/private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-install-xfnjl83w/parasail_39b1e7f78c9747089e738b8d7f96a439/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/34/ff08ny7j04g540qfn_rhnnp80000gn/T/pip-record-eqomov4i/install-record.txt --single-version-externally-managed --compile --install-headers /Users/me/my-project/.venv/include/site/python3.10/parasail Check the logs for full command output.
ERROR: Couldn't install package: parasail

Any suggestions? I checked that autotools and libtool are all installed.

@jeffdaily
Copy link
Owner

Looks like initially m4 is found already installed. b'GNU M4 1.4.6'
But after automake is found to be missing, the build script installs all of the autotools (by design); m4, autoconf, automake, libtool. At that point, m4 --version fails.

Perhaps as a work around, is there any way you could install automake first? That seems to be your only missing package prior to building.

@leecbaker
Copy link
Author

That was it- brew install automake. Would be nice to have an error message that indicates this is a problem if it's missing.

Since parasail is installing this tool, is it installing an ARM version? That could be why it fails.

@TzuTingWei
Copy link

TzuTingWei commented Jan 8, 2022

Have a similar issue installing parasail (scirpy) via pip install with Mac M1 pro, and this solved the problem.

That was it- brew install automake. Would be nice to have an error message that indicates this is a problem if it's missing.

Since parasail is installing this tool, is it installing an ARM version? That could be why it fails.

@marcpaga
Copy link

marcpaga commented Aug 9, 2024

For anyone else facing this problem, I also had to run brew install libtool to be able to install it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants