conda :FileNotFoundError: [Errno 2] No such file or directory
1
0
Entering edit mode
5 weeks ago
JieQY • 0

Hello everyone,

When I try to download and install conda, I get the error below

Unpacking payload...
Traceback (most recent call last):
  File "entry_point.py", line 691, in <module>
  File "entry_point.py", line 681, in main
  File "entry_point.py", line 582, in _constructor_subcommand
  File "entry_point.py", line 225, in _constructor_extract_conda_pkgs
  File "concurrent/futures/process.py", line 732, in __init__
  File "concurrent/futures/process.py", line 173, in __init__
  File "multiprocessing/queues.py", line 43, in __init__
  File "multiprocessing/context.py", line 68, in Lock
  File "multiprocessing/synchronize.py", line 169, in __init__
  File "multiprocessing/synchronize.py", line 57, in __init__
FileNotFoundError: [Errno 2] No such file or directory
[115417] Failed to execute script 'entry_point' due to unhandled exception!

I checked the issues about conda on github and tried to re-download and install miniconda. Even though I downloaded a different version of conda, I still get the same error. Also, I deleted the account on the linux server and rebuilt and ran again. The same problem still occurs.

If you have any suggestions I would be grateful!

conda • 450 views
ADD COMMENT
0
Entering edit mode

Please also show us the exact command you're using.

ADD REPLY
0
Entering edit mode

I used wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh to download anaconda, and the above error occurred during the installation process using bash Anaconda3-2024.10-1-Linux-x86_64.sh, which prevented me from installing normally. If you can provide any advice I would be grateful!

ADD REPLY
1
Entering edit mode
5 weeks ago
Mensur Dlakic ★ 29k

First, this is not a bioinformatics question. Second, like most problems it can be solved by Googling the error message:

https://www.google.com/search?q=Failed+to+execute+script+%27entry_point%27+due+to+unhandled+exception!

I think that any of the top 5 search hits will solve the problem.

ADD COMMENT
0
Entering edit mode

Thank you very much for your reply! Yes, as you suggested, I checked the error messages on google and github
https://github.com/conda/conda/issues/9125#issuecomment-624479467

I double checked the installer hash, so the installer sh file is not corrupted, so I assume the downloaded .sh file is complete. In addition, I used the df -h command to check the disk space

Filesystem      Size  Used Avail Use% Mounted on
tmpfs            76G   52M   76G   1% /run
/dev/nvme0n1p2  1.9T   30G  1.8T   2% /
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
efivarfs        256K  115K  137K  46% /sys/firmware/efi/efivars
/dev/nvme0n1p1  511M  6.1M  505M   2% /boot/efi
/dev/sda        102T  2.9T   94T   3% /users
tmpfs            76G   64K   76G   1% /run/user/1002
tmpfs            76G   88K   76G   1% /run/user/128
tmpfs            76G   68K   76G   1% /run/user/1003
tmpfs            76G   64K   76G   1% /run/user/1008

It shows that my disk space is sufficient, so it should not be a problem caused by insufficient disk space.
https://github.com/conda/conda/issues/10143 Also, I tried installing it somewhere other than my home directory, but still got the same error.
If you have any other suggestions I'd be grateful!

ADD REPLY
0
Entering edit mode

There are many things that can be tried to fix this problem, so it is a matter of reading through all of them: 1) convert the format on the external drive from fat32 to ext4; 2) Fixed by mkdir /dev/shm; 3) another solution would be checking your /dev/shm file. It should have 777 permissions; 4) encrypted home directory.

This is a sh script, not bash.

sh Anaconda3-2024.10-1-Linux-x86_64.sh
ADD REPLY

Login before adding your answer.

Traffic: 1451 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6