0

I am in a small cluster environment where Anaconda 4.2 is installed, however, if I go to the bin folder of Anaconda and run conda, it says:

ImportError: No module named conda.cli

The content of this conda is below:

$ cat conda
#!/usr/bin/env python
if __name__ == '__main__':
    import sys
    import conda.cli

    sys.exit(conda.cli.main())

I don't want to install conda again as I am not sure if it would ruin the existing installation which was within Cloudera's parcels management, and I doubt if I need to re-install it.

Any idea would be appreciated.

Thank you.

Grant Winney
  • 65,241
  • 13
  • 115
  • 165
Choix
  • 555
  • 1
  • 12
  • 28
  • 1
    Thank you Grant, that post is the answer – Choix Aug 21 '18 at 15:41
  • Hi again Grant, I need to run conda to install R with sudo, however, `sudo conda....` gets error of: `sudo:conda:command not found`. Any idea? Thanks – Choix Aug 21 '18 at 17:28
  • Thanks. `CondaIOError: IO error: Missing write permissions in: /opt/cloudera/parcels/Anaconda` – Choix Aug 21 '18 at 19:32
  • 1
    In fact I just figured it out, I can use sudo -i to interactively run as root! Thanks. – Choix Aug 21 '18 at 19:39

0 Answers0