PostgreSQL server brew install postgresql bin/bash -c "$(curl -fsSL )" Step 2: Install the latest Postgresql server. Visit to follow the step-by-step instructions, or copy and paste the following command into your terminal (iTerm 2 you just installed). Homebrew is a great package manager that makes it easy to install and uninstall software (especially for open-source tools) Ready to streamline your Postgres setup? Let's dive in. My approach ensures Postgres not only installs smoothly but also runs exceptionally fast on your local machine. I'll also show you how to upgrade seamlessly to the latest Postgres version and modify the default nf for optimal performance. Moreover, system upgrades can disrupt your Postgres environment, turning what should be a simple update into a daunting task.ĭrawing from my experience, this article will guide you through a more efficient installation process for your Postgres server on Apple Silicon Macs. dmg file, but I've found this path often involves cumbersome steps, like setting up a unique user account. The official route suggests using the Postgres.app with its. While there are multiple methods to install Postgres on Macs with Apple Silicon, including the M1, M2, and the newest M3 CPUs, the journey isn't always straightforward. It would be great if you could tell me how to rectify this issue as i have started facing this when im trying to install pillow in my laptop.ĮRROR: Command errored out with exit status 1:Ĭommand: /Library/Frameworks/amework/Versions/3.8/bin/python3.8 -c 'import sys, setuptools, tokenize sys.argv = '"'"'/private/tmp/pip-install-u圆_oy_f/psycopg2/setup.py'"'"' _file_='"'"'/private/tmp/pip-install-u圆_oy_f/psycopg2/setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)(_file_) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' egg_info -egg-base /private/tmp/pip-pip-egg-info-gt2l5rrlĬwd: /private/tmp/pip-install-u圆_oy_f/psycopg2/įile "/private/tmp/pip-install-u圆_oy_f/psycopg2/setup.py", line 238ĮRROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.Introduction: PostgreSQL, commonly known as Postgres, has emerged as a top choice for relational database management in recent years. Pkg_resources.DistributionNotFound: The 'psycopg2>=2.2' distribution was not found and is required by odooįile "/Library/Frameworks/amework/Versions/3.8/bin/odoo", line 4, in įile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/_init_.py", line 3251, in įile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/_init_.py", line 3234, in _call_asideįile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/_init_.py", line 3263, in _initialize_master_working_setįile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/_init_.py", line 583, in _build_masterįile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/_init_.py", line 900, in requireįile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/_init_.py", line 786, in resolve Raise DistributionNotFound(req, requirers) Needed = self.resolve(parse_requirements(requirements))įile "/Users/reehan/Odoo14/lib/python3.8/site-packages/pkg_resources/_init_.py", line 770, in resolve _import_('pkg_resources').run_script('odoo=14.0.post20201103', 'odoo')įile "/Users/reehan/Odoo14/lib/python3.8/site-packages/pkg_resources/_init_.py", line 3239, in įile "/Users/reehan/Odoo14/lib/python3.8/site-packages/pkg_resources/_init_.py", line 3222, in _call_asideįile "/Users/reehan/Odoo14/lib/python3.8/site-packages/pkg_resources/_init_.py", line 3251, in _initialize_master_working_setįile "/Users/reehan/Odoo14/lib/python3.8/site-packages/pkg_resources/_init_.py", line 567, in _build_masterįile "/Users/reehan/Odoo14/lib/python3.8/site-packages/pkg_resources/_init_.py", line 884, in require File "/Users/reehan/Odoo14/bin/odoo", line 4, in
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |