NoneType' object has no attribute 'copy'

I have successfully made my BigQuery integration and data and model definition. But upon run my project I have the following error:

─ layer start
Layer 0.8.7 using https://beta.layer.co
:file_folder: Loading the project under /Users/codebrain/Documents/layer-fraud-detection
‘NoneType’ object has no attribute ‘copy’

Hello Brain,

Please update this post with a GitHub repo of your code so that we can try and reproduce this issue.

Derrick.

This issue has been resolved by me. I believe it is a compatibility issue with Python’s package manager ‘pip’ building wheels for some dependencies of the layer-SDK on my machine (MacBook M1). The solution was installing the layer-sdk in conda environment via conda mini-forge. Thanks for the support.

This issue has been resolved by me. I believe it is a compatibility issue with Python’s package manager ‘pip’ building wheels for some dependencies of the layer-SDK on my machine (MacBook M1). The solution was installing the layer-sdk in conda environment via conda mini-forge. Thanks for the support.

[Discourse post]

Hello Brain, I am glad to hear that your issue was resolved.

I am going to close this issue now.

Should you face any further challenges, don’t hesitate to create a new ticket.

1 Like