Skip to content
New issue

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

Make the NO_INSTALL_PREFIX_MESSAGE error message include Python-only tip #277

Closed
dhermes opened this issue Nov 24, 2021 · 1 comment
Closed

Comments

@dhermes
Copy link
Owner

dhermes commented Nov 24, 2021

From #275 (and many other bug reports are similar):

...
Collecting bezier
  Using cached bezier-2021.2.12.tar.gz (313 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-c7l04qpk/bezier_1ae222099e174d0db3a03720f989db8b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-c7l04qpk/bezier_1ae222099e174d0db3a03720f989db8b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-bdebbu8f
         cwd: /tmp/pip-install-c7l04qpk/bezier_1ae222099e174d0db3a03720f989db8b/
    Complete output (1 lines):
    The BEZIER_INSTALL_PREFIX environment variable must be set.
...

Used exactly once:

bezier/setup.py

Line 127 in 2143861

print(NO_INSTALL_PREFIX_MESSAGE, file=sys.stderr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@dhermes and others