Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
-1 votes
1 answer
69 views

Step 1: I have a JlinkHandler.py. import os import platform import pylink from pylink import Library def __init__(self): # 获取当前脚本所在目录 base_dir = os.path.dirname(__file__) # 判断 Python 位数 ...
vuuiobo's user avatar
2 votes
1 answer
117 views

I am trying to call a C# logging library from Python. I want to support logging complex Python objects and dictionaries from the C# library. I'm using pythonnet 3.0.5. When I pass the dictionary to ...
Bryce Wagner's user avatar
  • 1,702
0 votes
1 answer
74 views

I'm writing a Python application that uses clr 3.0.3. I'm trying to load a DLL using System.Reflection.Assembly.LoadFrom. My code is basically doing the following: def load_from(dll_paths): for ...
Anton Lahti's user avatar
1 vote
1 answer
39 views

I'm trying to read position and velocity values from 4 Maxon EPOS4 50/5 motor controllers using Python with pythonnet (.NET wrapper). I have them connected via Gateway (RS232 + CAN). While I can ...
user30706632's user avatar
0 votes
1 answer
375 views

I am trying a approach to use the token generated using InteractiveBrowserCredential to connect to Power BI XMLA Endpoint. I was able to connect to the model using pyadomd locally but the same won't ...
Jai R's user avatar
  • 1
0 votes
0 answers
61 views

Trying to add System assembly in a python code: clr.AddReference(assembly_name) where assembly name is Sytem, but in this **AddReference ** is attribute is not found under clr. Also in PythonNet clr ...
REFUIndia's user avatar
1 vote
0 answers
58 views

I'm trying to call my C# library from python like so: import sys import clr dll_path = r"/path/to/dll/folder" sys.path.append(dll_path) clr.AddReference("PyCsLib") # <- ...
tm.crz's user avatar
  • 11
0 votes
1 answer
462 views

I created a NEt web application which does call a python function from C# via pythonnet (v 3.0.5) I can't figureout why it crashes. Any help will be appreciated. private async Task<string> ...
SurenSaluka's user avatar
  • 1,593
0 votes
0 answers
48 views

Crossposting from here I have a class called ModelSetWrapper which wraps model sets from an EfCore DbContext (Jet, specifically) and returns a dictionary containing the model set information. Here's ...
user32882's user avatar
  • 6,117
0 votes
0 answers
79 views

Here is my code: import clr clr.AddReference("PixelPilot.Core") from PixelPilot.Core import * I have already tried renaming the DLL and also trying different names to import it. (EX. ...
Tycho10101's user avatar
0 votes
0 answers
76 views

I'm trying to to load a dll from Python. To be more exact, I have Python 3.9.18 bundled with ArcGIS Pro. Default environemnt doesn't have pythonnet installed and it doesn't allow to install new ...
user1711690's user avatar
0 votes
1 answer
233 views

I am trying to run a python script from a Blazor WebApp using pythonnet. The python script is located in the project but the PyModule.Import call to the script throws an error saying the module can't ...
physics90's user avatar
  • 963
1 vote
1 answer
107 views

I am trying to integrate python into my unity project using the nuget package pythonnet. I set my python lifecycle the same way it was set in this git project: https://github.com/shiena/Unity-...
INTODAN's user avatar
  • 537
3 votes
2 answers
111 views

I’m using pythonnet in Unity to integrate Python. Loading Python modules takes some time on the first run in the release version, which is why I used an asynchronous approach with Task and ...
Micanroules's user avatar
1 vote
1 answer
188 views

I'm trying to run my Python script with LangChain on .NET using PythonNet and Python.Runtime, but I keep encountering an overflow error. Issue: The overflow occurs at different locations depending on ...
Xi Luo's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
43