You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I develop python within visual studio and I make use of the 64bit python interpreter because it crashes less in visual studio. How can I make junit-xml available in 64bit python environment.
Thanks
Mudasir
The text was updated successfully, but these errors were encountered:
Hi, let me elaborate.
I managed to resolve the issue but I will give some background and the solution.
My development IDE is Visual Studio. I have python 2.7.13 32bit installed on my C Drive. I have visual studio plugin for Python Language Integration. I am not sure of this but I think this plugin also installs the 64bit version of Python. Or I might have installed the 64bit version of python27 myself.
When I create a python project within visual studio, it detects both versions of python and organises them in these things called Environment. So if I have IronPython installed then that would also be picked up as an environment. In visual studio I can switch the different Environments and run the same python source files.
I installed JunitXml using
pip install junit-xml in commandline
But when I switched to Python64 environment then on import JunitXml the interpreter returned an error as an unknown package.
Here is the fix:
To have python 64bit in visual studio recognise junit-xml, you need to install it within visual studio. In devStudio, right click on the 64bit python environment and select Install python package.-> easy install and type in junit.xml and run as administrator
Please note in other packages I have pipped in commandline have installed the package for both 32bit and 64bit python.
Any how my issue has been resolved.
The only reason for me using 64bit python is that it crashes less in Visual Studio on simple functions like print, etc.
Hi
I develop python within visual studio and I make use of the 64bit python interpreter because it crashes less in visual studio. How can I make junit-xml available in 64bit python environment.
Thanks
Mudasir
The text was updated successfully, but these errors were encountered: