Solving environment: done => WARNING: A newer version of conda exists. zshrc $ conda create -name py python =3.7 anaconda # add "anaconda" for the last argument so that you can use anaconda libraries in your python environment zprofile $ echo 'export PATH="$PYENV_ROOT/versions/anaconda3-5.3.1/bin/:$PATH"' > ~/.zshrc # add path for using "conda" command $ source ~/.zshrc # read. $ pyenv global anaconda3-5.3.1 # select version of anaconda you want to use $ echo 'eval "$(pyenv init -)"' > ~/.zprofile # create PATH for pyenv $ source ~/.zprofile # read. Check version of anaconda you are going to install.□ /usr/local/Cellar/pyenv/1.2.9: 619 files, 2.4MBĮxport PKG_CONFIG_PATH = "/usr/local/opt/readline/lib/pkgconfig" $ pyenv -version # check pyenv installed In order to prevent conflicts when programs look for libreadline we areĭefaulting this GNU Readline installation to keg-only.įor compilers to find readline you may need to set:Įxport LDFLAGS = "-L/usr/local/opt/readline/lib" export CPPFLAGS = "-I/usr/local/opt/readline/include"įor pkg-config to find readline you may need to set:Įxport PKG_CONFIG_PATH = "/usr/local/opt/readline/lib/pkgconfig" => Summary Readline is keg-only, which means it was not symlinked into /usr/local,īecause macOS provides the BSD libedit library, which shadows libreadline. => Installing pyenv dependency: pkg-config □n /use/ltcal/Cvllar/autoionf/2.69: 71 files, 3.0MBr e e e usr/local/share/emacs/site-lisp/autoconf =>/Installing pyenv dependency: autoconf 2 They are only using Anaconda because that's what hip Python coders do and they are all looking for better jobs and need Anaconda on their resumes.=> Installing dependencies for pyenv: autoconf, pkg-config and readline But even then, in most cases, they don't need that. It is for people who need, or think they need, to run multiple different Python versions. Why do you even want to run Anaconda to begin with? That is a very advanced, virtual Python environment. I'm not familiar with whatever Python installation you are using. Unfortunately, I can't tell you what your PATH should be other than it definitely shouldn't be that. But you've already destroyed your existing path, so nothing else is going to work. You prepend your custom path to the existing path. Look towards the end to see how Anaconda changes the path. And that "or more" part is very important. A PATH environment variable should specify one or more directories that will be used to find any executable. You don't put the full path to an executable. In that second line, you are deleting your entire path and replacing it with the path to what appears to be a 3rd party installation of Python3. You are unlikely to find anyone here who uses it. This is a user-to-user support forum for Apple products. For months, they had been using old, buggy versions. Their virtual environments were so misconfigured that they had no idea what versions of tools they were running. They were just doing such important and difficult work that they needed that much RAM. They were so confused about their software crashing that they purchased 5 top-of-the-line servers with 1 TB RAM each because they were certain they were running out of memory. I have worked with professional programmers who use Anaconda and similar tools. Said tutorials are little more than online portfolios for job hunting. That’s why you see it in those tutorials. People only use it to put on their resume because it is expected from professional Python programmers. This is not something appropriate for beginners. I strongly suggest that you do not use Anaconda and remove it from your computer. That is your system path being scrambled. What you read on the internet isn’t true, not about Anaconda or anything else.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |