question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation of PySCF - OSError

See original GitHub issue

Hello

I have a problem with the installation of pyscf. I have used pyscf for some time now, and this is the first time I encounter this problem with the installation. My suspicion is that the error came after I upgraded my Mac to Ventura 13.0.

I installed pyscf in my conda environment as pip install pyscf. When I type import pyscf in Python, I receive the error message shown in the attached picture import_pyscf. The error seems to be explained in https://pyscf.org/install.html under OSError …, where it says the error is caused by the incorrect RPATH. To solve the problem, I should cd pyscf/lib and run sh _runme_to_fix_dylib_osx10.11.sh. The problem is I don’t have the _runme_to_fix_dylib_osx10.11.sh file in pyscf/lib? I have attached a picture pyscf_lib showing all the files in the pyscf/lib folder.

I appreciate the help

Best Phillip

pyscf_lib import_pyscf

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jamesETsmithcommented, Nov 14, 2022

@pwkj glad that worked! I’m sorry we weren’t able to fix your original problem, but I’m glad we got things working

1reaction
pwkjcommented, Nov 14, 2022

@jamesETsmith now it works using the pip install git+https://github.com/pyscf/pyscf! I really appreciate the help James. Why pip install pyscf is not working for me is still an unsolved problem, but for now I can run pyscf which is the most important.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation
If you already have installed PySCF via pip, you can upgrade it to the new version ... OSError: dlopen(xxx/pyscf/pyscf/lib/libcgto.dylib, 6): Library not ...
Read more >
Cannot import dmrgscf after installation: OSError: no file ...
Hello. I am trying to install pyscf along with dmrgscf. For the OS, I tried both CentOS 8.3 and 7.9. I use conda...
Read more >
Pyscf install error: failed building wheel - python
I keep getting this error after entering pip install pyscf pi@node0:~ $ pip install pyscf Looking in indexes: https://pypi.org/simple, ...
Read more >
Source code for moldesign.interfaces.pyscf_interface
... OSError) as exc: print 'PySCF not installed; using remote docker ... an MDT molecule to a PySCF "Mole" object""" from pyscf import...
Read more >
How to fix “QiskitChemistryError:PySCF is not installed”
Typically you would need to install it through pip install pyscf , however I believe pyscf does not support Windows.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found