Skip to content
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

Module not found error for pandas #59

Open
Andyargueasae opened this issue Apr 22, 2024 · 5 comments
Open

Module not found error for pandas #59

Andyargueasae opened this issue Apr 22, 2024 · 5 comments

Comments

@Andyargueasae
Copy link

Hi Oskar,

I tried to reinstall binny using github resource and ran ./binny -i config/config.init.yaml, but here I got this tricky report:
image
Here it already built up the snakemake_env, and pandas was installed, but when trying to include other envs, the report points to line 10 of Snakefile that pandas cannot be found.

I wonder how to fix this.

Cheers
Andy

@ohickl
Copy link
Contributor

ohickl commented Apr 22, 2024

Hi Andy,
strange, so you have other existing environments that you provided in your config?
If you type conda list | grep pandas with the snakemake env activated, will it return something like pandas=1.4.1? This environment should have pandas.
In the meantime you could try the conda beta version of binny as well. like this.

Best

Oskar

@Andyargueasae
Copy link
Author

Hi Oskar,

Sorry for late reply, I tried your command, and there is a pandas==2.0.3.
But I don't know why the initiation still has this problem.
I also tried to use the specified conda env for snakemake to run, with pandas == 2.2.2. But still, nothing works that out. I went to the mambaforge directory for snakemake_env, there were no folders or executable paths to pandas.

Maybe, I will also try a conda beta version. But considering that I have forked one binny repo from your main repository to mine, in order to customize some codes to dig out organelle genomes, this might be even harder.

Best
Andy

@ohickl
Copy link
Contributor

ohickl commented Apr 25, 2024

I went to the mambaforge directory for snakemake_env

What do you mean by this?

Could you post your config.init.yaml? Maybe something went wrong there. The snakemake env should be active and have pandas either way. I will also try a fresh install to see, if i can reproduce this.

Best

Oskar

@Andyargueasae
Copy link
Author

Andyargueasae commented Apr 25, 2024 via email

@ohickl
Copy link
Contributor

ohickl commented Apr 25, 2024

Great to hear!

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants