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

error during installation #3

Open
itsvenu opened this issue Jan 6, 2020 · 3 comments
Open

error during installation #3

itsvenu opened this issue Jan 6, 2020 · 3 comments

Comments

@itsvenu
Copy link

itsvenu commented Jan 6, 2020

Hi Simon,

I was trying to install scepia with pip but I'm facing the following error

pip install git+https://github.com/vanheeringen-lab/scepia.git

Error

  Failed building wheel for sklearn-contrib-lightning
  Running setup.py clean for sklearn-contrib-lightning
Successfully built scepia
Failed to build sklearn-contrib-lightning
...
...
  error: invalid argument '-std=c99' not allowed with 'C++'
  error: Command "g++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/venu/anaconda3/include -arch x86_64 -I/Users/venu/anaconda3/include -arch x86_64 -std=c99 -I/Users/venu/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/17/cwzq14vx6fb2m4kzc1ln2tsm0000gn/T/pip-install-_xwmsqoa/sklearn-contrib-lightning/lightning/impl/randomkit -I/Users/venu/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/Users/venu/anaconda3/include/python3.7m -c lightning/impl/adagrad_fast.cpp -o build/temp.macosx-10.7-x86_64-3.7/lightning/impl/adagrad_fast.o -MMD -MF build/temp.macosx-10.7-x86_64-3.7/lightning/impl/adagrad_fast.o.d" failed with exit status 1

Are there any additional dependencies I should be careful about?

Thank you.

@simonvh
Copy link
Member

simonvh commented Jan 6, 2020

Have you created a conda environment first? This should work:

conda create -n scepia python=3 adjusttext biofluff gimmemotifs=0.14.0 scanpy louvain loguru pyarrow ipywidgets nb_conda
conda activate scepia
pip install git+https://github.com/vanheeringen-lab/scepia.git@0.3.1

@itsvenu
Copy link
Author

itsvenu commented Jan 6, 2020

Aw, the installation is working. Thanks a lot.

After installation I tried loading scepia module but it is still saying 'there is no module scepia'.

@simonvh
Copy link
Member

simonvh commented Mar 4, 2020

Sorry, I missed this comment earlier. Did you get it to work?

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