Forum

error on creating c...
 
Notifications
Clear all

error on creating conda environment

3 Posts
3 Users
1 Reactions
604 Views
Posts: 1
Topic starter
(@shokoofeh)
New Member
Joined: 3 months ago
[#966]

Hi,

 

I am preparing the installation for the Cedalion workshop next week. and encounter the following error while creating the conda environment. 

I tried with two systems both windows and received the same error. any help is appreciated.

 

ERROR conda.core.link:_execute(1026): An error occurred while installing package 'conda-forge::gdk-pixbuf-2.44.5-h1f5b9c4_0'.
Rolling back transaction: done

LinkError: post-link script failed for package conda-forge::gdk-pixbuf-2.44.5-h1f5b9c4_0


Topic Tags
2 Replies
Eike Middell
Posts: 12
(@middell)
Active Member
Joined: 2 years ago

Dear Shokoofeh,

could you please try to install the environment again, with verbose output turned on (-v), and post the output here?

conda env create -n cedalion -f environment_dev.yml -v

We haven't encountered that error before. But reportedly, one of the following problems might cause it:

  • The installation path of conda should not contains spaces or non-ASCII characters.
    After installation, the package gdk-pixbuf tries to run a script that cannot cope with these.
  • When conda is installed deep in a nested directory hierarchy, one can run into problems with Windows' maximum path length of 260 characters.
  • In general, the installation could also fail because of a full disk or because a virus scanner interferes.
    But since you tested it on two systems, I would not expect that to be the case.

If the error messages in the verbose output point at a path issue, the solution would be to reinstall your conda distribution in a short simple path and then to recreate the cedalion environment in there.

Hope this helps. Kind regards,

Eike

 


Reply
1 Reply
(@saramante)
Joined: 3 months ago

New Member
Posts: 1

@middell @shokoofeh 

Hi Eike and Shokoofeh

I had the same problem a few days ago. 

I needed to use create a simple environment using conda and then let pip handle the installation of the project’s libraries.

I sorted out the problem by following these instructions

conda create --name cedalion -c conda-forge python=3.11 pip -y

conda activate cedalion

pip install -e . --upgrade-strategy eager

I hope this helps.

Sara

 


Reply
Share:
en_USEnglish