I’m installing penny-lane-qchem in a win10 box and am getting a error due to the install script looking for a LINUX type system variable: LD_LIBRARY_PATH.
If there is a fix for this - I’d be grateful.
Here is the relevant part of the error msg:
Collecting pyscf
Using cached https://files.pythonhosted.org/packages/03/d8/9b87b601517bc51825ef55433b6404805b1d906ebea7a6d38e6f7a0
ERROR: Command errored out with exit status 1:
command: ‘c:\users\versaggi\qcousins\scripts\python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"
:\Users\versaggi\AppData\Local\Temp\pip-install-nfsspi4r\pyscf\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"
ile__, ‘"’"‘exec’"’"’))’ egg_info --egg-base 'C:\Users\versaggi\AppData\Local\Temp\pip-install-nfsspi4r\pyscf\pip-eg
cwd: C:\Users\versaggi\AppData\Local\Temp\pip-install-nfsspi4r\pyscf
Complete output (9 lines):
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\versaggi\AppData\Local\Temp\pip-install-nfsspi4r\pyscf\setup.py”, line 207, in
for x in blas_libraries]
File “C:\Users\versaggi\AppData\Local\Temp\pip-install-nfsspi4r\pyscf\setup.py”, line 207, in
for x in blas_libraries]
File “C:\Users\versaggi\AppData\Local\Temp\pip-install-nfsspi4r\pyscf\setup.py”, line 148, in search_lib_path
paths = os.environ.get(LD_LIBRARY_PATH, ‘’).split(os.pathsep)
NameError: name ‘LD_LIBRARY_PATH’ is not defined
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Hello, sorry if it is a wrong place to ask, but I got similar error with try to install pennylane-qiskit on Windows 8.1. I successfully install after that pennylane-qiskit in VirtualBox with Linux, but it may be not very convenient sometimes. Does it possible and reasonable to suppress installing pyscf with qiskit plugin to have possibility work with qiskit plugin on Windows as well?
@qubeat, this is now fixed and you can install the latest version of pennylane-qiskit using: pip uninstall pennylane-qiskit -y pip install git+https://github.com/PennyLaneAI/pennylane-qiskit#egg=pennylane-qiskit