Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.1K
Visualizações
unreadable Jupyter Lab Notebook after upgrading pandas (Capture Validation Error)

I was recently using Jupyter lab and decided to update my pandas version from 1.2 to the latest (1.4). So I ran 'conda update pandas' which seemed to work fine. However when I then launched Jupyter lab in the usual way 'jupyter lab' and tried to open the workbook I had just been working on I got the below error:

Unreadable Notebook: C:\Users...\script.ipynb TypeError("init() got an unexpected keyword argument 'capture_validation_error'")

I am getting this same error when trying to open any of my .ipynb files that were previously working fine. I can also open them fine in jupyter notebook, but for some reason they don't work in Jupyter lab anymore. Any idea how I can fix this?

Thanks

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

It turns out that a recent update to jupyter_server>=1.15.0 broke compatibility with nbformat<5.2.0, but did not update the conda recipe correctly per this Github pull request.

It is possible that while updating pandas, you may have inadvertently also updated jupyterlab and/or jupyter_server.

While we wait for the build with the merged PR to come downstream, we can fix this dependency issue by updating nbformat manually with

conda install -c conda-forge nbformat

to get the newest version of nbformat with version >=5.2.

over 4 years ago · Santiago Trujillo Relatório

0

I had the same issue. I had installed jupyterlab using conda.

conda install -c conda-forge jupyterlab

and I could not open any notebook (old ones as newly created). What fixed my issue was to uninstall jupyterlab and jupyter and then reinstall jupyter lab.

conda remove jupyterlab
conda remove jupyter
conda install -c conda-forge jupyterlab
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda