-
Notifications
You must be signed in to change notification settings - Fork 9
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
yaml dependency problem #237
Comments
From @ocefpaf: The yaml package is not a python package and we need to fix the wofpy What you want is pyyaml. I'll send a PR to fix the package. |
From @ocefpaf: |
@ocefpaf, since it turned out to be a problem with wofpy directly, I've opened this issue and copied over our exchanges so far. Thanks again! |
yaml is really needed to run WOFpy it is an indirect dependency then, is that correct?
|
It's correct that
But that DAO hasn't been as fully developed and tested as odm2/timeseries (there's actually a PR from Miguel with improvements to it, but I haven't merged it yet because it needs to be broken up).
Anyway, let's add Is https://github.com/ODM2/WOFpy/blob/master/setup.py#L54 used directly in the conda build? If so, |
Not directly but that should be update first, then a new release, than a conda package update to keep things consistent. |
Ok. For now I'm able to get past this problem by simply installing |
Performance optimizations for ODM2 timeseries DAO get_variables requests. Also addresses #237
I'm running into a strange problem with the yaml package, when creating a conda environment for wofpy. Hopefully this problem will be familiar to you (I'm guessing it's not specific to wofpy).
I've created a wofpy conda env the usual way:
conda create -n wofpy -c conda-forge python=2.7 wofpy
yaml is installed:
(wofpy) $ conda list | grep yaml yaml 0.1.7 h14c3975_1001 conda-forge
But import yaml produces the error "ImportError: No module named yaml".
I tried explicitly installing yaml after creating the env, but the response was that it was already installed:
I ran into this yesterday on two independent Ubuntu machines (my laptop and a server), with conda environments created within a two-hour period.
The text was updated successfully, but these errors were encountered: