Files
FYS-STK4155/doc/LectureNotes/_build/html/reports/clustering.log
T
Morten Hjorth-Jensen e9d6ea5784 added slides
2024-11-03 14:40:38 +01:00

62 lines
4.4 KiB
Plaintext

Traceback (most recent call last):
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/jupyter_cache/executors/utils.py", line 51, in single_nb_execution
executenb(
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/nbclient/client.py", line 1204, in execute
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/nbclient/util.py", line 84, in wrapped
return just_run(coro(*args, **kwargs))
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/nbclient/util.py", line 62, in just_run
return loop.run_until_complete(coro)
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/nbclient/client.py", line 663, in async_execute
await self.async_execute_cell(
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/nbclient/client.py", line 965, in async_execute_cell
await self._check_raise_for_error(cell, cell_index, exec_reply)
File "/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/nbclient/client.py", line 862, in _check_raise_for_error
raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
%matplotlib inline
import time
import numpy as np
import tensorflow as tf
from matplotlib import image
import matplotlib.pyplot as plt
from sklearn.cluster import KMeans
from IPython.display import display
np.random.seed(2021)
------------------
---------------------------------------------------------------------------
NotFoundError Traceback (most recent call last)
Cell In[1], line 5
 3 import time
 4 import numpy as np
----> 5 import tensorflow as tf
 6 from matplotlib import image
 7 import matplotlib.pyplot as plt
File ~/miniforge3/envs/myenv/lib/python3.9/site-packages/tensorflow/__init__.py:440
 438 _plugin_dir = _os.path.join(_s, 'tensorflow-plugins')
 439 if _os.path.exists(_plugin_dir):
--> 440 _ll.load_library(_plugin_dir)
 441 # Load Pluggable Device Library
 442 _ll.load_pluggable_device_library(_plugin_dir)
File ~/miniforge3/envs/myenv/lib/python3.9/site-packages/tensorflow/python/framework/load_library.py:151, in load_library(library_location)
 148 kernel_libraries = [library_location]
 150 for lib in kernel_libraries:
--> 151 py_tf.TF_LoadLibrary(lib)
 153 else:
 154 raise OSError(
 155 errno.ENOENT,
 156 'The file or folder to load kernel libraries from does not exist.',
 157 library_location)
NotFoundError: dlopen(/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/tensorflow-plugins/libmetal_plugin.dylib, 0x0006): symbol not found in flat namespace '_TF_GetInputPropertiesList'
NotFoundError: dlopen(/Users/mhjensen/miniforge3/envs/myenv/lib/python3.9/site-packages/tensorflow-plugins/libmetal_plugin.dylib, 0x0006): symbol not found in flat namespace '_TF_GetInputPropertiesList'