PythonNet installed manually on windows enterprise
Dear PythonNet Team, I am an empolyee at a company using windows entersprise 1909, and We are currently working on a python project for to help automate some things that needs a few .NET functions to be able to push items into an SQL database. That is why we are chose pythonnet. My problem is the following: I think The IDEEs (VS code and Pycharm) We are using cannot „see” the imported pythonnet libraries. I think the installation of the pythonnet module is the main source of this inconvinience. We cannot install python modules automatically with pip because of the company firewall proxy settings, we have to use a manual method: downloading the pythonnet.whl, and install it with the following command in cmd.exe: pip install python_module.whl -f ./ --no-index --no-deps. For example we import clr module and use the following lines: clr.AddReference('System') clr.AddReference('System.Data') from System.Data.SqlClient import * But the enviroment shows error on this: Unresolved reference System, and i cannot run the program. I tried to use a different method by using cmd.exe to run it, but the result is the same. How can i import System module manually with .whl, or .gz? I could not find it on pypi website. I hope You can help us! I see forward to Your answer! Yours sincerely, Pál Juhász
participants (1)
-
jupal1998@gmail.com