You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the local development guide, I'm running into an issue with the yarn create_env_installer:<platform> step, receiving the error: Platform in lockfile 'osx-64' is not compatible with system platform 'osx-arm64'. On further inspection it looks that all the conda-osx-64.lock is downloading all packages for osx-64 currently.
Is there any devs using M1 macs that have a workaround to get conda working for local development?
These issues after installing conda via miniforge3 and all relevant conda dependencies.
yarn create_env_installer:mac
yarn run v1.22.19
warning ../../package.json: No license field
$ yarn clean_env_installer && conda-lock install --prefix ./env_installer/jlab_server ./env_installer/conda-osx-64.lock && conda pack -p ./env_installer/jlab_server -o ./env_installer/jlab_server.tar.gz
warning ../../package.json: No license field
$ rimraf ./env_installer/jlab_server.tar.gz && conda env remove -p ./env_installer/jlab_server -y
Traceback (most recent call last):
File "/Users/winstonzhao/miniforge3/lib/python3.10/site-packages/conda_lock/conda_lock.py", line 1477, in install
do_validate_platform(lockfile_contents)
File "/Users/winstonzhao/miniforge3/lib/python3.10/site-packages/conda_lock/conda_lock.py", line 195, in do_validate_platform
raise PlatformValidationError(
conda_lock.errors.PlatformValidationError: Platform in lockfile 'osx-64' is not compatible with system platform 'osx-arm64'.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/winstonzhao/miniforge3/bin/conda-lock", line 10, in <module>
sys.exit(main())
File "/Users/winstonzhao/miniforge3/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/Users/winstonzhao/miniforge3/lib/python3.10/site-packages/click/core.py", line 1078, in main
Expected behavior
yarn create_env_installer:mac creates the local python installer and local development works.
Context
Operating System and version: MacOS Ventura 13.4.1
JupyterLab-Desktop version: 4.0.6-1
Installer: local development? .dmg
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the terminal inside of JupyterLab Desktop here.
You may want to sanitize the paths in the output.
Browser Output (required for interface issues after loading)
Paste the output from the DevTools JavaScript console here, if applicable.
Logs (required for issues with loading, server and startup)
Paste the logs from the `main.log` file here (optionally also from `renderer.log`).
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
thanks for reporting this @snoolord . since we are not bundling Apple silicon Python environment with the app yet (due to GitHub Actions limitation), we didn't add support in the local dev environment. I will work on the local dev environment support soon to address this problem.
@snoolord we now have full support for Apple silicon on Mac with version 4.0.7-1. For local development you can use the new script yarn create_env_installer:osx-arm64
Description
Following the local development guide, I'm running into an issue with the
yarn create_env_installer:<platform>
step, receiving the error:Platform in lockfile 'osx-64' is not compatible with system platform 'osx-arm64'.
On further inspection it looks that all theconda-osx-64.lock
is downloading all packages for osx-64 currently.Is there any devs using M1 macs that have a workaround to get conda working for local development?
These issues after installing conda via miniforge3 and all relevant conda dependencies.
Reproduce
yarn create_env_installer:mac
stepExpected behavior
yarn create_env_installer:mac creates the local python installer and local development works.
Context
Troubleshoot Output
Browser Output (required for interface issues after loading)
Logs (required for issues with loading, server and startup)
The text was updated successfully, but these errors were encountered: