question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

So "pip install -e ." is the rebuild operation?

See original GitHub issue

❓ So “pip install -e .” is the rebuild operation?

I see the Note in the Installation that said “you often need to rebuild detectron2 after reinstalling PyTorch.”, but there are multiple commands in that section, as

cd detectron2
pip install -e .

# or if you are on macOS
# MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ pip install -e .

# or, as an alternative to `pip install`, use
# python setup.py build develop

So my question is whether the “pip install -e .” is the rebuild operation other than any others?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
ppwwyyxxcommented, Jan 6, 2020

Yes.

1reaction
ppwwyyxxcommented, Jan 1, 2020

You’re right.

Read more comments on GitHub >

github_iconTop Results From Across the Web

When would the -e, --editable option be useful with pip install?
As the man page says it: -e,--editable <path/url> Install a project in editable mode (i.e. setuptools "develop mode") from a local project ...
Read more >
Installing Packages - Python Packaging User Guide - Python.org
This section covers the basics of how to install Python packages. ... an introduction to using your operating system's shell and interacting with...
Read more >
How to install, download and build Python wheels - ActiveState
Operating system-level dependencies for Windows, Linux, and macOS; Shared dependencies (ie., OpenSSL); Find, fix and automatically rebuild a ...
Read more >
Installation — Cryptography 39.0.0.dev1 documentation
You can install cryptography with pip : $ pip install cryptography ... Currently we test cryptography on Python 3.6+ and PyPy3 on these...
Read more >
Development Mode (a.k.a. “Editable Installs”) - Setuptools
An “editable installation” works very similarly to a regular install with pip install . , except that it only installs your package dependencies,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found