sh file again via the WSL command line into another directory another drive. Previously I had a doubt that my C drive would be enough, then I tried to install the. Causing me unable to follow the next step ahead. I accidentally pressed enter, which means "no". Do you wish the installer to prepend theĪnaconda3 install location to PATH in your /home/linuxize/.bashrc ? I first installed my anaconda using the following tutorial : MAKE SURE YOU DELETE THE CHANNEL ITSELF.I am a newbie in this WSL (even Linux command system in general) business. So the correct code to type into Terminal is: conda config -remove channels PyPdf2ĪGAIN, DON'T TRY TO DELETE THE CHANNEL URL. In OP's case, his channel was most likely called PyPdf2 So you type in: conda config -remove channels new_channelĪnd boom, all the new_channel URLs are gone. It's called new_channel (may seem obvious, but sometimes not to us beginners). Now you know what your channel is called. What you have to do is type in the following: conda config -show channels So I was thinking, ok, let me just type in the following. Originally I typed conda info and saw the following: If you're trying to delete the the channel URL, you cannot delete it using: conda config -remove channels One is the channels and one is the channel URLs. There's two types of "channels" in Conda. condarc file (maybe someone will enlighten me please) but I was able to use the terminal to complete this. I accidentally added "new_channel" to my channels list and could not figure out how to remove it. Hopefully my answer helps someone else out there using Mac OS terminal. condarc directly but it's useful to know how to do it through conda config. In this case, since there were several channels to remove, it was probably faster to simply edit the. You can also add channels through the -add command so, for example, we could add back that channel with conda config -add channels ''. If we then want to remove the github channel we would do conda config -remove channels ''. Then if we do conda config -get channels we will see returned: -add channels 'defaults' # lowest priority condarc file lists the following channels: channels: condarc file with the conda config command. You can interact with the channels, and other data, in your. As noted by these channels can be found in the. These are where conda will look for packages. Mohammad Elnesr\.condarcĪll those URLs that you see in your conda info are your channel URLs. :\Downloads\Compressed\PyPDF2-master\/noarch/Ĭonfig file : C:\Users\Dr. :\Downloads\Compressed\PyPDF2-master\/win-64/ Root environment : C:\Anaconda2 (writable) Note: I have uninstalled Anaconda, and reinstall, but no luck! C:\WINDOWS\system32>conda info Simply, I want to remove all these URLS from anaconda's channel URLs, How can I do it? No matter manually or automatic. I typed the command conda info to see what causes the error, I found lots of URLs that points to PyPdf2! Error: Invalid index file: : No JSON object could be decoded Unfortunately, I failed, but the URLs that was added to Anaconda environment prohibit the updates of all the Conda libraries.Įvery time I tried to update anaconda it gives the following conda update condaįetching package metadata. Recently I needed to install PyPdf2 to one of my programs using Anaconda.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |