Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Unable to import crl with python 3.8.1 - 64bit #1978

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

Closed
Yuangang0101 opened this issue Oct 19, 2022 · 1 comment
Closed

Unable to import crl with python 3.8.1 - 64bit #1978

Yuangang0101 opened this issue Oct 19, 2022 · 1 comment

Comments

@Yuangang0101
Copy link

Environment

  • Pythonnet version: pythonnet 3.0.0.post1
  • Python version:3.8.1 64 bit
  • Operating System: Windows 11 64bit
  • .NET Runtime:

Details

import clr

Traceback (most recent call last):
File "d:\code\lightbox_SMU\Lightbox_oct_13.py", line 3, in
import clr
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38\lib\site-packages\clr.py", line 6, in
load()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38\lib\site-packages\pythonnet_init_.py", line 143, in load
if func(b"") != 0:
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38\lib\site-packages\clr_loader\types.py", line 64, in call
return self._callable(ffi.cast("void*", buf_arr), len(buf_arr))
RuntimeError: cannot call null pointer pointer from cdata 'int(*)(void *, int)'

  • Describe what you were trying to get done.

clr can't support Python 3.8 64bit?
I had tried times still can't work, how can i address this issue。。
According to #1617
I changed Python version from Python 3.10 to Python 3.8, Still not work.

@Yuangang0101
Copy link
Author

.NET Runtime: 6.0.402

@pythonnet pythonnet locked and limited conversation to collaborators Oct 19, 2022
@filmor filmor converted this issue into discussion #1979 Oct 19, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant