ipybind
ipybind copied to clipboard
AttributeError: module 'distutils.spawn' has no attribute '_nt_quote_args'
I successfully installed ipybind with pip from git
pip install git+https://github.com/aldanor/ipybind.git
...
Successfully installed ipybind-0.1.0
and am trying to use this in a jupyter notebook where i have a
%load_ext ipybind
in one cell and a
%%pybind11 -v
in another but whatever i'm trying i always get a long traceback with a
C:\prog\Python39\lib\site-packages\ipybind\spawn.py in spawn(cmd, search_path, verbose, dry_run)
43 return
44 if log_commands:
---> 45 distutils.log.info(' '.join(distutils.spawn._nt_quote_args(list(cmd))))
46 try:
47 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
AttributeError: module 'distutils.spawn' has no attribute '_nt_quote_args'
at the end from the cell with the %%pybind11. Is this a known issue?
Here are the version infos:
D:\dev>python --version
Python 3.9.1
D:\dev>jupyter --version
jupyter core : 4.7.1
jupyter-notebook : 6.2.0
qtconsole : 5.0.2
ipython : 7.20.0
ipykernel : 5.4.3
jupyter client : 6.1.11
jupyter lab : 3.0.7
nbconvert : 6.0.7
ipywidgets : 7.6.3
nbformat : 5.1.2
traitlets : 5.0.5
Try to upgrade setuptools to the newest version.