Mod = importlib.import_module(dotname)įile "/Users/sanjay/.pyenv/versions/3.8.12/lib/python3.8/importlib/_init_.py", line 127, in import_module Return _run(parser(funcdict, **parserkw), argv)įile "/Users/sanjay/venv/src/oq-engine/openquake/baselib/sap.py", line 195, in parserįile "/Users/sanjay/venv/src/oq-engine/openquake/baselib/sap.py", line 174, in pkg2dic Sys.exit(load_entry_point('openquake.engine', 'console_scripts', 'oq')())įile "/Users/sanjay/venv/src/oq-engine/openquake/commands/_main_.py", line 53, in oqįile "/Users/sanjay/venv/src/oq-engine/openquake/baselib/sap.py", line 225, in run Finally, I ran " python3 install.py devel" (or, if you prefer, " /usr/local/bin/python3 install.py devel"), which installed OQ successfully for me.įile "/Users/sanjay/venv/bin/oq", line 33, in.points to Python 3.9 installed with Brew: ( /usr/local/bin/python3 -> Ran " rehash type python3" to ensure that Zsh finds the newly installed /usr/local/bin/python3 when I run python3 (without specifying a full path). " brew install brew unlink brew link -force with this, /usr/local/bin/python3, /usr/local/bin/pip3 etc. Thinking that I may have better luck with Homebrew's Python 3, I ran:.Since the installation did not complete, I cleaned up by running " python3 install.py devel -remove" which deletes the ~/openquake directory (which contained the incomplete install).I tried Apple's system-provided Python 3.8 by running " /usr/bin/python3 install.py devel", but got dyld: Library not loaded: error (same error on macOS 12.2 and 12.3, whether upgraded or freshly installed).uninstalled #3 with " brew uninstall and uninstalled #4 by more-or-less following the instruction at, and eventually removed /usr/local/bin/python3* etc. Initially wanting to try to get it to work with Apple's own bundled Python 3, I uninstalled all other copies of Python 3 on my machine, e.g.Python 3.10.4 from ? /usr/local/bin/python3 happened to be pointing (symlinked) to this.Apple's own system-provided Python 3.8 on macOS Monterey ( /usr/bin/python3).Probably due to previous tests/installations of Python-based tools, I somehow had 4 different versions of Python 3 installed on my machine:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |