-
Notifications
You must be signed in to change notification settings - Fork 747
Cythonized python.net code cannot find system assemblies #941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'd guess that cython handles |
Could the functionality that drives the import override be provided via a named function that can be called? For example, Or possibly using the return value of |
It could and it should, good idea. |
Dear all, is there any news on this subject? thanks, |
Hi sir, could you kindly show me examples of how to retrieve/use the method/function out of ModuleObject, cause I kept attribute error out of it, appreciate it alot. Like how to invoke Byte, Array out of System, thank you very much in advanced. |
Good idea. Is this feature available? Do you know where in the source code of |
Dup of my SO question https://stackoverflow.com/questions/57493309/cythonized-python-net-code-cannot-find-system-assemblies
When I compile the python code which uses python.net to access .Net assemblies, it can't find those assemblies. Without compilation it works ok.
For demo code, I used https://github.com/pythonnet/pythonnet/blob/master/demo/helloform.py
My setup.py file
Then I build it with python setup.py build_ext --inplace.
I wanted to load compiled module from Python prompt with import helloform but it failed with
The text was updated successfully, but these errors were encountered: