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

Unable to create a clone installation in conda3 #1248

Closed
183amir opened this issue Apr 4, 2015 · 5 comments
Closed

Unable to create a clone installation in conda3 #1248

183amir opened this issue Apr 4, 2015 · 5 comments
Labels
locked [bot] locked due to inactivity

Comments

@183amir
Copy link
Contributor

183amir commented Apr 4, 2015

Traceback:

Traceback (most recent call last):
  File "./conda", line 5, in <module>
    sys.exit(main())
  File "/opt/anaconda/lib/python3.4/site-packages/conda/cli/main.py", line 201, in main
    args_func(args, p)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/cli/main.py", line 206, in args_func
    args.func(args, p)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/cli/main_create.py", line 50, in execute
    install.install(args, parser, 'create')
  File "/opt/anaconda/lib/python3.4/site-packages/conda/cli/install.py", line 164, in install
    clone(args.clone, prefix, json=args.json, quiet=args.quiet)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/cli/install.py", line 85, in clone
    quiet=quiet)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/misc.py", line 173, in clone_env
    execute_actions(actions, index=get_index(), verbose=not quiet)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/plan.py", line 587, in execute_actions
    execute_plan(plan, index, verbose)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/plan.py", line 569, in execute_plan
    link(prefix, arg, index=index)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/plan.py", line 525, in link
    install.link(pkgs_dir, prefix, dist, lt, index=index)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/install.py", line 532, in link
    update_prefix(join(prefix, f), prefix, placeholder, mode, instdir=instdir)
  File "/opt/anaconda/lib/python3.4/site-packages/conda/install.py", line 254, in update_prefix
    with open(path, 'rb') as fi:
FileNotFoundError: [Errno 2] No such file or directory: '/home/amir/envs/anaconda/lib/libfreetype.la'

Current conda install:

           platform : linux-64
      conda version : 3.7.0
conda-build version : 1.8.2
     python version : 3.4.1.final.0
   requests version : 2.4.1
   root environment : /opt/anaconda  (read only)
default environment : /opt/anaconda
   envs directories : /home/amir/envs
                      /opt/anaconda/envs
      package cache : /home/amir/envs/.pkgs
                      /opt/anaconda/pkgs
       channel URLs : http://repo.continuum.io/pkgs/free/linux-64/
                      http://repo.continuum.io/pkgs/pro/linux-64/
        config file : None
  is foreign system : False
@ilanschnell
Copy link
Contributor

What exactly is the command you typed?

@183amir
Copy link
Contributor Author

183amir commented Apr 5, 2015

conda create -n anaconda --clone=/opt/anaconda

Also, I am using a packaged version available at here: https://aur.archlinux.org/packages/anaconda
Two patches are applied during installation but I do not think they are related with this problem.

@183amir
Copy link
Contributor Author

183amir commented Apr 5, 2015

Ok. I think the problem is because .la files are removed during packaging this program in Arch Linux.

@ilanschnell
Copy link
Contributor

Ah, I wasn't aware that Anaconda is repackaged for Arch Linux. Removing files from Anaconda during installation would be a problem. When you install Anaconda directly (using the 64-bit Linux installer from http://continuum.io/downloads), you should not run into this problem.

@github-actions
Copy link

github-actions bot commented Dec 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 Dec 1, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 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

2 participants