Skip to content

setup problem #3

@mmeshhal

Description

@mmeshhal

I have a problem in installing the code

1. When I try: conda env create --file graphene-env.yml, I get:

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
- pyyaml==5.1.1=py27h1de35cc_0
- scikit-learn==0.20.3=py27h27c97d8_0
- python==2.7.17=h97142e2_0
- numpy==1.16.5=py27hacdab7b_0

2. And pytest gives:

============================================================== test session starts ==============================================================
platform linux2 -- Python 2.7.17, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
rootdir: /home/mm000/make-graphitics, inifile:
collected 1 item

tests/test_examples.py F [100%]

=================================================================== FAILURES ====================================================================
_________________________________________________________________ test_examples _________________________________________________________________

def test_examples():
    from os import listdir
    from os.path import isfile, join
    import subprocess

    path = "examples/"

    example_files = [f for f in listdir(path) if isfile(join(path, f))]
    example_files = [f for f in example_files if f[-3:] == ".py"]

    for example in example_files:
        return_code = subprocess.call(["python", path + example])
      assert not return_code

E assert not 1

tests/test_examples.py:13: AssertionError
------------------------------------------------------------- Captured stderr call --------------------------------------------------------------
Traceback (most recent call last):
File "examples/GO_sheet.py", line 1, in
import yaml
ImportError: No module named yaml
=========================================================== 1 failed in 0.16 seconds ============================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions