-
Notifications
You must be signed in to change notification settings - Fork 992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named sqlalchemy.orm #3224
Comments
@Jondeen have you changed your dependency_resolver_conf.xml file? |
And what Galaxy release are you using? |
I have some logging from Dr. David Morais - this happen on 16.10 and the problem appears to be that sometimes the install of samtools installs setuptools - and this in turn brings in Python.
For completeness - a working log such as mine does not include setuptools and therefore doesn't include Python:
|
Hmmm, this is strange, there's really no dependency on setuptools in the bioconda recipe Note also that there is |
This has never happened in my testing, but there have been multiple reports of Conda crafting environments for the set metadata tool that include Python. When this happens Galaxy's Python environment is lost and the tool cannot function properly. Fixes galaxyproject#3238. Fixes galaxyproject#3224. Fixes https://biostar.usegalaxy.org/p/20865/.
This has never happened in my testing, but there have been multiple reports of Conda crafting environments for the set metadata tool that include Python. When this happens Galaxy's Python environment is lost and the tool cannot function properly. Fixes galaxyproject#3238. Fixes galaxyproject#3224. Fixes https://biostar.usegalaxy.org/p/20865/. Rebased to add a comment as suggested by @nsoranzo.
David also contacted me via mail and we were able to solve it for him by installing the samtools TS package. This fix will prevent this workaround in the future! Thanks. |
Hi,
I'm trying to run MACS2 pulled from the Galaxy Main Tool Shed (I've tried both IUC's and pjbriggs' versions) and it works fine, but when the script attempts to update Galaxy metadata after successful run (that is; the proper BAM-files are generated) it fails, complaining about dependencies (which should definitely be available in the .venv, and also globally on the system) as below:
This seems to be similar to #2541 but I couldn't figure out how it was resolved. Any pointers?
UPDATE: In fact sqlalchemy was not installed globally. Installing all required dependencies seem to possibly solve the issue.
The text was updated successfully, but these errors were encountered: