ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

I got the following error in anaconda while creating the environment for my django please anyone help me. #9911

Open surya1304-zz opened 6 years ago

surya1304-zz commented 6 years ago

Solving environment: failed

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

$ /anaconda3/bin/conda create --name myENV django

environment variables: CIO_TEST= CONDA_ROOT=/anaconda3 PATH=/anaconda3/bin:/anaconda3/bin:/Library/Frameworks/Python.framework/Ver sions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/a naconda3/bin:/anaconda3/anaconda3/bin:/anaconda3/bin:/usr/local/bin:/u sr/bin:/bin:/usr/sbin:/sbin REQUESTS_CA_BUNDLE= SSL_CERT_FILE=

 active environment : None
   user config file : /Users/indukurisuryasaiharischyandraprasad/.condarc

populated config files : /Users/indukurisuryasaiharischyandraprasad/.condarc conda version : 4.5.4 conda-build version : 3.10.5 python version : 3.6.5.final.0 base environment : /anaconda3 (writable) channel URLs : https://repo.continuum.io/pkgs/osx-64 https://repo.continuum.io/pkgs/noarch https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/osx-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/pro/osx-64 https://repo.anaconda.com/pkgs/pro/noarch package cache : /anaconda3/pkgs /Users/indukurisuryasaiharischyandraprasad/.conda/pkgs envs directories : /anaconda3/envs /Users/indukurisuryasaiharischyandraprasad/.conda/envs platform : osx-64 user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Darwin/17.7.0 OSX/10.13.6 UID:GID : 501:20 netrc file : None offline mode : False

V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V

CondaHTTPError: HTTP 404 NOT FOUND for url https://repo.continuum.io/pkgs/noarch/repodata.json Elapsed: 00:00.275031 CF-RAY: 4487e9924cd28999-MAA

The remote server could not find the noarch directory for the requested channel with url: https://repo.continuum.io/pkgs

As of conda 4.3, a valid channel must contain a noarch/repodata.json and associated noarch/repodata.json.bz2 file, even if noarch/repodata.json is empty. please request that the channel administrator create noarch/repodata.json and associated noarch/repodata.json.bz2 files. $ mkdir noarch $ echo '{}' > noarch/repodata.json $ bzip2 -k noarch/repodata.json

You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state. Further configuration help can be found at https://conda.io/docs/config.html.

Actual Behavior

Expected Behavior

Steps to Reproduce

Anaconda or Miniconda version:
Operating System:
conda info
conda list --show-channel-urls
mingwandroid commented 6 years ago

You have an invalid channel listed, probably in your ~/.condarc file:

https://repo.continuum.io/pkgs/noarch

There is no such channel. You need to remove this entry.

On Sat, Aug 11, 2018 at 5:23 AM, surya1304 notifications@github.com wrote:

Solving environment: failed

ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

$ /anaconda3/bin/conda create --name myENV django

environment variables: CIO_TEST= CONDA_ROOT=/anaconda3 PATH=/anaconda3/bin:/anaconda3/bin:/Library/Frameworks/Python.framework/ Ver sions/3.7/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/a naconda3/bin:/anaconda3/anaconda3/bin:/anaconda3/bin:/usr/local/bin:/u sr/bin:/bin:/usr/sbin:/sbin REQUESTS_CA_BUNDLE= SSL_CERT_FILE=

active environment : None user config file : /Users/indukurisuryasaiharischyandraprasad/.condarc

populated config files : /Users/indukurisuryasaiharischyandrap rasad/.condarc conda version : 4.5.4 conda-build version : 3.10.5 python version : 3.6.5.final.0 base environment : /anaconda3 (writable) channel URLs : https://repo.continuum.io/pkgs/osx-64 https://repo.continuum.io/pkgs/noarch https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/osx-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/pro/osx-64 https://repo.anaconda.com/pkgs/pro/noarch package cache : /anaconda3/pkgs /Users/indukurisuryasaiharischyandraprasad/.conda/pkgs envs directories : /anaconda3/envs /Users/indukurisuryasaiharischyandraprasad/.conda/envs platform : osx-64 user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Darwin/17.7.0 OSX/10.13.6 UID:GID : 501:20 netrc file : None offline mode : False

V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V

CondaHTTPError: HTTP 404 NOT FOUND for url https://repo.continuum.io/ pkgs/noarch/repodata.json Elapsed: 00:00.275031 CF-RAY: 4487e9924cd28999-MAA

The remote server could not find the noarch directory for the requested channel with url: https://repo.continuum.io/pkgs

As of conda 4.3, a valid channel must contain a noarch/repodata.json and associated noarch/repodata.json.bz2 file, even if noarch/repodata.json is empty. please request that the channel administrator create noarch/repodata.json and associated noarch/repodata.json.bz2 files. $ mkdir noarch $ echo '{}' > noarch/repodata.json $ bzip2 -k noarch/repodata.json

You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state. Further configuration help can be found at https://conda.io/docs/config. html. Actual Behavior Expected Behavior Steps to Reproduce Anaconda or Miniconda version: Operating System: conda info

conda list --show-channel-urls

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ContinuumIO/anaconda-issues/issues/9911, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_pdNFwHEZKHEdKBiut9xwIVnt4xiQpks5uPlxXgaJpZM4V5BsL .

surya1304-zz commented 6 years ago

@mingwandroid

This is a sample .condarc file

channel locations. These override conda defaults, i.e., conda will

search only the channels listed here, in the order given. Use "defaults" to

automatically include all default channels. Non-url channels will be

interpreted as binstar usernames (this can be changed by modifying the

channel_alias key; see below).

channels:

Alias to use for non-url channels used with the -c flag. Default is https://conda.binstar.org/

channel_alias: https://your.repo/

Proxy settings: http://[username]:[password]@[server]:[port]

proxy_servers: http: http://user:pass@corp.com:8080 https: https://user:pass@corp.com:8080

directory in which conda root is located (used by conda init)

root_dir: ~/.local/conda_root

directories in which environments are located

envs_dirs:

directories in which package cache can be present

pkgs_dirs:

implies always using the --yes option whenever asked to proceed

always_yes: True

disallow soft-linking (default is allow_softlinks: True,

i.e. soft-link when possible)

allow_softlinks: False

always use soft-links instead of hard-links (default False)

always_softlink: True

change ps1 when using activate (default True)

changeps1: False

use pip when installing and listing packages (default True)

use_pip: False

binstar.org upload (not defined here means ask)

binstar_upload: True

when creating new environments add these packages by default

create_default_packages:

disallowed specification names

disallow:

enable certain features to be tracked by default

track_features:

This is my .condarc file what is wrong here bro