intake / intake/intake-mongo

Install instructions build for the wrong version of python

Open
#7 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I created a new environment for intake. The python used for this depends on what version of python is running python. In my case, the environment was created for python py37.

Running conda-build for MongoAdapater had two issues:
1. The tests require Docker running locally. I removed all of the tests from the meta.yaml.
2. The version of python that it build was py27.

After I installed my custom built version of MongoAdapter, it downgraded all of my packages resulting in intake failing to import because of a py27/py37 issue:
```
AttributeError: 'module' object has no attribute 'abc'
```

My solution was this:
```
conda build --py 37 MongoAdapter/buildscripts/condarecipe
```

There is an underlying bug in that Intake that it needs to specify the python version it runs under, so they python version isn't downgraded to conflict with intake.

## More install issues
```
$ python setup.py develop --no-deps
Traceback (most recent call last):
File "setup.py", line 5, in
from Cython.Distutils import build_ext
ModuleNotFoundError: No module named 'Cython'
```

This should have the steps:
1. git clone
2. cd intake-mongo
3. install dependencies - cython -- what else?
4. python setup.py develop --no-deps

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.