# How to implement Python into Xcode using pythonkit 3rd party software, or any others please suggest

**URL:** <https://forums.swift.org/t/how-to-implement-python-into-xcode-using-pythonkit-3rd-party-software-or-any-others-please-suggest/32319>\
**Category:** Using Swift\
**Tags:** packagemanager, macos\
**Created:** [January 7, 2020, 4:59pm UTC](https://forums.swift.org/t/how-to-implement-python-into-xcode-using-pythonkit-3rd-party-software-or-any-others-please-suggest/32319 "2020-01-07T16:59:11Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jonprescott](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jonprescott](https://forums.swift.org/u/jonprescott)\
**Post date:** [January 12, 2020, 10:29pm UTC](https://forums.swift.org/t/how-to-implement-python-into-xcode-using-pythonkit-3rd-party-software-or-any-others-please-suggest/32319/13 "2020-01-12T22:29:22Z")

</div>

I also tried setting the PYTHON\_LIBRARY environment variable to both the Python.framework/Python file (which is a dynamic library), and the libpython3.8.dylib in the `lib` directory. Couldn't make either work. It looks like the best bet is to put Python.framework in /usr/local/Frameworks, or modify the library search paths to find the appropriate framework.

---

_[View the full topic](https://forums.swift.org/t/how-to-implement-python-into-xcode-using-pythonkit-3rd-party-software-or-any-others-please-suggest/32319)._
