Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Install issue #35

Open
GabrielF98 opened this issue Nov 1, 2022 · 2 comments
Open

Install issue #35

GabrielF98 opened this issue Nov 1, 2022 · 2 comments

Comments

@GabrielF98
Copy link

GabrielF98 commented Nov 1, 2022

When trying to install via pip install ois on MacOS 13.0 running Python 3.8.10 the following error is returned:

  Using cached ois-0.2.tar.gz (11 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.6 in ./env/lib/python3.8/site-packages (from ois) (1.23.4)
Requirement already satisfied: scipy>=0.16 in ./env/lib/python3.8/site-packages (from ois) (1.9.3)
Installing collected packages: ois
  DEPRECATION: ois is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for ois ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for ois did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      running install
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-x86_64-3.8
      copying ois.py -> build/lib.macosx-10.9-x86_64-3.8
      running build_ext
      building 'varconv' extension
      creating build/temp.macosx-10.9-x86_64-3.8
      creating build/temp.macosx-10.9-x86_64-3.8/src
      gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/anaconda3/include -arch x86_64 -I/opt/anaconda3/include -arch x86_64 -Isrc -I/Users/gabriel/Documents/GRB-SNe/GRBSNToolkit/env/lib/python3.8/site-packages/numpy/core/include -I/Users/gabriel/Documents/GRB-SNe/GRBSNToolkit/env/include -I/opt/anaconda3/include/python3.8 -c src/varconv.c -o build/temp.macosx-10.9-x86_64-3.8/src/varconv.o -std=c99
      xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
      error: command 'gcc' failed with exit status 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.
╰─> ois

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
@martinberoiz
Copy link
Member

Hi,

Thanks for noticing the issue. I have this project kinda abandonware at this point to be honest. I still accept pull requests, though.

I will keep this open so that I can address it in the future, but unfortunately I can't make it a priority.

@GabrielF98
Copy link
Author

GabrielF98 commented Nov 2, 2022 via email

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

No branches or pull requests

2 participants