conda-recipes | Miscellaneous recipes '' for the Conda packaging system | Portal library
kandi X-RAY | conda-recipes Summary
kandi X-RAY | conda-recipes Summary
Miscellaneous "recipes" for the Conda packaging system.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of conda-recipes
conda-recipes Key Features
conda-recipes Examples and Code Snippets
Community Discussions
Trending Discussions on conda-recipes
QUESTION
Using conda, I can not seem to build gcc-5 (or any gcc-X version) recipe on MacOS Mojave:
System pre-reqs- Install Xcode
- Command Line Tools
- Install headers package (/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg)
- Run Xcode, to finalize the install.
- Install Conda, conda-build
- Obtain conda-recipes:
ANSWER
Answered 2019-Oct-08 at 15:03coda-recipes is deprecated, see README.md, conda-forge is the replacement.
On conda-forge, check out clangdev-feedstock.
QUESTION
Whenever I try to build any perl recipes for conda (example), I get the following type of error:
...ANSWER
Answered 2018-May-16 at 17:38Self-answer:
It was a bug in conda that was patched later on: https://github.com/conda/conda-build/issues/1967
Instead of the meta.yaml
parsing Perl import test statements as Perl, it was parsing them as Python.
QUESTION
I'm trying to change my Jupyter notebook starting directory by changing c.NotebookApp.notebook_dir
ANSWER
Answered 2018-Jan-22 at 17:51This has nothing to do with jupyter: that character, and the one on the other end of your string, is not an ASCII apostrophe:
QUESTION
I'm trying to make a conda recipe for ProjectQ. Something weird is going on during the build process under both linux and osx. I can build and install the package by hand (i.e. using 'python setup.py install' from the cloned git repo directory). However, when I make a recipe that does exactly the same thing, it fails. On both linux and osx.
My build recipe is here. What is particularly weird is that even though I specify python 3.6.* under the build requirements in the meta.yaml file, the conda-build procedure names the package "projectq-v0.3.0-py27_0", and when it installs the package, it tries to do so in one of the python 2.7 directories, which is what I assume makes it fail.
So clearly I'm doing something dumb, but I can't for the life of me figure out what. Can anyone see anything I've done wrong? Thanks in advance.
...ANSWER
Answered 2017-May-09 at 15:43I figured this out. Thanks to everyone who took the time to look over my question. There was truly no way that anyone could have figured this out for me, since it was rather specific to the package I was installing. I'm going to try to summarize what I've learned in case someone else runs into anything different.
- First, as I noted in one of the comments, if you're specifying a specific version requirement under the build, you had better specify the same version requirement under run. Initially I had "python 3.6.*" specified under build, but just "python" under run. This caused the package to be named something ending with "-py27_0", since the package name, understandably, depends upon what's required to run it, not to build it.
- The really tricky thing was to understand that there were additional requirements specified in the setup.py script that were being installed automatically when I ran "python setup.py install" by hand, but were not being run when I tried to build under conda. Once I added these requirements to the meta.yaml recipe, everything builds and tests fine.
So, the lessons are to be consistent with your conda requirements between build and run, and make sure you have all of the requirements listed, including bonus requirements that may be specified in the setup.py file.
Thanks again to all who looked at this.
QUESTION
I'm trying to get some R packages compiled using conda build
for upload to anaconda.org, but they just end up containing the recipe. I feel like I may be missing an option for conda build or something. For the sake of this example,
say I download the three files for the recipe for r-aer from here: https://github.com/conda/conda-recipes/tree/master/r-packages/r-aer and then run
ANSWER
Answered 2017-Feb-08 at 21:40Looks like when I ran conda build .
it was installing the (test) library to the first path given by .libPaths()
, which wasn't the path to the conda build environment. Setting .libPaths()
to only refer to the active environment directory fixed this problem.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install conda-recipes
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page