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

Install on Mac OS 14.5 M2 Max #196

Open
JohnHolway opened this issue Oct 3, 2024 · 2 comments
Open

Install on Mac OS 14.5 M2 Max #196

JohnHolway opened this issue Oct 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@JohnHolway
Copy link

Hi! Hoping someone can guide me correctly here....

I receive the following errors when installing on my machine, a Mac OS 14.5 with the M2 Max Chip
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
Partial import of sklearn during the build process.

And this error:
from distutils.msvccompiler import get_build_version as get_build_msvc_version
ModuleNotFoundError: No module named 'distutils.msvccompiler'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

And ya know what, I've gone ahead and attached the txt of the entire terminal window...
241003HolwayTerminalSavedOutputStorytoolkitAI_v01.txt

@JohnHolway JohnHolway added the bug Something isn't working label Oct 3, 2024
@JohnHolway
Copy link
Author

interesting, gemini told me this when I asked about the msvc compiler: "Microsoft Visual Studio for Mac is no longer supported and was retired on August 31, 2024."

@sasoder
Copy link

sasoder commented Oct 5, 2024

I'm getting the exact same error running Pop!_OS 22.04 on my Razer Blade 15” Base (2021), haven't managed to install the tool yet.

Edit: managed to get it running with this req.txt file:

aiohappyeyeballs==2.4.3
aiohttp==3.10.9
aiosignal==1.3.1
alembic==1.13.3
annotated-types==0.7.0
antlr4-python3-runtime==4.9.3
anyio==4.6.0
asteroid-filterbanks==0.4.0
async-timeout==4.0.3
attrs==24.2.0
audioread==3.0.1
blis==1.0.1
catalogue==2.0.10
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.3.2
click==8.1.7
clip @ git+https://github.com/openai/CLIP.git@a9b1bf5920416aaeaec965c25dd9e8f98c864f16
cloudpathlib==0.19.0
colorlog==6.8.2
confection==0.1.5
contourpy==1.3.0
customtkinter @ git+https://github.com/octimot/CustomTkinter.git@a2a8c37dd8dac1dee30133476596a5128adb0530
cycler==0.12.1
cymem==2.0.8
darkdetect==0.8.0
decorator==4.4.2
distro==1.9.0
docopt==0.6.2
einops==0.8.0
exceptiongroup==1.2.2
ffmpeg-python==0.2.0
filelock==3.16.1
fonttools==4.54.1
frozenlist==1.4.1
fsspec==2024.9.0
ftfy==6.2.3
future==1.0.0
greenlet==3.1.1
h11==0.14.0
httpcore==1.0.6
httpx==0.27.2
huggingface-hub==0.25.1
HyperPyYAML==1.2.2
idna==3.10
imageio==2.35.1
imageio-ffmpeg==0.5.1
iniconfig==2.0.0
Jinja2==3.1.4
jiter==0.5.0
joblib==1.4.2
julius==0.2.7
kiwisolver==1.4.7
langcodes==3.4.1
langdetect==1.0.7
language_data==1.2.0
lazy_loader==0.4
librosa==0.10.2.post1
lightning==2.4.0
lightning-utilities==0.11.7
llvmlite==0.43.0
Mako==1.3.5
marisa-trie==1.2.0
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.9.2
mdurl==0.1.2
more-itertools==10.5.0
moviepy==1.0.3
mpmath==1.3.0
msgpack==1.1.0
multidict==6.1.0
murmurhash==1.0.10
networkx==3.3
numba==0.60.0
numpy==1.26.4
nvidia-cublas-cu12==12.1.3.1
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==9.1.0.70
nvidia-cufft-cu12==11.0.2.54
nvidia-curand-cu12==10.3.2.106
nvidia-cusolver-cu12==11.4.5.107
nvidia-cusparse-cu12==12.1.0.106
nvidia-nccl-cu12==2.20.5
nvidia-nvjitlink-cu12==12.6.77
nvidia-nvtx-cu12==12.1.105
omegaconf==2.3.0
openai==1.51.0
openai-whisper @ git+https://github.com/openai/whisper.git@ba3f3cd54b0e5b8ce1ab3de13e32122d0d5f98ab
opencv-python==4.10.0.84
optuna==4.0.0
packaging==24.1
pandas==2.2.3
patchify==0.2.3
pillow==10.4.0
platformdirs==4.3.6
pluggy==1.5.0
pooch==1.8.2
preshed==3.0.9
primePy==1.3
proglog==0.1.10
protobuf==5.28.2
pyannote.audio==3.3.0
pyannote.core==5.0.0
pyannote.database==5.1.0
pyannote.metrics==3.2.1
pyannote.pipeline==3.0.1
pycparser==2.22
pydantic==1.10.8
pydantic_core==2.23.4
Pygments==2.18.0
pyparsing==3.1.4
pytest==8.3.3
python-dateutil==2.9.0.post0
pytorch-lightning==2.4.0
pytorch-metric-learning==2.6.0
pytz==2024.2
PyYAML==6.0.2
regex==2024.9.11
requests==2.32.3
resampy==0.4.3
rich==13.9.2
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
safetensors==0.4.5
scikit-image==0.24.0
scikit-learn==1.5.2
scipy==1.14.1
semver==3.0.2
sentence-transformers==3.1.1
sentencepiece==0.2.0
shellingham==1.5.4
six==1.16.0
smart-open==7.0.5
sniffio==1.3.1
sortedcontainers==2.4.0
soundfile==0.12.1
soxr==0.5.0.post1
spacy==3.8.2
spacy-langdetect==0.1.2
spacy-legacy==3.0.12
spacy-loggers==1.0.5
speechbrain==0.5.16
SQLAlchemy==2.0.35
srsly==2.4.8
sympy==1.13.3
tabulate==0.9.0
tensorboardX==2.6.2.2
thinc==8.3.2
threadpoolctl==3.5.0
tifffile==2024.9.20
tiktoken==0.8.0
timecode==1.4.1
tokenizers==0.20.0
tomli==2.0.2
torch==2.4.1
torch-audiomentations==0.11.1
torch_pitch_shift==1.2.5
torchaudio==2.4.1
torchmetrics==1.4.2
torchvision==0.19.1
tqdm==4.66.5
transformers==4.45.1
triton==3.0.0
typer==0.12.5
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.2.3
wasabi==1.1.3
wcwidth==0.2.13
weasel==0.4.1
wrapt==1.16.0
yarl==1.13.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants