FS#66452 - [jupyter-notebook] fail to find libffi.so.6

Attached to Project: Community Packages
Opened by Dan Lykov (danlkv) - Tuesday, 28 April 2020, 17:58 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 28 April 2020, 18:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After full system upgrade, launching jupyter notebook results in crash.

Additional info:
* jupyter-notebook-6.0.3-1
* Linux archlinux 5.6.7-arch1-1 #1 SMP PREEMPT Thu, 23 Apr 2020 09:13:56 +0000 x86_64 GNU/Linux
* Python 3.8.2

Traceback (most recent call last):
File "/home/dali/.local/bin/jupyter-notebook", line 5, in <module>
from notebook.notebookapp import main
File "/home/dali/.local/lib/python3.7/site-packages/notebook/notebookapp.py", line 49, in <module>
from zmq.eventloop import ioloop
File "/home/dali/.local/lib/python3.7/site-packages/zmq/__init__.py", line 42, in <module>
_load_libzmq()
File "/home/dali/.local/lib/python3.7/site-packages/zmq/__init__.py", line 9, in _load_libzmq
import sys, ctypes, platform, os
File "/usr/local/lib/python3.7/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: cannot open shared object file: No such file or directory

Steps to reproduce:

1. sudo pacman -Syu
2. jupyter notebook

Workaround:

1. sudo pacman -R jupyter python-ipywidgets jupyter-nbconvert jupyter-notebook jupyter-widgetsnbextension
2. pip install jupyter
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 28 April 2020, 18:49 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Stuff in /usr/local is not manager by Arch
Comment by Dan Lykov (danlkv) - Tuesday, 28 April 2020, 18:16 GMT
Now, if after installing jupyter with pip, then uninstalling with pip again, I install jupyter back with `sudo pacman -S jupyter-notebook` the isssue dissapears.

Loading...