ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-085740203b77> in <module>
----> 1 import statsmodels.api as sm
ModuleNotFoundError: No module named 'statsmodels'
the signal comes from the notebook server or other parent process
My use case is also notebook, I only trigger interprut via this method, but it is never called when the external process is terminated, this make me curious how the interrupt happens, https://github.com/apache/zeppelin/blob/master/zeppelin-jupyter-interpreter/src/main/resources/grpc/jupyter/kernel_server.py#L144
ipython, but I don't know if it was ever there), I am no longer getting autocomplete upon invoking
tabafter typing something. I have tried installing in a new conda environment and cleaning out anything old that was under
jupyter --path. I am otherwise at a loss as to what to try. Does anyone have any suggestions?
Traceback (most recent call last): File "/home/al/opt/anaconda3/envs/ece590/bin/psi4", line 287, in <module> exec(content) File "<string>", line 80, in <module> NameError: name 'hf_energy' is not defined Printing out the relevant lines from the Psithon --> Python processed input file: print('WARNING: SCF calculation failed.') else: raise finally: --> molecule.hf_energy = hf_energy molecule.nuclear_repulsion = mol.nuclear_repulsion_energy() molecule.canonical_orbitals = numpy.asarray(hf_wavefunction.Ca()) molecule.overlap_integrals = numpy.asarray(hf_wavefunction.S()) molecule.n_orbitals = molecule.canonical_orbitals.shape molecule.n_qubits = 2 * molecule.n_orbitals /home/al/opt/OpenFermion-Psi4/openfermionpsi4/_run_psi4.py:226: Warning: No calculation saved. Psi4 segmentation fault possible. Warning)
breakpoint(). When running in a notebook, the
breakpoint()instruction is ignored - but
set_traceis working. But in a terminal,
breakpoint()will work (but triggers
ipdb). Is there a way to make
breakpoint()worked in notebook?