Hi @Stephen-5002
Welcome to Microsoft Q&A platform and thanks for posting your query here.
In Azure Synapse Notebooks, you can use the command from delta.tables import DeltaTable without installing the delta-spark package.
Installing delta-spark appears to introduce conflicts with the native Delta package in Synapse, which likely causes the ModuleNotFoundError: No module named 'pyspark.errors'. This issue seems specific to how Synapse handles dependencies.
To avoid this error, refrain from installing delta-spark via %pip install. Instead, you can directly use Delta Lake functionality that is natively supported in Synapse, as shown below:
This should work without additional installations in Synapse. Let me know if you encounter further issues or need additional clarification!
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.