Comments (10)
@amakunin might also be worth checking if you can install pysam on your mac from current github master, should at least confirm that the problem is fixed and just a release is needed.
from binder.
@AndreasHeger @alimanfoo @amakunin @podpearson pip install of pysam==0.15.2 works for me. Many thanks!
from binder.
Hi @amakunin, I think we just need to beg @AndreasHeger to cut a new release of pysam, looks like a fix was merged into master a couple of weeks ago (pysam-developers/pysam#729).
from binder.
Installing from repo is failing in an unusual place, as expected for Mac OS. Will try to dig into this.
In the meanwhile, conda and pip remain the only options for seamless installation of pysam on Mac. So, I will also investigate pysam versioning in conda. For me, installation of 0.15.1
yields 0.13
, while tarball for 0.15.1
contains version 0.15.0
from binder.
@amakunin I'm running into this too. Is the workaround to manually edit /binder/environment.yml to use pysam=0.13 ?
from binder.
from binder.
I am releasing pysam 0.15.2 with the fix (#729). I really apologize for the delay, I started to fix a couple of other issues, but then got bogged down and times were very busy.
from binder.
It would be great if somebody could confirm it works. I can't test locally.
from binder.
@AndreasHeger thank you!
@amakunin / @tnguyensanger / @podpearson can you confirm if pip install pysam==0.15.2
works ok on your mac?
from binder.
I've just tried to do a fresh install of binder on my Mac, using the the instructions at https://github.com/malariagen/binder/blob/master/README.md#add-binder-as-a-submodule. This is giving me the following error for pysam:
gcc: error: @loader_path: No such file or directory
gcc: error: unrecognized command line option '-rpath'
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/rpearson/src/github/malariagen/SIMS/binder/deps/conda/envs/SIMS/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-install-nn5n9d69/pysam/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-record-gkrbueq3/install-record.txt --single-version-externally-managed --prefix /private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-build-env-grpioma4 --compile" failed with error code 1 in /private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-install-nn5n9d69/pysam/
----------------------------------------
Command "/Users/rpearson/src/github/malariagen/SIMS/binder/deps/conda/envs/SIMS/bin/python -m pip install --ignore-installed --no-user --prefix /private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-build-env-grpioma4 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel "pysam (<0.16)"" failed with error code 1 in None
CondaValueError: pip returned an error
I also tried installing directly using binder/deps/conda/bin/pip install pysam==0.15.2
and got:
gcc: error: @loader_path: No such file or directory
gcc: error: unrecognized command line option '-rpath'
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/rpearson/src/github/malariagen/SIMS/binder/deps/conda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-install-fz68an38/pysam/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-record-ebza1u0u/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/v6/nyyqw2bx3wlfyxvy334mxwyh0000gn/T/pip-install-fz68an38/pysam/
Has anyone else managed to successfully install pysam 0.15.2 on a Mac? Any suggestions of where I should go next?
from binder.
Related Issues (20)
- Upgrade malariagen_data
- Dask vulnerability HOT 2
- Add ipydatagrid
- Upgrade malariagen_data to 2.0.0
- Add python-gist
- Add rtree
- Upgrade malariagen_data to >=5.0.1
- Upgrade malariagen_data to >=7.0.0
- Add google-cloud-sdk HOT 1
- bcftools problem
- Update `malariagen_data` - v7.5.0
- Add iso3166 HOT 2
- Upgrade malariagen_data to >=7.13.0
- Upgrade malariagen_data to >=9.0.0
- Add s3cmd
- jupyter nbconvert fails due to lxml change HOT 2
- Upgrade malariagen_data to >=10.0.0
- Add coiled
- Name change HOT 10
- Upgrade malariagen_data to >=10.2.0 HOT 1
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 binder.