简体   繁体   中英

Can´t install chatterbot library

I try to install with command pip install chatterbot with the CMD.

In the path C./ it seems to be installed python 2.7 in a directory called python27 but there is another python dir in c:\\users\\arcanet\\appdata\\local\\programs\\python\\python37-32\\ . When I try to install throws me the following exception:

Command "c:\\users\\arcanet\\appdata\\local\\programs\\python\\python37-32\\python.exe c:\\users\\arcanet\\appdata\\local\\programs\\python\\python37-32\\lib\\site-packages\\pip install --ignore-installed --no-user --prefix C:\\Users\\ARCANET\\AppData\\Local\\Temp\\pip-build-env-_w62yget\\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel>0.32.0.<0.33.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.0.0.dev6" failed with error code 1 in Noneimport telegram

I would recommend going into your advanced system settings then clicking environment Variables in the bottom right. Underneath the System Variables pane scroll down until you see Path , go ahead and click edit. You may already have a Python path added, if so delete it and click new. Open a file explorer to your python 2.7 scripts directory and copy the url from the top and paste that into the new file path.

Hope this helped!

  • Maverick

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