1

I am trying use Beeware to package my python prjocet, but when I am trying to use "briefcase dev" command, It raise this error. I found that it need to use pythonnet and clr, and when it call "from pythonnet import load", and raised error when running this line, "_LOADER_ASSEMBLY: Optional[clr_loader.wrappers.Assembly] = None". Because clr_loader do not have wrappers, and I also can't find the discription of clr.wrapper. What's wrong with these modules? All of them are in the newest version(clr_loader =0.1.7)

1 Answer 1

0

I just installed a clean venv with python 3.10 about an hour ago and ran into the exact same issue.

Upgrading pythonnet to pre-release version 3.0.0rc5 (version 3.0.0rc6 was just released 2 days ago but I did not try that) fixed this issue for my environment. I originally installed version 3.0.0rc2 which installed clr_loader 0.2.3.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.