Comments (7)
The conda environment definition above helps with the issue regarding blist
in #179 to some degree.
from pheweb.
Thanks, this is a good error-report. I appreciate that, because it makes these miserable installation issues at least a little more pleasant to work on. I'm busy today, so I'm sorry that this response isn't great, but I'll try to look into this more later.
On macOS:
- Maybe adding
wheel
to yourpheweb.yaml
would help, so that it wouldn't have to compileblist
? - If that doesn't fix it, maybe replace your third line with
pip install blist
and if that breaks, talk to theblist
devs at https://github.com/DanielStutzbach/blist ? I see the issue DanielStutzbach/blist#90 there, which looks like it might be the same problem. Maybe bump that issue, because theblist
's author is still active. - I've been gradually replacing C libraries (like
blist
) with python code, because of these frustrating compilation errors, but I'd like to keepblist
around if this can be resolved. And unfortunately I can't reproduce your error on my mac because I'm still onclang
v11 on Big Sur and that's causing other errors. Are you on clang v12? What version of macOS?
On Linux: that error is puzzling. Does the file build/temp.linux-x86_64-3.9/pheweb.load.cffi._x.cpp
actually not exist? Sorry, I can't think of any ways to figure out this problem. Maybe there's some command line option for pip that will change how it compiles cffi cpp? Or maybe there's a way to use strace
or some file system logging to check why that file isn't being created?
from pheweb.
Is there a stable release version tagged @pjvandehaar? Or potentially to have a version installed on bioconda? That would certainly help with installation issues like this if possible. I'll fiddle around a little bit more, but let me know if there is anything else I could potentially help with.
from pheweb.
-
I uploaded a new release,
1.3.16
, withoutblist
. Can you try it? Unfortunately I still have a problem withMACOSX_DEPLOYMENT_TARGET
so I didn't upload wheels for this release. -
The
master
branch should always work, but I'm more careful with the versioned releases. You can see them in the git history, because they're named like "1.3.16". I upload them to PyPI (which is whypip3 install pheweb
works), but not bioconda. -
Would bioconda work better than PyPI? I don't know anything about it. I can add that to my release script. Should I?
-
Would it be helpful if I tagged releases using git? I don't see the benefit to make up for the slight amount of work, but I'm probably just missing it.
from pheweb.
Hi @pjvandehaar,
The newest version (1.3.16) worked great via pip install pheweb
using a python environment with 3.9.5 on Mac OSX :) So no complaints there.
However, within a conda environment on Linux there are still some problems with finding the cffi
files (much more cryptic). Is this able to work on servers at UM quite well?
name: pheweb
channels:
- conda-forge
dependencies:
- python=3.9.5
and then:
conda env crate -f pheweb.yaml
conda activate pheweb
pip install pheweb --no-cache --verbose 2>&1 | tee pheweb_install_Linux.log
I think that the eventual gcc
command expects build/temp.linux-x86_64-3.9/pheweb.load.cffi._x.cpp
to be around, but this is only ever copied in as copying pheweb/load/cffi/x.cpp -> build/lib.linux-x86_64-3.9/pheweb/load/cffi
.
Regarding point 4 - I definitely think having the tagged releases on github would be very helpful (although one can also version lock on pip as well). It would be useful on github to have to download source-code that is version locked as a tarball and trying to perform a local pip install.
from pheweb.
Hi @pjvandehaar,
I've recently solved this on linux for an installation via conda that worked great! The yaml was:
name: pheweb
channels:
- conda-forge
dependencies:
- python
- gxx_linux-64>9
- pip
- pip:
- pheweb
and then:
conda env create -f pheweb.yaml
conda activate pheweb
pheweb -help
This worked well for me (and was system agnostic as well so could work as a general solution on linux as well). Feel free to include this in recommendations to others as well!
from pheweb.
Closing this issue as its not active any more and there is a solution. Thanks very much!
from pheweb.
Related Issues (20)
- Core features of pheweb: ref/alt, add_rsid, hg17/38 HOT 3
- stroke
- ModuleNotFoundError: No module named 'pheweb.command_line' HOT 3
- 404 not found error of phewas plot page (Pheweb with structural variants) HOT 4
- "An exception occurred" when I run the command: pheweb serve --open HOT 3
- pheweb to display multiple GWAS? HOT 1
- outdated instruction "pheweb phenolist glob-files" HOT 2
- PheWeb can display phenotype correlations generated by another tool. HOT 4
- pheweb-rg-pipeline does NOT work HOT 1
- Installation Problem HOT 7
- METSIM Pheweb Instance Not Working HOT 1
- the content of pheweb HOT 1
- Not clear when 3 parts of pheweb (executable, python scripts, huge dbSNP files) got installed HOT 1
- how to display the phenotypes in sorted order? HOT 9
- Starting `pheweb add-rsids`, Completed in 57 minutes HOT 2
- interpretation HOT 1
- after i renamed the input GWAS files HOT 5
- pheweb.utils.PheWebError: failed on field 'af' attempting to convert value 'NA' to type <class 'float'>
- Some Manhattan Plots don't show up HOT 5
- `pheweb augment-phenos` takes hours for just one single new GWAS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pheweb.