You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this error only occurs when importing from the root directory (which no one should do, ideally), but people end up creating their files in this root directory sometimes and end up with this error. If this was a pure python package, this error wouldn't exist but bioscrape import statements work from the compiled version only (i.e. the installed package in sites-packages).
What could be a good way to solve this issue? One way is to simply issue a warning or an error if someone tries to import bioscrape from the root directory (they should not be doing this). The other way is to some how force all the imports to look at sites-packages by default.
Yes, but how do we detect that the user is inside the directory? There must be a way tho, I didn't look closely for a solution. But if it can be done, cleanly we should do it
MWE to produce this error:
The text was updated successfully, but these errors were encountered: