I installed psi4 through conda in linux system and the files, the specific module I wanna import is psi4_wrapper, were saved under anaconda3/lib/python3.8/site-packages.
However, while I was trying to import it in my program, it reports no module named ‘psi4’. I have no idea how to figure this out, and obviously I am using anaconda3 to run program.
Does it mean the PYTHONPATH is set? Plus, if I run
psi4
in terminal, and it reports as:
'str' object is not callable; perhaps you missed a comma?
'str' object is not callable; perhaps you missed a comma?
'str' object is not callable; perhaps you missed a comma?
'str' object is not callable; perhaps you missed a comma?
"is" with a literal. Did you mean "=="?
Traceback (most recent call last):
File "/usr/bin/psi4", line 211, in <module>
raise KeyError("The file %s does not exist." % args["input"])
KeyError: 'The file input.dat does not exist.'
OK, I was totally wrong about the installation. It turns out that I didn’t accomplish the installation since the package conflicts with a list of applications.
The following specifications were found to be incompatible with your system:
The error sounds like you are in the wrong directory.
You really want to compile psi4 yourself? This will get tricky without being experienced in code compilation.
Sure you dont want to try the conda installation once more?
OK Thanks for your assistance, hokru! I just tried to creat a blank environment through anaconda, and used conda installation again to accomplish it, finally.