Skip to content

Editable mode error for mac installation #8980

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

Closed
jackzhxng opened this issue Mar 5, 2025 · 5 comments
Closed

Editable mode error for mac installation #8980

jackzhxng opened this issue Mar 5, 2025 · 5 comments
Assignees
Labels
module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@jackzhxng
Copy link
Contributor

jackzhxng commented Mar 5, 2025

🐛 Describe the bug

> git submodule update --recursive --init && ./install_executorch.sh --clean && ./install_executorch.sh --editable
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/p_/bvy3h_s57w18gxl7p2sy_p9w0000gn/T/tmp2v1y3wut.build-lib/executorch/data/bin/flatc'

Versions

Collecting environment information...
PyTorch version: 2.7.0.dev20250131
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 15.3.1 (arm64)
GCC version: Could not collect
Clang version: 16.0.0 (clang-1600.0.26.6)
CMake version: version 3.30.0-rc3
Libc version: N/A

Python version: 3.10.0 (default, Mar  3 2022, 03:54:28) [Clang 12.0.0 ] (64-bit runtime)
Python platform: macOS-15.3.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M1 Pro

Versions of relevant libraries:
[pip3] executorch==0.5.0a0+b1f6678
[pip3] flake8==7.1.1
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.21.3
[pip3] torch==2.7.0.dev20250131
[pip3] torchao==0.10.0+git7d879462
[pip3] torchaudio==2.6.0.dev20250131
[pip3] torchsr==1.0.4
[pip3] torchvision==0.22.0.dev20250131
[conda] executorch                0.5.0a0+b1f6678          pypi_0    pypi
[conda] numpy                     1.21.3                   pypi_0    pypi
[conda] torch                     2.7.0.dev20250131          pypi_0    pypi
[conda] torchao                   0.10.0+git7d879462          pypi_0    pypi
[conda] torchaudio                2.6.0.dev20250131          pypi_0    pypi
[conda] torchsr                   1.0.4                    pypi_0    pypi
[conda] torchvision               0.22.0.dev20250131          pypi_0    pypi

cc @larryliu0820 @lucylq

@jackzhxng jackzhxng added the module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch label Mar 5, 2025
@github-project-automation github-project-automation bot moved this to To triage in ExecuTorch Core Mar 5, 2025
@jackzhxng jackzhxng added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Mar 5, 2025
@larryliu0820
Copy link
Contributor

I think this is fixed. @jackzhxng does this repro for you?

@larryliu0820
Copy link
Contributor

#8858

@github-project-automation github-project-automation bot moved this from To triage to Done in ExecuTorch Core Mar 7, 2025
@jackzhxng
Copy link
Contributor Author

@larryliu0820 this was from a fresh master branch yesterday and your PR is from a week ago

@jackzhxng jackzhxng reopened this Mar 7, 2025
@github-project-automation github-project-automation bot moved this from Done to Backlog in ExecuTorch Core Mar 7, 2025
@jackzhxng
Copy link
Contributor Author

I also just repro'd it again after pulling to make sure

@larryliu0820
Copy link
Contributor

@jackzhxng can you past your error log

larryliu0820 added a commit that referenced this issue Mar 7, 2025
Fixes #8980

Make sure we mkdir if destination directory doesn't exist. I have no
idea why it doesn't work before

[ghstack-poisoned]
larryliu0820 added a commit that referenced this issue Mar 7, 2025
Fixes #8980

Make sure we mkdir if destination directory doesn't exist. I have no
idea why it doesn't work before

ghstack-source-id: 2467d1230b90a8c8e4b676b3915675471517f4fd
Pull Request resolved: #9055
larryliu0820 added a commit that referenced this issue Mar 7, 2025
Fixes #8980

Make sure we mkdir if destination directory doesn't exist. I have no
idea why it doesn't work before

cc lucylq

[ghstack-poisoned]
larryliu0820 added a commit that referenced this issue Mar 7, 2025
Fixes #8980

Make sure we mkdir if destination directory doesn't exist. I have no
idea why it doesn't work before

ghstack-source-id: 745e02d5e147f67927a86ccb25a4330e2aceeccd
Pull Request resolved: #9055
larryliu0820 added a commit that referenced this issue Mar 7, 2025
* mkdir when destination directory doesn't exist

Fixes #8980

Make sure we mkdir if destination directory doesn't exist. I have no
idea why it doesn't work before

[ghstack-poisoned]

* Update on "mkdir when destination directory doesn't exist"


Fixes #8980

Make sure we mkdir if destination directory doesn't exist. I have no
idea why it doesn't work before

cc lucylq

[ghstack-poisoned]
@github-project-automation github-project-automation bot moved this from Backlog to Done in ExecuTorch Core Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
Status: Done
Development

No branches or pull requests

2 participants