Hello there,
Ubuntu 22 user here. I tried to setup conda env with environment_ubuntu.yml and it didn't work :
conda env create -f environment_ubuntu.yml
2 channel Terms of Service accepted
ERROR conda.plugins.manager:detect_environment_specifier(599): EnvironmentSpec hook: an error occurred when handling 'environment_ubuntu.yml' with plugin 'explicit'. 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Channels:
- anaconda
- conda-forge
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- unsupported request
- unsupported request
- package intel-openmp-2023.1.0-hdb19cb5_46305 requires zlib >=1.2.13,<1.2.14, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ intel-openmp =2023.1.0 * is installable and it requires
│ └─ zlib >=1.2.13,<1.2.14 *, which can be installed;
├─ libintl-devel =0.22.5 * does not exist (perhaps a typo or a missing channel);
├─ libintl =0.22.5 * does not exist (perhaps a typo or a missing channel);
└─ libzlib =1.3.1 * is not installable because there are no viable options
├─ libzlib 1.3.1 would require
│ └─ zlib ==1.3.1 *, which conflicts with any installable versions previously reported;
├─ libzlib 1.3.1 would require
│ └─ zlib ==1.3.1 *_1, which conflicts with any installable versions previously reported;
├─ libzlib 1.3.1 would require
│ └─ zlib ==1.3.1 *_2, which conflicts with any installable versions previously reported;
└─ libzlib 1.3.1 would require
└─ zlib ==1.3.1 *_0, which conflicts with any installable versions previously reported.
I removed the zlib version specification and removed these:
- intel-openmp=2023.1.0
- libintl=0.22.5
- libintl-devel=0.22.5
- libzlib=1.3.1
I also change the encoding type to remove the first line of the ouput of the command (not mandatory) :
iconv -f UTF-16 -t UTF-8 environment_ubuntu.yml -o environment_ubuntu_fixed.yml
and it worked !
For your information I did this because I wanted to use JOBuilder.py locally and it worked well with this conda environment, I've been able to generate a JO that worked for the BPS stack.
If you want I can open a pull request with the modified environment_ubuntu.yml file.
Thank you.
Titouan
Hello there,
Ubuntu 22 user here. I tried to setup conda env with environment_ubuntu.yml and it didn't work :
I removed the zlib version specification and removed these:
I also change the encoding type to remove the first line of the ouput of the command (not mandatory) :
and it worked !
For your information I did this because I wanted to use JOBuilder.py locally and it worked well with this conda environment, I've been able to generate a JO that worked for the BPS stack.
If you want I can open a pull request with the modified environment_ubuntu.yml file.
Thank you.
Titouan