jupyterlite / jupyterlite/pyodide-kernel

npm run build:py error on Mac

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
90
Forks
47
Avg merge
3d 13h
Merged PRs (30d)
11

Description

## Description

![image](https://github.com/jupyterlite/pyodide-kernel/assets/11473889/43b17201-93f2-4b65-8981-1784114ee126)

## Reproduce

1. Git clone this repo
2. npm run bootstrap
3. npm run build

## Expected behavior

## Context

- JupyterLite version: Version 0.1.2
- Operating System and version: Mac 12.2.1 (21D62)
- Browser and version: Chrome 115.0.5790.170

Browser Output

➜  pyodide-kernel git:(main) ✗ npm run build:py

> @jupyterlite/pyodide-kernel@0.1.1 build:py
> python scripts/generate-wheels-js.py

File "scripts/generate-wheels-js.py", line 16
or shutil.which(f"{cmd}.exe")
^
SyntaxError: invalid syntax
npm ERR! Lifecycle script `build:py` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: @jupyterlite/pyodide-kernel@0.1.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.