pyvisa-info does not start
See original GitHub issueRunning pyvisa-info
in a powershell terminal on Windows fails with
Fatal error in launcher: Unable to create process using '"d:\bld\pyvisa_1584488223356\_h_env\python.exe" "C:\Users\buchner\AppData\Local\Continuum\miniconda3\Scripts\pyvisa-info.exe" ': The system cannot find the file specified.
I 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:
- Install pyvisa-py on Windows with an Anaconda Python installation, either 0.4.0 via pip, or 0.3.1 from conda-forge (tried with both)
- In a terminal/powershell, run
pyvisa-info
- Instead of diagnostic output, the above error appears
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Frequently asked questions — PyVISA 1.8 documentation
No. PyVISA is developed independently of National Instrument as a wrapper for the VISA library. ... Yes, PyVISA is thread safe starting from...
Read more >Miscellaneous questions — PyVISA 1.12.1.dev45+ge01a709 ...
No. PyVISA is developed independently of National Instrument as a wrapper for the ... Yes, PyVISA is thread safe starting from version 1.6....
Read more >Communicating with your instrument - PyVISA - Read the Docs
The information you are looking is usually located close to the beginning of the IO operation section of the manual. If you cannot...
Read more >Installation — PyVISA 1.9.1 documentation
PyVISA is a frontend to the VISA library. It runs on Python 2.7 and 3.4+. You can install it using pip: $ pip...
Read more >Installation — PyVISA-Py 0.5.4.dev57+g3f63d8a documentation
If you do not install any extra library pyvisa-py will only be able to access ... You will get info about PyVISA, the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Thanks for the quick fix, confirmed fixed.