Struggling with Externally Managed Environment Setuptools: How to Properly Configure and Use It?

14 Replies, 2042 Views

Hey! I feel your pain with the externally managed environment setuptools setup. It can be a real headache, especially with dependency conflicts.

One thing that worked for me was using `--no-deps` flag when installing packages. This avoids pulling in dependencies that might clash with your externally managed environment. Also, check out `pip`'s `--ignore-installed` flag if you're dealing with conflicts.

For setup.py, I’d recommend keeping it minimal and letting the external system handle the heavy lifting. Maybe try `find_packages()` to auto-detect your packages instead of hardcoding them.

Hope this helps!

Messages In This Thread



Users browsing this thread: 1 Guest(s)