Hi,
I’m working on a Python script that uses NetworkX, and I’m encountering an intermittent error:
Error running script: [WinError 206] The filename or extension is too long: 'C:\\Users\\omar\\.rhinocode\\py39-rh8\\site-envs\\default-qVAuLltc\\numpy.libs' [1111:1]
The code works most of the time, but occasionally this error appears. When it does, I have to close Rhino and reopen it for the script to run normally again.
The error is triggered when the code attempts to call the nx.simple_cycles() function.
Can anyone explain why this might be happening and how I can fix it to ensure consistent behavior?
Thanks!
2 posts - 2 participants