-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conda skeleton cran: "CMD: command not found" #2603
Comments
when you see errors like this, you need to look at the file that the error mentions:
It shows:
So the problem is that the R environment variable is not getting defined properly. That's a conda-build bug, and we'll look into it. |
@mingwandroid fixed the cran skeleton generator at #2614. The problem was that the old generator wasn't correctly distinguishing between host and build dependencies. You'll need to regenerate or adapt any recipes you already have. I'll be tagging a new conda-build release later today. |
Thanks for the clarification! I updated
Is there something that I'm doing wrong? |
This is a different error. In your root/base env please run conda update python |
Thanks for the quick feedback! I tried updating python:
Then, I re-did the entire process as listed above and am getting what appears to be the same error:
|
I used |
You have our compilers installed in your base env I think? This can only work if you also have a python that supports them. You have two choices to get that, reinstall the latest miniconda (4.3.31) with -f over the top or unset _,PYTHON_SYSCONFIGDATA_NAME then update python from defaults. Note, conda-forge Python does not support our compilers yet so you cannot have both that and our compilers installed in your base env. Ours is much faster and better anyway. |
Great. You are now building r packages with our new compilers. This "could" cause some issues for you as your r interpreter will not have been built using them and so will load your system libgcc or the one from the GCC 4.8.5 package and which libstdc++ gets loaded will depend on package load order. You may need to modify conda skeleton cran to prevent this. We'll see. |
Besides the The |
Hi there, thank you for your contribution! This issue has been automatically locked because it has not had recent activity after being closed. Please open a new issue if needed. Thanks! |
I'm trying to create conda packages for some R packages hosted on CRAN. I'm using
conda skeleton cran
, which worked for thePACo
R package:However, I'm getting an error when trying to do the same for the
PMA
R package:This generates the following output:
I don't see why I'm getting the error:
/ebio/abt3_projects/software/dev/miniconda3_dev/conda-bld/r-pma_1514279826347/work/conda_build.sh: line 64: CMD: command not found
My conda environment is:
The text was updated successfully, but these errors were encountered: