We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got this error while installing on a fresh macOS: DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
Any ideas ? Complete output below :
➜ curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python Retrieving metadata Installing version: 0.9.1 - Getting dependencies An error has occured: Command '('/usr/local/opt/python@2/bin/python2.7', '-m', 'pip', 'install', 'poetry==0.9.1', '--target', '/var/folders/c6/p3_ghh9x29z_y7p5pwhq5v_m0000gr/T/poetry-installer-JFswdS/dist')' returned non-zero exit status 2 Collecting poetry==0.9.1 Using cached https://files.pythonhosted.org/packages/7d/30/9e801da32a1453f9425061f03acb822fb9ea42f4e5de3f13aacda5564a24/poetry-0.9.1-py2.py3-none-any.whl Collecting typing<4.0.0.0,>=3.6.0.0; (python_version >= "2.7.0.0" and python_version < "2.8.0.0") or (python_version >= "3.4.0.0" and python_version < "3.5.0.0") (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/0d/4d/4e5985d075d241d686a1663fa1f88b61d544658d08c1375c7c6aac32afc3/typing-3.6.4-py2-none-any.whl Collecting pip-tools<3.0.0.0,>=2.0.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/4c/69/4f33fea6c50ff873b7905abc404d8c26aab2accf8c099d67a35aebc09871/pip_tools-2.0.2-py2.py3-none-any.whl Collecting virtualenv<16.0.0.0,>=15.2.0.0; python_version >= "2.7.0.0" and python_version < "2.8.0.0" (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/ed/ea/e20b5cbebf45d3096e8138ab74eda139595d827677f38e9dd543e6015bdf/virtualenv-15.2.0-py2.py3-none-any.whl Collecting requests<3.0.0.0,>=2.18.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl Collecting pathlib2<3.0.0.0,>=2.3.0.0; python_version >= "2.7.0.0" and python_version < "2.8.0.0" (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/66/a7/9f8d84f31728d78beade9b1271ccbfb290c41c1e4dc13dbd4997ad594dcd/pathlib2-2.3.2-py2.py3-none-any.whl Collecting toml<0.10.0.0,>=0.9.0.0 (from poetry==0.9.1) Collecting jsonschema<3.0.0.0,>=2.6.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl Collecting pyparsing<3.0.0.0,>=2.2.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl Collecting cleo<0.7.0.0,>=0.6.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/3f/4d/fbdce6cebfdd45a6e1285b2710895661b9085dc417815b2f84f059ea8730/cleo-0.6.6-py2.py3-none-any.whl Collecting pkginfo<2.0.0.0,>=1.4.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/a3/fe/f32a48d48f40a7209be9825fba2566cab92364787cf37de2e08300dd6ce7/pkginfo-1.4.2-py2.py3-none-any.whl Collecting pyrsistent<0.15.0.0,>=0.14.2.0 (from poetry==0.9.1) Collecting cachecontrol[filecache]<0.13.0.0,>=0.12.4.0 (from poetry==0.9.1) Collecting requests-toolbelt<0.9.0.0,>=0.8.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/97/8a/d710f792d6f6ecc089c5e55b66e66c3f2f35516a1ede5a8f54c13350ffb0/requests_toolbelt-0.8.0-py2.py3-none-any.whl Collecting cachy<0.3.0.0,>=0.2.0.0 (from poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/26/37/8ce3e7b330078b6797a34e79a80a8ad6935e404a3b903765417182c9ce19/cachy-0.2.0-py2.py3-none-any.whl Collecting first (from pip-tools<3.0.0.0,>=2.0.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/71/12/1b24a85f543658804027de982f7e5cb80543ea33ec396c887c099c75274c/first-2.0.1-py2.py3-none-any.whl Collecting click>=6 (from pip-tools<3.0.0.0,>=2.0.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl Collecting six (from pip-tools<3.0.0.0,>=2.0.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0.0.0,>=2.18.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting certifi>=2017.4.17 (from requests<3.0.0.0,>=2.18.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl Collecting urllib3<1.23,>=1.21.1 (from requests<3.0.0.0,>=2.18.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl Collecting idna<2.7,>=2.5 (from requests<3.0.0.0,>=2.18.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl Collecting scandir; python_version < "3.5" (from pathlib2<3.0.0.0,>=2.3.0.0; python_version >= "2.7.0.0" and python_version < "2.8.0.0"->poetry==0.9.1) Collecting functools32; python_version == "2.7" (from jsonschema<3.0.0.0,>=2.6.0.0->poetry==0.9.1) Collecting pastel<0.2.0,>=0.1.0 (from cleo<0.7.0.0,>=0.6.0.0->poetry==0.9.1) Collecting pylev<2.0.0,>=1.3 (from cleo<0.7.0.0,>=0.6.0.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/40/1c/7dff1d242bf1e19f9c6202f0ba4e6fd18cc7ecb8bc85b17b2d16c806e228/pylev-1.3.0-py2.py3-none-any.whl Collecting msgpack-python (from cachecontrol[filecache]<0.13.0.0,>=0.12.4.0->poetry==0.9.1) Collecting lockfile>=0.9; extra == "filecache" (from cachecontrol[filecache]<0.13.0.0,>=0.12.4.0->poetry==0.9.1) Using cached https://files.pythonhosted.org/packages/c8/22/9460e311f340cb62d26a38c419b1381b8593b0bb6b5d1f056938b086d362/lockfile-0.12.2-py2.py3-none-any.whl Installing collected packages: typing, first, click, six, pip-tools, virtualenv, chardet, certifi, urllib3, idna, requests, scandir, pathlib2, toml, functools32, jsonschema, pyparsing, pastel, pylev, cleo, pkginfo, pyrsistent, msgpack-python, lockfile, cachecontrol, requests-toolbelt, cachy, poetry Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 228, in main status = self.run(options, args) File "/usr/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 335, in run use_user_site=options.use_user_site, File "/usr/local/lib/python2.7/site-packages/pip/_internal/req/__init__.py", line 49, in install_given_reqs **kwargs File "/usr/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 748, in install use_user_site=use_user_site, pycompile=pycompile, File "/usr/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 961, in move_wheel_files warn_script_location=warn_script_location, File "/usr/local/lib/python2.7/site-packages/pip/_internal/wheel.py", line 216, in move_wheel_files prefix=prefix, File "/usr/local/lib/python2.7/site-packages/pip/_internal/locations.py", line 165, in distutils_scheme i.finalize_options() File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 264, in finalize_options "must supply either home or prefix/exec-prefix -- not both" DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
The text was updated successfully, but these errors were encountered:
This is a duplicate of #59.
Closing this one.
Sorry, something went wrong.
Merge pull request python-poetry#133 from python-poetry/release-1.0.1
a8fc290
Release 1.0.1
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Successfully merging a pull request may close this issue.
Got this error while installing on a fresh macOS:
DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
Any ideas ? Complete output below :
The text was updated successfully, but these errors were encountered: