Testing in another MacOS, we find out that the python version and the way the Environment is created might affect the correct installation. 1) if users have python already from conda envs, which can be quite common, thepoetry install
shows
zsh:1: no such file or directory: /opt/concourse/worker/volumes/live/c1a1a6ef-e724-4ad9-52a7-d6d68451dacb/volume/python-split_1631807121927/_build_env/bin/llvm-ar
zsh:1: no such file or directory: /opt/concourse/worker/volumes/live/c1a1a6ef-e724-4ad9-52a7-d6d68451dacb/volume/python-split_1631807121927/_build_env/bin/llvm-ar
error: Command "/opt/concourse/worker/volumes/live/c1a1a6ef-e724-4ad9-52a7-d6d68451dacb/volume/python-split_1631807121927/_build_env/bin/llvm-ar rcs build/temp.macosx-10.9-x86_64-3.9/libnpymath.a build/temp.macosx-10.9-x86_64-3.9/numpy/core/src/npymath/npy_math.o build/temp.macosx-10.9-x86_64-3.9/build/src.macosx-10.9-x86_64-3.9/numpy/core/src/npymath/ieee754.o build/temp.macosx-10.9-x86_64-3.9/build/src.macosx-10.9-x86_64-3.9/numpy/core/src/npymath/npy_math_complex.o build/temp.macosx-10.9-x86_64-3.9/numpy/core/src/npymath/halffloat.o" failed with exit status 127
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/jding/opt/anaconda3/envs/ua/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-install-yt692vf0/numpy_846fe9e98d334320be8531dc9d52f948/setup.py'"'"'; __file__='"'"'/private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-install-yt692vf0/numpy_846fe9e98d334320be8531dc9d52f948/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/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-record-_cno4xb0/install-record.txt --single-version-externally-managed --prefix /private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-build-env-iwnc5r0v/overlay --compile --install-headers /private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-build-env-iwnc5r0v/overlay/include/python3.9/numpy Check the logs for full command output.
----------------------------------------
WARNING: Discarding file:///Users/jding/Library/Caches/pypoetry/artifacts/1b/f8/77/cd6cb033665a9495af3468fb24629d33fa626db7b10a8abeb47a016bf1/pandas-1.0.3.tar.gz. Command errored out with exit status 1: /Users/jding/opt/anaconda3/envs/ua/bin/python /private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-standalone-pip-p1dzj8yo/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-build-env-iwnc5r0v/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output.
ERROR: Command errored out with exit status 1: /Users/jding/opt/anaconda3/envs/ua/bin/python /private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-standalone-pip-p1dzj8yo/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /private/var/folders/_p/_n8j38ls4wq303jqcy3mt0cr0000gr/T/pip-build-env-iwnc5r0v/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output.
at ~/.poetry/lib/poetry/utils/env.py:1195 in _run
1191│ output = subprocess.check_output(
1192│ cmd, stderr=subprocess.STDOUT, **kwargs
1193│ )
1194│ except CalledProcessError as e:
→ 1195│ raise EnvCommandError(e, input=input_)
1196│
1197│ return decode(output)
1198│
1199│ def execute(self, bin, *args, **kwargs):
then the issue was about the python version in which we got
Command ['/Users/jding/Library/Caches/pypoetry/virtualenvs/ramp-u2zQ2mbi-py3.10/bin/pip', 'install', '--no-deps', '/Users/jding/Library/Caches/pypoetry/artifacts/1d/39/69/fd592161731e8c197899f57a8d2142e2e2fd24626c2ee55ba72942ec9f/pandas-1.0.3.tar.gz'] errored with the following return code 1, and output:
Processing /Users/jding/Library/Caches/pypoetry/artifacts/1d/39/69/fd592161731e8c197899f57a8d2142e2e2fd24626c2ee55ba72942ec9f/pandas-1.0.3.tar.gz
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: still running...
Installing build dependencies: finished with status 'error'
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [4308 lines of output]
Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.7" and platform_system == "AIX"' don't match your environment
Collecting setuptools
Using cached setuptools-60.9.3-py3-none-any.whl (1.1 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting Cython>=0.29.13
Using cached Cython-0.29.28-py2.py3-none-any.whl (983 kB)
Collecting numpy==1.14.5
Using cached numpy-1.14.5.zip (4.9 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): still running...
Building wheel for numpy (setup.py): still running...
Building wheel for numpy (setup.py): still running...
Building wheel for numpy (setup.py): still running...
Building wheel for numpy (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
Then the solution was to install 3.8.8 version, to let poetry install
correctly, and then we got the issue reported in #14 , we solved it as it was described there, and then we got the issue #15 where nothing much could be done. I guess there is a need to make clear in the Readme that users needs to install the ASPICS requirements out of any Conda env previously installed.