I'm coding Python in Visual Studio 2015 which has worked great for the past few days, however this morning I decided to move the solution and directory to a GitHub-monitored directory on my Windows machine. Ever since I moved the solution and run it in debug mode, it throws this message:
un(shallow)copyable object of type
<type 'element'>
I'm completely stumped because there's no class named cElementTree.py in my project; it's actually here:
C:\Program Files (x86)\Python\2_7_11\Lib\xml\etree
I can run the code in the original location just fine, so something was messed up in transit. I've copied it multiple times and it keeps throwing that exception. How can I resolve that error?
Try the "continue" option in the menu bar. It should run just fine, even if the location of the file has been changed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With