Skip to content

yaml dependency problem #237

@emiliom

Description

@emiliom

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:

(wofpy) $ conda install -c conda-forge yaml
Collecting package metadata (current_repodata.json): done
Solving environment: done
# All requested packages 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions