MrMino / dockernel

Dockerized Jupyter kernels
MIT License
56 stars 15 forks source link

Can't install #27

Open mike-egg123 opened 2 years ago

mike-egg123 commented 2 years ago

I have a problem that:

Traceback (most recent call last):
  File "/data/yyf-qrn/conda/envs/qrn/bin/dockernel", line 8, in <module>
    sys.exit(main())
  File "/data/yyf-qrn/conda/envs/qrn/lib/python3.8/site-packages/dockernel/__main__.py", line 6, in main
    return run(sys.argv)
  File "/data/yyf-qrn/conda/envs/qrn/lib/python3.8/site-packages/dockernel/app.py", line 7, in run
    return run_subcommand(parsed_args)
  File "/data/yyf-qrn/conda/envs/qrn/lib/python3.8/site-packages/dockernel/cli/main.py", line 23, in run_subcommand
    return parsed_args.func(parsed_args)
  File "/data/yyf-qrn/conda/envs/qrn/lib/python3.8/site-packages/dockernel/cli/install.py", line 77, in install
    install_kernelspec(location, kernelspec)
  File "/data/yyf-qrn/conda/envs/qrn/lib/python3.8/site-packages/dockernel/kernelspec.py", line 163, in install_kernelspec
    raise ValueError(f"kernelspec already exists: {kernelspec_dir}.")
ValueError: kernelspec already exists: /home/jupyter-yyf-qrn/.local/share/jupyter/kernels.

Could you tell me how to solve it?

MrMino commented 2 years ago

Please show the command that you were using. I think you somehow omitted the location argument, but I'm not sure how.