Skip to content
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

problem installing with pip #4

Open
terhorstd opened this issue Dec 17, 2019 · 2 comments
Open

problem installing with pip #4

terhorstd opened this issue Dec 17, 2019 · 2 comments

Comments

@terhorstd
Copy link

There seems to be a dependency problem when installing with PIP as mentioned in the readme:

$ pip install fairgraph
Collecting fairgraph
  Using cached https://files.pythonhosted.org/packages/8c/41/eb94767ac342fd80cbb1d381accf4cd4cf96b3c918861b53fe24bd7db0a1/fairgraph-0.5.1.tar.gz
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
fairgraph depends on openid_http_client@ git+https://github.com/HumanBrainProject/openid_http_client.git#subdirectory=openid_http_client 

I tried with different Python versions (3.6, 3.7, 3.8), but since pip is the v19.3.1 for all of them it seems unlikely to be related.

$ pip --version
pip 19.3.1 from /.../lib/python3.8/site-packages/pip (python 3.8)

Is there a reason why pyxus and openid_http_connect are not available via pip?

@steffengraber
Copy link

I have encountered the same error.
The installation with :

git clone https://github.com/HumanBrainProject/fairgraph.git
pip install -r ./fairgraph/requirements.txt
pip install -U ./fairgraph 

works.

@terhorstd
Copy link
Author

Thanks, @steffengraber , that also works for me. The main problem is that this is a non-standard installation and very difficult to include in larger processes. I have not found a way to write a working conda environment.yml, for example. This then also affects workflows with Snakemake, where you could want to add a conda: "someenv.yml" for specific rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants