Issue
Occasionally, users may install a Python package that includes GUI scripts. If they use
python3 -m pip install "git+https://github.com/ISISNeutronMuon/MDANSE@protos#egg=MDANSE_GUI&subdirectory=MDANSE_GUI"
for example, to install a package, the GUI script will look for pythonw3.exe since they used python3. If they do this with virtualenv, then there will be an error because, for some reason, pythonw3.exe is not created by virtualenv.
The current workaround we have found is to use
python -m pip install "git+https://github.com/ISISNeutronMuon/MDANSE@protos#egg=MDANSE_GUI&subdirectory=MDANSE_GUI"
so that the GUI script is created, which will look for pythonw.exe, which is created by virtualenv. See ISISNeutronMuon/MDANSE#1180 for more details.
Provide at least:
- OS: Windows 11
- Shell: powershell
- Python version and path: Python 3.14.3 'C:\Users\username\AppData\Local\Python\pythoncore-3.14-64'
pip list of the host python where virtualenv is installed:
Package Version
------------ -------
distlib 0.4.0
filelock 3.24.3
pip 26.0.1
platformdirs 4.9.2
virtualenv 20.38.0
Issue
Occasionally, users may install a Python package that includes GUI scripts. If they use
for example, to install a package, the GUI script will look for
pythonw3.exesince they usedpython3. If they do this with virtualenv, then there will be an error because, for some reason,pythonw3.exeis not created by virtualenv.The current workaround we have found is to use
so that the GUI script is created, which will look for
pythonw.exe, which is created by virtualenv. See ISISNeutronMuon/MDANSE#1180 for more details.Provide at least:
pip listof the host python wherevirtualenvis installed: