Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems upgrading anaconda #1826

Closed
eduardvives opened this issue Nov 15, 2015 · 8 comments
Closed

Problems upgrading anaconda #1826

eduardvives opened this issue Nov 15, 2015 · 8 comments
Labels
locked [bot] locked due to inactivity

Comments

@eduardvives
Copy link

My operating system is

OS X El Capitan
10.11.1

After typing the command
conda update anaconda
I got the following error message:

An unexpected error has occurred, please consider sending the | 5%
following traceback to the conda GitHub issue tracker at:

https://github.com/conda/conda/issues

Include the output of the command 'conda info' in your report.

Traceback (most recent call last):
File "/Users/eduard/anaconda/bin/conda", line 5, in
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 179, in main
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/cli/main_update.py", line 39, in execute
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/cli/install.py", line 276, in install
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/plan.py", line 419, in execute_actions
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/plan.py", line 401, in execute_plan
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/plan.py", line 357, in link
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/install.py", line 438, in link
File "/Users/eduard/anaconda/lib/python2.7/site-packages/conda/install.py", line 172, in update_prefix
IOError: [Errno 2] No such file or directory: '/opt/anaconda1anaconda2anaconda3 text bin/fits2bitmap'

@ckreisch
Copy link

I have the exact same problem and output. Can someone resolve this issue?

@kalefranz
Copy link
Contributor

@ckreisch What is the output of conda info?

@ckreisch
Copy link

atlas@atlas-Inspiron-5537:~$ conda info
bash: /home/atlas/anaconda/bin/conda: No such file or directory

@kalefranz
Copy link
Contributor

Looks related to #1733 I think. What is the output of ls -al /home/atlas/anaconda? I'm wondering what the permissions are on the /home/atlas/anaconda directory.

@ckreisch
Copy link

drwxrwxr-x 9 atlas atlas 4096 Jan 18 21:14 .
drwxr-xr-x 57 atlas atlas 4096 Jan 18 11:33 ..
drwxrwxr-x 2 atlas atlas 12288 Jan 18 20:44 bin
drwxrwxr-x 2 atlas atlas 12288 Jan 18 20:44 conda-meta
drwxrwxr-x 2 atlas atlas 4096 May 18 2014 envs
drwxrwxr-x 6 atlas atlas 4096 May 18 2014 Examples
drwxrwxr-x 44 atlas atlas 4096 Jan 18 20:44 include
drwxrwxr-x 10 atlas atlas 20480 Jan 18 20:44 lib
drwxrwxr-x 17 atlas atlas 12288 Jan 18 21:24 pkgs

@billcary
Copy link

billcary commented Feb 3, 2016

I am having a similar problem with 'conda update conda.' Error message and 'conda info' output included below. I have not tried to simply uninstall/reinstall at this point.

conda info
Current conda install:
platform : win-64
conda version : 3.11.0-dirty
conda-build version : 1.3.5
python version : 2.7.7.final.0
requests version : 2.7.0
root environment : C:\ANACONDA (writable)
default environment : C:\ANACONDA
envs directories : C:\ANACONDA\envs
package cache : C:\ANACONDA\pkgs
channel URLs : https://repo.continuum.io/pkgs/free/win-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/win-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
is foreign system : False

conda update conda results
_An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:

https://github.com/conda/conda/issues

Include the output of the command 'conda info' in your report.

Traceback (most recent call last):
File "C:\ANACONDA\SCRIPTS\conda-script.py", line 4, in
sys.exit(main())
File "C:\ANACONDA\lib\site-packages\conda\cli\main.py", line 207, in main
args_func(args, p)
File "C:\ANACONDA\lib\site-packages\conda\cli\main.py", line 212, in args_func
args.func(args, p)
File "C:\ANACONDA\lib\site-packages\conda\cli\common.py", line 609, in inner
return func(args, parser)
File "C:\ANACONDA\lib\site-packages\conda\cli\main_update.py", line 44, in execute
install.install(args, parser, 'update')
File "C:\ANACONDA\lib\site-packages\conda\cli\install.py", line 413, in install
plan.execute_actions(actions, index, verbose=not args.quiet)
File "C:\ANACONDA\lib\site-packages\conda\plan.py", line 531, in execute_actions
inst.execute_instructions(plan, index, verbose)
File "C:\ANACONDA\lib\site-packages\conda\instructions.py", line 156, in execute_instructions
cmd(state, arg)
File "C:\ANACONDA\lib\site-packages\conda\instructions.py", line 105, in ENSURE_WRITE_CMD
install.ensure_write(state["prefix"], arg)
File "C:\ANACONDA\lib\site-packages\conda\install.py", line 658, in ensure_write
files = [a for a in meta["files"] if not a.lower().endswith("conda.exe")]
TypeError: 'NoneType' object has no attribute 'getitem'_

@ckreisch
Copy link

ckreisch commented Feb 3, 2016

I just uninstalled and reinstalled. Hopefully this problem will be fixed soon so people do not lose additional installed packages.

@github-actions
Copy link

github-actions bot commented Nov 1, 2021

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Nov 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

5 participants