Cpython3 does not work anymore

  1. Node Name: Python Script Package: Core.Scripting Dynamo Version: 2.18.1.5096 Host: Dynamo Revit Messages: PythonEvaluator.Evaluate operation failed. Unable to load DLL ‘python39’: The specified module could not be found. (Exception from HRESULT: 0x8007007E) State: Warning

Hi,

you probably have a conflict with another software or addin that uses PythonNet (or Python)

Try the same version in DynamoSandBox (out of Revit context) to see if you have the same problem.

You can also try this

A word of caution: that solution will likely work wonders for one user, but may be more trouble than it is worth for shared libraries as it will inevitably have significant deployment issues.

2 Likes

I do not care about anything anymore, but let you know if fixed by renaming this folder which was created as backup before installing packages of python on it

yes reinstalled revit and also installed dynamo sandbox and same it seems depends all on that folder C:\Users\USER\AppData\Local\python-3.8.3-embed-amd64, basically I was installing python packages, ome that required virtual environment…poetry, and ruined that folder, so I restored that folder as it was before installing them, and stupidly problem solved, this is me… trying to use cpython3 in Dynamo first time ever :grimacing:

1 Like