Skip to content

Support: --build deprecation #8976

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

Closed
skeerthan98 opened this issue Oct 9, 2020 · 4 comments
Closed

Support: --build deprecation #8976

skeerthan98 opened this issue Oct 9, 2020 · 4 comments
Labels
type: support User Support

Comments

@skeerthan98
Copy link

  • pip version: 20.2.3
  • Python version: 3.9
  • Operating system: Windows 10
@skeerthan98
Copy link
Author

How to fix this issue.

I am totally new to python and it says - "A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean", while trying to install opencv.

Please let me know, where do I replace it and how to do it.

@pradyunsg pradyunsg changed the title DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated. pip 20.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333. ERROR: Command errored out with exit status 1: command: 'C:\Users\Keerthan\PycharmProjects\demo3\venv\Scripts\python.exe' 'C:\Users\Keerthan\PycharmProjects\demo3\venv\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Keerthan\AppData\Local\Temp\tmp8cy3j0cy' Support: --build deprecation Oct 9, 2020
@pradyunsg
Copy link
Member

Please provide the details of what you did to get this error message.

@pradyunsg pradyunsg added the type: support User Support label Oct 9, 2020
@McSinyx
Copy link
Contributor

McSinyx commented Oct 10, 2020

@pradyunsg, this seems to be because opencv sdist does not build nicely with pip. I suggest leaving it to the maintainers of opencv to solve the issue since the its build process is non-trivial anyway.

@skeerthan98, opencv-python has not been built for Python 3.9 just yet (opencv/opencv-python#382); for the ease of install you might want to use Python 3.8 for now. You might also want to file an issue over opencv to tell them pip has deprecated --build.

@skeerthan98
Copy link
Author

@McSinyx Thanks. Now its working fine

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: support User Support
Projects
None yet
Development

No branches or pull requests

3 participants