This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gavin
Recipients gavin, ned.deily, ronaldoussoren
Date 2020-04-13.10:46:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586774791.09.0.0735699698392.issue40272@roundup.psfhosted.org>
In-reply-to
Content
I have a tool that works as a wrapper over a web framework which in turn utilizes a virtualenv environment. So every app to be installed for a project is installed in it's own env folder. 

Recently, the virtualenv has been breaking throwing 'ModuleNotFoundError's however this issue only persists in macOS. The applications installed in each project's env are editable installs. The ModuleNotFoundError's are raised by the global python install which is all the more confusing as the commands are specifically executing using absolute paths in the env python and should be in the env site-packages. Even after successful env installs, activating the env and simply typing "import frappe" throws a ModuleNotFoundError. 

Reference commands executed by the wrapper program are like
./env/bin/python -m install -q -U -e ./apps/frappe

have also tried absolute paths but faced the same issue. However, this issue doesn't persist while using pyenv on macOS. Linux systems work fine too.
History
Date User Action Args
2020-04-13 10:46:31gavinsetrecipients: + gavin, ronaldoussoren, ned.deily
2020-04-13 10:46:31gavinsetmessageid: <1586774791.09.0.0735699698392.issue40272@roundup.psfhosted.org>
2020-04-13 10:46:31gavinlinkissue40272 messages
2020-04-13 10:46:30gavincreate