Closed bilderbuchi closed 4 years ago
shoot, I just realised that this does not come from pyvisa-py, but pyvisa itself. Sorry, can you transfer the issue, please? I also realised this affects pyvisa-shell, too, with the same error.
OK, I just installed pyvisa from pip instead, and there the console tools work, so this seems to be an issue of the conda-forge package. :-/
Thanks. I will have a look at the conda package. Those script are created by setuptools and it requires some tweaking for conda to deal with them properly. I will try to fix the issue this week.
I opened a PR to fix the recipe. It just needs a review to get merged.
Thanks for the quick fix, confirmed fixed.
Running
pyvisa-info
in a powershell terminal on Windows fails withI have confirmed that the pyvisa-info.exe is present where the error message says, but I don't have a Python installation at this D: path.
It seems to me that somehow during packaging a machine-local path for Python slipped into the configuration (I don't even have a D: drive). I could not find out how the pyvisa-info exe is created, it does not seem to use a setup.py console_script entrypoint.
Curiously, this happens with both a pyvisa-py pip installation and an installation from conda-forge. Pyvisa itself is on 1.10.1 from conda-forge.
To Reproduce
Steps to reproduce the behavior:
pyvisa-info