Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    mcmaclachlan
    @mcmaclachlan
    @wolfv sorry I'm very new to this, where would the error be? what would I be looking for?
    Wolf Vollprecht
    @wolfv
    If i visit the page it redirects to https://studmed.uio.no/voila/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/files/static/require.min.js
    and then says: ERR_TOO_MANY_REDIRECTS
    you've got to check the apache config
    mcmaclachlan
    @mcmaclachlan
    @wolfv what am I looking for in the config?
    Wolf Vollprecht
    @wolfv
    no idea
    would also have to google
    mcmaclachlan
    @mcmaclachlan
    @wolfv :) thanks for your help and for the mod_proxy_tunnel tip, I'll look into that as well. The rest of the notebook does render though https://studmed.uio.no/voila
    Wolf Vollprecht
    @wolfv
    yeah you just ahve some problem with all the static files
    Adam Scislowicz
    @adam-scislowicz
    I notice conda-build and conda are not very active. Is there a good place to go for help with a conda-build issue. I think it is just some environment interaction when conda calls cmake vs when I call cmake by way of pip. e.g. Its my first time making a conda package. I am using both conda build and conda mambabuild and I'm having a few issues, I think due to interactions with CMAKE and the sysroot used by conda-build. ... Also if anyone wants a quick project I can pay well for the work to get the package building. Note: the issue is just as likely in my CMakeLists file as it might be in my conda build artifacts. I apologize if this is the wrong channel to mention this.
    2 replies
    Adam Scislowicz
    @adam-scislowicz
    The conda-build and conda channels here rather, not the source code repositories.
    Wolf Vollprecht
    @wolfv
    @adam-scislowicz i don't completely understand your problem from this message :)
    do you have a public build script anywhere?
    Adam Scislowicz
    @adam-scislowicz
    @wolfv I don't, it is a private code base. I can whip up a really simple contract for paid access to work with it. A simpler summary, when I build my python package using pip (and thus setup.py) it triggers CMake internally and links correctly. However when I attempt build using conda, which populates a sysroot with the specified versioned components and then executed setup.py it fails to link to the pthread library (but it does detect it), even though I do see that present in the conda sysroot used by the build. I assume I'm not properly detecting the environment within CMake, or not properly excluding the host environment, etc.
    Wolf Vollprecht
    @wolfv
    @adam-scislowicz that might be a problem with Centos 6. Are you using the conda compilers?
    you can install compilers from conda-forge for a quick way to get them
    Adam Scislowicz
    @adam-scislowicz
    @wolfv I'm using debian 11 currently and I do specify {{ compiler('cxx') }} and the same for c in the build requirements section of meta.yaml. However I wasn't aware of the compilers package. Is that something else?
    Wolf Vollprecht
    @wolfv
    you could just add -pthread to the LDFLAGS or CXXFLAGS?
    e.g. export LDFLAGS="$LDFLAGS -pthread may work
    Adam Scislowicz
    @adam-scislowicz
    @wolfv indeed. I may be able to resolve it by forcing that instead of letting cmake detect the pthread method.
    Wolf Vollprecht
    @wolfv
    also you can get verbose build output with -DCMAKE_VERBOSE_MAKEFILE=ON
    Adam Scislowicz
    @adam-scislowicz
    @wolfv in which case it may be that cmake is selecting a different method becuse the sysroot environment is different.
    Wolf Vollprecht
    @wolfv
    you can also link pthread from cmake with Threads::Threads or what it is
    Adam Scislowicz
    @adam-scislowicz
    @wolfv I do use the Threads::Threads method in the library link section after PRIVATE, after earlier using the find_package mandatory technique to get that name populated
    Wolf Vollprecht
    @wolfv
    please check the outptu with -DCMAKE_VERBOSE_MAKEFILE=ON and check if it's properly adding -pthread?
    Adam Scislowicz
    @adam-scislowicz
    @wolfv ah, thank you, I will do that. I was also going to compare the env, between my pip run and my conda mambabuild run (or conda build) run but I was leaning towards outsourcing this as I'm mostly zoomed in on another aspect of the program right now. Although I do intend to build more conda packages in the future.
    Wolf Vollprecht
    @wolfv
    well if you are interested in contracting with us, you can hit us up (info@quantstack.net)
    Adam Scislowicz
    @adam-scislowicz
    yes. I'll send you an email right now
    brandonfosso
    @brandonfosso

    Hi all, I'm trying to use micromamba inside a Dockerfile and am having difficulty. The file:

    FROM ubuntu:18.04
    RUN apt-get update && apt-get install --yes wget
    RUN wget -q -O - https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba && \
        ./bin/micromamba shell init --shell bash --prefix ~/micromamba && \
        echo "micromamba activate" >> ~/.bashrc
    RUN micromamba install --name base --yes numpy -c conda-forge

    and the result of building:

    Step 4/4 : RUN micromamba install --name base --yes numpy -c conda-forge
     ---> Running in 792a0331ab4c
    
                                               __
              __  ______ ___  ____ _____ ___  / /_  ____ _
             / / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
            / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
           / .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
          /_/
    
    WARNING 'root_prefix' set with default value: /root/micromamba
    ERROR   Could not use default 'root_prefix': /root/micromamba
    ERROR   Directory exists, is not empty and not a conda prefix.
    The command '/bin/sh -c micromamba install --name base --yes numpy -c conda-forge' returned a non-zero code: 1
    From googling around (here, here, here, and here), I gather that the issue is likely related to how the final docker command is run. I have tried a number of iterations based on what I've read but with no success.
    brandonfosso
    @brandonfosso
    I REALLY like the idea of micromamba but using it to set up a single environment container has been pretty painful. I just want to install some packages in the base environment so they are there when I need them. Am I going about this the wrong way? Thanks for your help :)
    brandonfosso
    @brandonfosso
    Follow up: I was able to do what I wanted using the mambaorg/micromamba image from dockerhub but I stand by my original question. What was I doing wrong then? Also, please let me know if this is the wrong venue, thanks!
    Sylvain Corlay
    @SylvainCorlay
    you are downloading micromamba in /root/ and are trying to set the root prefix to the same path.
    1 reply
    mcmaclachlan
    @mcmaclachlan
    hi again @wolfv ! Does the virtual host for voila have to be set up on the root of the server for everything to function correctly? Like getting the correct path for the static files, for example?
    Anton Kulaga
    @antonkulaga
    Guys, are there any guides how to activate micromamba and use executables from environment inside a bash script?
    joseberlines
    @joseberlines
    Hi all. I am looking for articles about jupyter hub in the enterprise that can be used to put together in a map for higher up management who is not vwry technical. Its about making them to understand the value of jupyter hub in a data driven organization. Somehow i find so little in the web. Any suggesrion where to look ? Or any concrete succesfull stories around using jupiter hub in the enterpeise? Thanks.
    charmonium
    @charmonium:matrix.org
    [m]
    Is there a mamba equivalent of conda run?
    Jason Grout
    @jasongrout
    Dave, that looks like a great list. Perhaps we should have something like that on jupyter.org, perhaps a Jupyter in the News section?
    Dave Hirschfeld
    @dhirschfeld
    :+1:
    I've also had to argue the case for Jupyter to management so I've kept a list of some references that might be considered more authoritative or tell a story about why it's a useful tool for data science / analytics
    Dave Hirschfeld
    @dhirschfeld
    I think it's useful for others in such a situation so it might be good to keep a list of references/publications on the official Jupyter site
    Ray Bell
    @raybellwaves
    Is there a way of clearing the cache when doing mamba env update? Sometimes I don't get the latest version of a package and i'm guessing and older is cached and it picks that up?
    martinRenou
    @martinRenou
    you can do a mamba clean --all
    Wolf Vollprecht
    @wolfv
    There might also be another package holding the other one back
    Christian Roth
    @croth1
    @wolfv, do I see correctly that mamba remove --force is not yet implemented? Unlike conda, for me it does try to remove all dependent packages as well.
    Wolf Vollprecht
    @wolfv
    yep, it's not
    it's correctly implemented for micromamba
    we just need to copy the implementation to mamba