简体   繁体   中英

setup.py Not Found When Trying To Install YouCompleteMe

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!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM