Pytest to .exe conversion

Closed Posted 1 year ago Paid on delivery
Closed Paid on delivery

I am trying to convert my pytest scripts to .exe but I am seeing the following err

Traceback (most recent call last):

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 1348, in parse

self._preparse(args, addopts=addopts)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 1251, in _preparse

early_config=self, args=args, parser=self._parser

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 265, in __call__

return self._hookexec([login to view URL], self.get_hookimpls(), kwargs, firstresult)

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 80, in _hookexec

return self._inner_hookexec(hook_name, methods, kwargs, firstresult)

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 60, in _multicall

return outcome.get_result()

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 60, in get_result

raise ex[1].with_traceback(ex[2])

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 39, in _multicall

res = [login to view URL](*args)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 1128, in pytest_load_initial_conftests

early_config.known_args_namespace, rootpath=[login to view URL]

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 560, in _set_initial_conftests

self._try_load_conftest(current, [login to view URL], rootpath)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 574, in _try_load_conftest

self._getconftestmodules(anchor, importmode, rootpath)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 603, in _getconftestmodules

mod = self._importconftest(conftestpath, importmode, rootpath)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 651, in _importconftest

self.consider_conftest(mod)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 732, in consider_conftest

[login to view URL](conftestmodule, name=conftestmodule.__file__)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 489, in register

ret: Optional[str] = super().register(plugin, name)

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 115, in register

hook._maybe_apply_history(hookimpl)

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 300, in _maybe_apply_history

res = self._hookexec([login to view URL], [method], kwargs, False)

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 80, in _hookexec

return self._inner_hookexec(hook_name, methods, kwargs, firstresult)

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 60, in _multicall

return outcome.get_result()

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 60, in get_result

raise ex[1].with_traceback(ex[2])

File "c:\python374\lib\site-packages\pluggy\[login to view URL]", line 39, in _multicall

res = [login to view URL](*args)

File "C:\Users\DabbaraB\Documents\BhavyaHP\hp-telemetry-system-test-automation\dist\test_telemetry_system\[login to view URL]", line 2, in pytest_addoption

[login to view URL]('--pragma_key', action='store', required=True)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 104, in addoption

[login to view URL](*opts, **attrs)

File "c:\python374\lib\site-packages\_pytest\config\[login to view URL]", line 385, in addoption

raise ValueError("option names %s already added" % conflict)

ValueError: option names {'--pragma_key'} already added

C# Programming C++ Programming Software Architecture Python Test Automation

Project ID: #36136762

About the project

19 proposals Remote project Active 11 mos ago

19 freelancers are bidding on average $122 for this job

gangabass

I can show you how to convert your pytest files to *.exe using PyInstaller. I can complete it in less than a day for just $100. Could you show your source code? Roman

$100 USD in 1 day
(621 Reviews)
7.9
Lightcanon

Hello. I've been using Pyinstaller in my projects I work on for a long time and I can nearly spot the problem. May you show me the spec file (or the arguments used) with Pyinstaller (and if u added hidden imports?). I' More

$120 USD in 1 day
(193 Reviews)
7.5
gogora

Hi This error occurs in pytest when you try to register an option that has already been added. In pytest, you can add custom command line options using the pytest_addoption hook function. However, each option should h More

$80 USD in 7 days
(26 Reviews)
6.5
theatasolution1

Dear [Client], I am writing to propose a Python project that I believe will meet your needs and exceed your expectations. The project will involve developing [brief description of the project, e.g. a web scraping tool More

$100 USD in 2 days
(72 Reviews)
5.5
michealperfect

Hello Bhavya Sai D., We would like to grab this opportunity and will work till you get 100% satisfied with our work. We are an expert team which have many years of experience on Python, C# Programming, Software Archi More

$140 USD in 7 days
(13 Reviews)
5.0
usmanabbasi360

Hi, can you send me the source code so that I can debug it in my system ? do not award me the project until you get your requirements . Kind regards, Usman

$30 USD in 2 days
(7 Reviews)
4.0
robartint

Hello I am a professional python developer. My main specializations are automation, web scrapers and bots development. I have already developed over 200 scrapers. From the simplest (for example, a competitor's price More

$30 USD in 7 days
(10 Reviews)
4.1
johnmichael2033

I am John and I am a Microsoft® Certified Ethical Hacker with over 15 years of experience in the IT industry. I have worked on projects that involve penetration testing, web application security, wireless network secur More

$210 USD in 7 days
(1 Review)
3.4
KimNguyenThien23

Dear client. I have read your requirements and so motivated to work on your project as a senior developer. My major is C/C++/C#/Python/.Net development and I have full experience over 8 years. Honestly, I have finished More

$100 USD in 2 days
(6 Reviews)
3.6
huntjvanderburg

I am a skilled Python developer with expertise in software architecture and test automation. I understand that you are facing an issue while converting your pytest scripts to .exe format. I can help you with this task More

$140 USD in 3 days
(2 Reviews)
3.0
salmanmalik2015

Hi there, I am a practicing Engineer and well versed in designing full stack several hardware as well as their family software. I am willing to do this task pertaining to Software Architecture, C# Programming, Python, More

$150 USD in 5 days
(1 Review)
0.9
WhiteHatMinotaur

Hello Bhavya Sai D., I've just seen your interesting proposal. I am delighted to tell you that my qualifications are well matched with your needs and I consider myself worthy enough to get the job. If you want a jo More

$160 USD in 7 days
(0 Reviews)
0.0
alich0001

The error suggests that the option --pragma_key has already been added to the command line arguments parser. This can happen if the option is defined multiple times in the pytest configuration, or if it is defined in b More

$30 USD in 1 day
(0 Reviews)
0.0
Matensy

Hello there! I'm sorry to hear that you're encountering an error while trying to convert your pytest scripts to .exe. I have experience with Python and have worked with .exe conversion before, so I'd be happy to help y More

$140 USD in 7 days
(0 Reviews)
0.0