-
Notifications
You must be signed in to change notification settings - Fork 751
Unable to import crl with python 3.10 - 32bit #1617
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
If you read the docs you can see that pythonnet is only working for <=Python3.8. |
Well, the master branch (that the pythonnet-3.0 is built from) should support 3.9 and 3.10, but I can't reproduce this particular error. |
Thanks.Β Yes, reading the commits and such it did appear that it would support 3.10.Β Would it matter if it's 32 bit or 64 bit?
|
It could matter in the sense that I don't have a 32bit system to test with, so I can just test a 64bit Windows with a 32bit Python installation, and that doesn't exhibit the problem that you are seeing. |
It could be that this was fixed in pythonnet/clr-loader#15, so |
Still has same problem 32bit Windows 10 |
update .NET and solved. |
could you pls share you address this issue with more details, |
Hi, did you solve the problem? everything is okay while running in pycharm, but after I pack up the script in pyinstaller, I got the error: cannot load library ...\clr_loader\ffi\dlls\amd64\ClrLoader.dll': error 0x7e after I copy the clr_loader folder to the project folder, I got the same error : File "", line 983, in _find_and_load |
I am seeing this issue with pyinstaller on python3.9; @tony950309 were you able to find a workaround? |
I also get the same error after building with pyinstaller: I have no idea what the problem is, since it works on my win11 machine, but won't on another and I did not install any additional .NET dependencies. Is there a workaround? Or do you need more info? I see this issue is closed, but seems to be an ongoing problem. |
The problem seems to be related to an outdated
|
I faced this problem in venv,without venv no problem,and nothing to do with py310 or py311 |
Environment
Pythonnet Version:
Requirement already satisfied: pythonnet in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages\pythonnet-3.0.0.dev1-py3.10.egg (3.0.0.dev1)
Requirement already satisfied: clr_loader in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages\clr_loader-0.1.6-py3.10.egg (from pythonnet) (0.1.6)
Requirement already satisfied: cffi>=1.13 in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages (from clr_loader->pythonnet) (1.15.0)
Requirement already satisfied: pycparser in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages (from cffi>=1.13->clr_loader->pythonnet) (2.21)
v2.0.50727 2.0.50727.4927
v3.0 3.0.30729.4926
Windows Communication Foundation 3.0.4506.4926
Windows Presentation Foundation 3.0.6920.4902
v3.5 3.5.30729.4926
Client 4.8.04084
Full 4.8.04084
Client 4.0.0.0
Details
import clr
gives the following error:
The text was updated successfully, but these errors were encountered: