-
Notifications
You must be signed in to change notification settings - Fork 16
Description
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: failedResolvePackageNotFound:
- 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 itemtests/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_codeE 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 ============================================================