GithubHelp home page GithubHelp logo

Comments (10)

alimanfoo avatar alimanfoo commented on September 11, 2024 1

@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.

tnguyensanger avatar tnguyensanger commented on September 11, 2024 1

@AndreasHeger @alimanfoo @amakunin @podpearson pip install of pysam==0.15.2 works for me. Many thanks!

from binder.

alimanfoo avatar alimanfoo commented on September 11, 2024

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.

amakunin avatar amakunin commented on September 11, 2024

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.

tnguyensanger avatar tnguyensanger commented on September 11, 2024

@amakunin I'm running into this too. Is the workaround to manually edit /binder/environment.yml to use pysam=0.13 ?

from binder.

alimanfoo avatar alimanfoo commented on September 11, 2024

from binder.

AndreasHeger avatar AndreasHeger commented on September 11, 2024

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.

AndreasHeger avatar AndreasHeger commented on September 11, 2024

It would be great if somebody could confirm it works. I can't test locally.

from binder.

alimanfoo avatar alimanfoo commented on September 11, 2024

@AndreasHeger thank you!

@amakunin / @tnguyensanger / @podpearson can you confirm if pip install pysam==0.15.2 works ok on your mac?

from binder.

podpearson avatar podpearson commented on September 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.