patrick-kidger/signatory

macOS 13.4.1 python setup.py install

levi0206 opened this issue · 2 comments

Hi Patrick:

I tried another way of installation:

git clone https://github.com/patrick-kidger/signatory.git
cd signatory
python setup.py install

And then enter the command:
MACOSX_DEPLOYMENT_TARGET=13.4.1 CC=clang CXX=clang++ python setup.py install

I'm curious that what's the problem that causes the error.
My setting:

  • python 3.8.10 universal2
  • torch 1.9.0 torchaudio 0.9.0 torchvision 0.10.0
  • macOS 13.4.1
  • apple M2

Thank you very much.

I enter the commands before installation:

  • export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
  • export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
  • export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"

and then
MACOSX_DEPLOYMENT_TARGET=13.4.1 CC=clang CXX=clang++ python setup.py install
It appears in the Conda list:

 % conda list
# packages in environment at /Users/me/miniconda3/envs/sigwgan:
#
# Name                    Version                   Build  Channel
attrs                     23.1.0                   pypi_0    pypi
boltons                   23.0.0                   pypi_0    pypi
build                     0.10.0                   pypi_0    pypi
ca-certificates           2023.05.30           hca03da5_0  
certifi                   2023.7.22                pypi_0    pypi
chardet                   5.1.0                    pypi_0    pypi
charset-normalizer        3.2.0                    pypi_0    pypi
cmake                     3.27.0                   pypi_0    pypi
contourpy                 1.1.0                    pypi_0    pypi
cycler                    0.11.0                   pypi_0    pypi
fbm                       0.3.0                    pypi_0    pypi
fonttools                 4.41.1                   pypi_0    pypi
future                    0.18.2                   pypi_0    pypi
idna                      3.4                      pypi_0    pypi
importlib-resources       6.0.0                    pypi_0    pypi
joblib                    1.3.1                    pypi_0    pypi
jsonschema                4.18.4                   pypi_0    pypi
jsonschema-specifications 2023.7.1                 pypi_0    pypi
kiwisolver                1.4.4                    pypi_0    pypi
libcxx                    14.0.6               h848a8c0_0  
libffi                    3.4.4                hca03da5_0  
matplotlib                3.7.2                    pypi_0    pypi
ncurses                   6.4                  h313beb8_0  
numpy                     1.24.4                   pypi_0    pypi
openssl                   1.1.1u               h1a28f6b_0  
packaging                 23.1                     pypi_0    pypi
pandas                    2.0.3                    pypi_0    pypi
pillow                    10.0.0                   pypi_0    pypi
pip                       23.2.1                   pypi_0    pypi
pkgutil-resolve-name      1.3.10                   pypi_0    pypi
py-lets-be-rational       1.0.1                    pypi_0    pypi
py-vollib                 1.0.1                    pypi_0    pypi
pyparsing                 3.0.9                    pypi_0    pypi
pyproject-hooks           1.0.0                    pypi_0    pypi
pyproject-toml            0.0.10                   pypi_0    pypi
python                    3.8.10          hab31e5c_2_cpython    conda-forge
python-dateutil           2.8.2                    pypi_0    pypi
pytz                      2023.3                   pypi_0    pypi
readline                  8.2                  h1a28f6b_0  
referencing               0.30.0                   pypi_0    pypi
requests                  2.31.0                   pypi_0    pypi
rpds-py                   0.9.2                    pypi_0    pypi
scikit-learn              1.3.0                    pypi_0    pypi
scipy                     1.10.1                   pypi_0    pypi
setuptools                67.8.0           py38hca03da5_0  
signatory                 1.2.7                    pypi_0    pypi
simplejson                3.17.2                   pypi_0    pypi
six                       1.16.0                   pypi_0    pypi
sqlite                    3.41.2               h80987f9_0  
threadpoolctl             3.2.0                    pypi_0    pypi
tk                        8.6.12               hb8d0fd4_0  
toml                      0.10.2                   pypi_0    pypi
tomli                     2.0.1                    pypi_0    pypi
torch                     1.9.0                    pypi_0    pypi
torchaudio                0.9.0                    pypi_0    pypi
torchdiffeq               0.2.3                    pypi_0    pypi
torchsde                  0.2.5                    pypi_0    pypi
torchvision               0.10.0                   pypi_0    pypi
tqdm                      4.49.0                   pypi_0    pypi
trampoline                0.1.2                    pypi_0    pypi
typing-extensions         4.7.1                    pypi_0    pypi
tzdata                    2023.3                   pypi_0    pypi
urllib3                   2.0.4                    pypi_0    pypi
wfdb                      3.2.0                    pypi_0    pypi
wheel                     0.38.4           py38hca03da5_0  
xz                        5.2.10               h80987f9_1  
zipp                      3.16.2                   pypi_0    pypi
zlib                      1.2.13               h5a0b063_0  

Yeah I am getting problems here too, probably not much can be done here. Do you perhaps know of libraries that only go as far as numpy/numba for the calculation of the integrals?