简体   繁体   中英

How to create conda environment with locally compiled python?

How should one create a new environment with a locally compiled/built python? All the information in the internet guides are about installing a python with a specific version, or installing local packages.

Any idea how to install a custom built python? Should I build a conda package and install it locally? (-c)

Thanks!

It would have to be built as a Conda package, otherwise other Conda packages will not respect it as satisfying the python dependency requirement. The Conda Forge recipe for Python is licensed under BSD-3, so that may be a good starting point. It is a bit complicated, but not sure there is a way to make the compilation trivial.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM