Fail installing Mercurial and clone the training repository
Hi there!
I have a MacbookPro with El Capitan (OSX 10.11.6). A year ago, I intalled Anaconda, with Python 3.6.7. So, I do not need to install Miniconda, since conda commands are already included, do I? Today, I updated Conda ("conda udate conda"), but I didn't have an upgrade to Python 3.7. Is there a way to do it with a command in the Terminal?
- I intalled VS Code.
- conda channel was already activated (Message: "Warning: 'conda-forge' already in 'channels' list, moving to the top").
- Jupyter and Pyder are already included in Anaconda
- Mercurial: I did "pip intall conda-app" (ok), and "conda-app install mercurial", with the following messages: Create conda environment _env_mercurial with package mercurial-app... warning: json.decoder.JSONDecodeError done Install hg-git with pip... done mercurial should now be installed in /Users/sophiedarfeuil/anaconda3/envs/_env_mercurial Open a new terminal and the command(s) ['hg'] should be available. Traceback (most recent call last): File "/Users/sophiedarfeuil/anaconda3/bin/conda-app", line 11, in sys.exit(main()) File "/Users/sophiedarfeuil/anaconda3/lib/python3.6/site-packages/conda_app.py", line 316, in main install_app(args.package_spec) File "/Users/sophiedarfeuil/anaconda3/lib/python3.6/site-packages/conda_app.py", line 224, in install_app add_to_app_list(app_name) File "/Users/sophiedarfeuil/anaconda3/lib/python3.6/site-packages/conda_app.py", line 247, in add_to_app_list with open(path_data, "w") as file: FileNotFoundError: [Errno 2] No such file or directory: '/Users/sophiedarfeuil/.local/share/conda-app.json'
Then, the command "hg" doesn't work in a new Terminal window ("-bash hg: command not found"), and I cannot verify Mercurial configration nor clone the training repository . Any idea how to fix this issue? Should I install Miniconda anyway and do the installing process from the beginning?
Thanks in advance for your help!
Sophie