![](https://secure.gravatar.com/avatar/dd5a7ef1476fb01998a215b1642dfd07.jpg?s=120&d=mm&r=g)
To make PythonNet install formally inside an existing CPython, you are looking to build/acquire it as a module and install that module in your PYTHONPATH or in your site-packages for that CPython. There are a number of ways to do this. depending on what you are downloading or building and where you are deploying.
So I can't just take the pythonnet binaries and put them on PYTHONPATH or in site-packages? I have to build it from source as a module? Either PYTHONPATH or site-packages will work for me; at this point I just want to make it work somehow. I tried with PyDev and can't seem to get it to recognize that System is a valid import. This is for an in-house tool that I need to make as easy as possible to install and use, I just need to write up the install procedure. It uses a data acquisition system which has .NET libraries but nothing for "pure" Python. On Mon, Jul 22, 2013 at 1:43 PM, Bradley Friedman <brad@fie.us> wrote:
To make PythonNet install formally inside an existing CPython, you are looking to build/acquire it as a module and install that module in your PYTHONPATH or in your site-packages for that CPython. There are a number of ways to do this. depending on what you are downloading or building and where you are deploying.
You will likely need to better define your ultimate deployment requirements/needs to figure out how you'd want to approach that issue.
-brad
On Jul 22, 2013, at 2:55 PM, Jason Sachs <jmsachs@gmail.com> wrote:
Hi there--
I've used Python a lot but am new to pythondotnet. I got it running on Windows 7 with no problem, by unzipping the download file, making sure PYTHONPATH and PYTHONHOME were setup properly, and running npython.exe.
How do you get it to run in a debugger? (either PyDev on Eclipse, or Microsoft PTVS)
Also, is there a way to install it "permanently" in an existing Python installation so that it will pickup the pythondotnet bridge when you run the regular "python.exe"?
--Jason _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet
participants (1)
-
Jason Sachs