Home > other >  Can we get a python environment built in debug mode using conda?
Can we get a python environment built in debug mode using conda?

Time:09-28

Conda environments are Python distributions built in release mode, but for my Python extension module it would be helpful to be able to use conda to link Python in Debug mode. So can we build a conda environment in debug mode?

Something like:

conda create --name py39_d python=3.9 --config Debug

CodePudding user response:

At least for Conda Forge, the answer is currently no.

Adding debug builds has been in discussion for several years. According to a 2020 issue, there was previously a lack of infrastructure to support it, but that had mostly been worked out. Given how few people commented on the post, it seems there simply hasn't been enough interest expressed. If you'd like such builds to be available, then I'd suggest joining the conversation.

  • Related