2

When i try to run:

python3 install.py --all

For a while it loads things but then i get:

/usr/bin/python3: can't open file 'setup.py': [Errno 2] No such file or directory
Failed to build watchdog module.

My Install is a fresh minimal install of Ubuntu 20.04, so far i've tried:

sudo apt install build-essential
sudo apt install python3-dev
pip3 install setuptools
pip3 install --upgrade setuptools

I also saw, that i should run this, from where the "setup.py" file is but i cannot find that also

Any help is much appreciated!

Delete Man
  • 21
  • 2

1 Answers1

-1

Did you actually download YouCompleteMe first? You run the python3 install.py command from within the directory you downloaded it to. Notice the instructions here. See how the commands go:

cd ~/.vim/bundle/YouCompleteMe
python3 install.py --all

The first cd command goes to the directory that it assumes you downloaded the plugin to.

doopNudles
  • 635
  • 4
  • 9
  • 1
    Yes i did install it with vundle, and i seem to have all the files required. – Delete Man Jun 24 '20 at 08:40
  • You said you couldn't find the `setup.py` file in your question. So if you found it, run the command in the same directory. – doopNudles Jun 24 '20 at 10:55
  • 1
    No i did not find it, but my files at `~/.vim/bundle/YouCompleteMe` match the ones found on their github page, but their github page also misses `setup.py` – Delete Man Jun 24 '20 at 14:30
  • 1
    Problem Solved! I tried reinstalling YouCompleteMe several time, following a guide on how to uninstall on Vundle, but they didn't tell me that after deleting the plugin from `.vimrc` you also have to manually remove the folder `~/.vim/bundle/YouCompleteMe` , after that the installation was a succes, thank you for your time! – Delete Man Jun 24 '20 at 14:46