Python And spyder-kernels:spyder-kernels An introduction to the 、 install 、 A detailed introduction to how to use
Catalog
spyder-kernels An introduction to the
spyder-kernels Supply and Science Python development environment Spyder The console is used with Jupyter Kernel package . These kernels can be accessed through Spyder On its own or on its own Python Start in session , And allow Spyder Internally interactive or file based Python Code execution . To learn how to use Spyder Console creation 、 Connect and use these kernels , You can read file .
conda install spyder-kernels
pip install spyder-kernels
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple spyder-kernels
name: Windows tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
windows:
name: Windows Py${
{ matrix.PYTHON_VERSION }}
runs-on: windows-latest
env:
CI: True
PYTHON_VERSION: ${
{ matrix.PYTHON_VERSION }}
RUNNER_OS: 'windows'
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ['3.6', '3.7', '3.8']
steps:
- name: Checkout branch
uses: actions/[email protected]
- name: Install Conda
uses: goanpeca/[email protected]
with:
activate-environment: test
auto-update-conda: true
auto-activate-base: false
python-version: ${
{ matrix.PYTHON_VERSION }}
- name: Install package dependencies
shell: bash -l {0}
run: conda install --file requirements/windows.txt -y -q
- name: Install test dependencies
shell: bash -l {0}
run: conda install --file requirements/tests.txt -y -q
- name: Install Package
shell: bash -l {0}
run: pip install -e .
- name: Show environment information
shell: bash -l {0}
run: |
conda info
conda list
- name: Set correct enconding
shell: bash -l {0}
if: matrix.PYTHON_VERSION == '2.7'
run: echo "::set-env name=PYTHONIOENCODING::cp1252"
- name: Run tests
shell: bash -l {0}
run: pytest spyder_kernels --cov=spyder_kernels -x -vv