GithubHelp home page GithubHelp logo

Comments (4)

boulund avatar boulund commented on September 28, 2024

Nevermind, I commented out the section in setup.py that tries to mess with the file permissions, now it appears to work just fine. At least I have an executable Python script in my path called run_microbe_census.py and it produces nice help output. I'll report back when I've tried running it for real later this week. I'll leave this here if someone else encounters the same issue.

For reference, I commented out the following lines in setup.py:

MicrobeCensus/setup.py

Lines 6 to 14 in d91b465

class my_install_lib(install_lib.install_lib):
""" Make all packaged binaries executable """
def run(self):
install_lib.install_lib.run(self)
for fn in self.get_outputs():
if fn.split('/')[-2] == 'bin':
mode = ((os.stat(fn).st_mode) | 0555) & 07777
log.info("changing mode of %s to %o", fn, mode)
os.chmod(fn, mode)

from microbecensus.

boulund avatar boulund commented on September 28, 2024

Deleted everything again this morning and started over. Turns out I managed to fail to install pip in the new conda environment I created, so it tried installing MicrobeCensus in the root conda environment without me realizing. I started over and created a new conda environment properly and installed MicrobeCensus according to instructions, and all worked just fine. Sorry for creating an unnecessary issue :)

from microbecensus.

snayfach avatar snayfach commented on September 28, 2024

No worries! Glad you got things working. Just FYI, the github release is a newer version than is present on pip.

from microbecensus.

boulund avatar boulund commented on September 28, 2024

Yes, I noticed that the github version is newer. Newer is always better, right? :).
It seems to be working just fine for me now. No issues at all (so far)!

from microbecensus.

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.