#πŸ”’ πŸ”’ Too many symbolic links

20 messages Β· Page 1 of 1 (latest)

mental nacelle
#

Good morning, anyone can help me to delete symbolic links reported in this screenshot please? πŸ™‚

summer portalBOT
#

@mental nacelle

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

crisp pumice
mental nacelle
#

I asked this because I'm trying to use python on obs studio for a project but when I do some testing it gives me the error "too many symbolic links"

#

So I would try to fix it

#

Sorry obviously but I'm not an expert on this hahaha

crisp pumice
#

can easily be done in the shell

find . -maxdepth 1 -type l -delete
```this removes all sym links in the current directory, so be careful with it
#

as i included the -maxdepth 1 option it will not descend into subdirectories

#

or did you want to do this from a python script specifically?

#

i'm guessing the screenshot was from the bin directory of an venv, right?

mental nacelle
#

it's from a pyenv framework bin, but yes, a virtual env nonetheless

#

the issue is I can't use it because the sym links appear to be recursing? and I get errors when trying to run any command

#

the complete error states:

Impossibile completare l'operazione. Troppi livelli di link simbolici

Which roughly translates to:

Could not complete operation: too many symbolic link levels
crisp pumice
#

what command are you trying to run when you get that error message?

mental nacelle
#

in this last case I was selecting the env in my vsc instance

#

as we were speaking, i tried some stuff.
namely, I reisntalled the pyenv python 3.12 version, and attempted all my previous commands, on this attempt, as nothing has changed in the system, it started working mysteriously... sorry for taking up your time and thank you for the patience, I will close the issue πŸ˜„

summer portalBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

πŸ”’ Too many symbolic links

summer portalBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.