How to include dependencies from venv directory when running pyinstaller for project built in Pycharm?
问题 I'm new to Python and PyCharm. I'm running on OSX High Sierra. I've created a project in PyCharm that uses lxml. I've installed lxml 4.1.1 as a project dependency, and I can see it's files under myProject/venv/lib/site-package/lxml I can run my script from within PyCharm no problem, but I've been unable to build an executable that includes the lxml library. I use pyinstaller 3.3.1 from the command line. The project builds, but when I run the executable, I get his for output: Traceback (most