No module named horovod - horovod

I have already used
pip install horovod in cmd but the package failed to install.
How to deal with it guys. Please Help.
Using cached horovod-0.25.0.tar.gz (3.4 MB)
Requirement already satisfied: cloudpickle in c:\users\hp\anaconda3\lib\site-packages (from horovod) (2.0.0)
Requirement already satisfied: psutil in c:\users\hp\anaconda3\lib\site-packages (from horovod) (5.8.0)
Requirement already satisfied: pyyaml in c:\users\hp\anaconda3\lib\site-packages (from horovod) (6.0)
Requirement already satisfied: cffi>=1.4.0 in c:\users\hp\anaconda3\lib\site-packages (from horovod) (1.15.0)
Requirement already satisfied: pycparser in c:\users\hp\anaconda3\lib\site-packages (from cffi>=1.4.0->horovod) (2.21)
Building wheels for collected packages: horovod
Building wheel for horovod (setup.py) ... error
ERROR: Command errored out with exit status 1:

Related

Installing tensorflow 1.x on Google colab (december 2022)

I have custom google colab notebooks that require tensorflow-gpu==1.15. To install such version, last week I only had to run a cell containing
!pip install --upgrade tensorflow-gpu==1.15
and its output logs were
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting tensorflow-gpu==1.15
Downloading tensorflow_gpu-1.15.0-cp37-cp37m-manylinux2010_x86_64.whl (411.5 MB)
|████████████████████████████████| 411.5 MB 7.6 kB/s
Requirement already satisfied: grpcio>=1.8.6 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (1.49.1)
Requirement already satisfied: wrapt>=1.11.1 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (1.14.1)
Requirement already satisfied: absl-py>=0.7.0 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (1.2.0)
Collecting gast==0.2.2
Downloading gast-0.2.2.tar.gz (10 kB)
Requirement already satisfied: astor>=0.6.0 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (0.8.1)
Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (1.15.0)
Requirement already satisfied: google-pasta>=0.1.6 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (0.2.0)
Collecting tensorflow-estimator==1.15.1
Downloading tensorflow_estimator-1.15.1-py2.py3-none-any.whl (503 kB)
|████████████████████████████████| 503 kB 63.7 MB/s
Requirement already satisfied: keras-preprocessing>=1.0.5 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (1.1.2)
Requirement already satisfied: protobuf>=3.6.1 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (3.17.3)
Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (2.0.1)
Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (3.3.0)
Requirement already satisfied: numpy<2.0,>=1.16.0 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (1.21.6)
Collecting tensorboard<1.16.0,>=1.15.0
Downloading tensorboard-1.15.0-py3-none-any.whl (3.8 MB)
|████████████████████████████████| 3.8 MB 55.0 MB/s
Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.7/dist-packages (from tensorflow-gpu==1.15) (0.37.1)
Collecting keras-applications>=1.0.8
Downloading Keras_Applications-1.0.8-py3-none-any.whl (50 kB)
|████████████████████████████████| 50 kB 5.7 MB/s
Requirement already satisfied: h5py in /usr/local/lib/python3.7/dist-packages (from keras-applications>=1.0.8->tensorflow-gpu==1.15) (3.1.0)
Requirement already satisfied: werkzeug>=0.11.15 in /usr/local/lib/python3.7/dist-packages (from tensorboard<1.16.0,>=1.15.0->tensorflow-gpu==1.15) (1.0.1)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.7/dist-packages (from tensorboard<1.16.0,>=1.15.0->tensorflow-gpu==1.15) (3.4.1)
Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.7/dist-packages (from tensorboard<1.16.0,>=1.15.0->tensorflow-gpu==1.15) (57.4.0)
Requirement already satisfied: importlib-metadata>=4.4 in /usr/local/lib/python3.7/dist-packages (from markdown>=2.6.8->tensorboard<1.16.0,>=1.15.0->tensorflow-gpu==1.15) (5.0.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard<1.16.0,>=1.15.0->tensorflow-gpu==1.15) (3.8.1)
Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard<1.16.0,>=1.15.0->tensorflow-gpu==1.15) (4.1.1)
Requirement already satisfied: cached-property in /usr/local/lib/python3.7/dist-packages (from h5py->keras-applications>=1.0.8->tensorflow-gpu==1.15) (1.5.2)
Building wheels for collected packages: gast
Building wheel for gast (setup.py) ... done
Created wheel for gast: filename=gast-0.2.2-py3-none-any.whl size=7554 sha256=a5728d08759da6f77f4c796ce360966bd8d1f9c0387c6844eb86294c922c0025
Stored in directory: /root/.cache/pip/wheels/21/7f/02/420f32a803f7d0967b48dd823da3f558c5166991bfd204eef3
Successfully built gast
Installing collected packages: tensorflow-estimator, tensorboard, keras-applications, gast, tensorflow-gpu
Attempting uninstall: tensorflow-estimator
Found existing installation: tensorflow-estimator 2.8.0
Uninstalling tensorflow-estimator-2.8.0:
Successfully uninstalled tensorflow-estimator-2.8.0
Attempting uninstall: tensorboard
Found existing installation: tensorboard 2.8.0
Uninstalling tensorboard-2.8.0:
Successfully uninstalled tensorboard-2.8.0
Attempting uninstall: gast
Found existing installation: gast 0.5.3
Uninstalling gast-0.5.3:
Successfully uninstalled gast-0.5.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.8.2+zzzcolab20220929150707 requires tensorboard<2.9,>=2.8, but you have tensorboard 1.15.0 which is incompatible.
tensorflow 2.8.2+zzzcolab20220929150707 requires tensorflow-estimator<2.9,>=2.8, but you have tensorflow-estimator 1.15.1 which is incompatible.
tensorflow-probability 0.16.0 requires gast>=0.3.2, but you have gast 0.2.2 which is incompatible.
Successfully installed gast-0.2.2 keras-applications-1.0.8 tensorboard-1.15.0 tensorflow-estimator-1.15.1 tensorflow-gpu-1.15.0
and it worked perfectly. However, today I ran the very same command and I got
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.15 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0)
ERROR: No matching distribution found for tensorflow-gpu==1.15
Does google colab not support tensorflow-gpu==1.15 anymore?
I also tried to first uninstall the current tensorflow version but did not work either.
EDIT: As #Hiedrass pointed out, you can get it by following the instructions from: https://github.com/googlecolab/colabtools/issues/3266#issuecomment-1348660900

I have installed pipwin but having trouble in installing pyaudio,showing pipwin is not recognizable

PS C:\Users\adity\Desktop\Python project> pip install pipwin
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pipwin in c:\users\adity\appdata\roaming\python\python38\site-packages (0.5.0)
Requirement already satisfied: pySmartDL>=1.3.1; python_version >= "3.4" in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (1.3.4)
Requirement already satisfied: beautifulsoup4>=4.9.0 in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (4.9.3)
Requirement already satisfied: requests in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (2.24.0)
Requirement already satisfied: js2py in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (0.70)
Requirement already satisfied: pyprind in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (2.11.2)
Requirement already satisfied: packaging in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (20.4)
Requirement already satisfied: docopt in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (0.6.2)
Requirement already satisfied: six in c:\users\adity\appdata\roaming\python\python38\site-packages (from pipwin) (1.14.0)
Requirement already satisfied: soupsieve>1.2; python_version >= "3.0" in c:\users\adity\appdata\roaming\python\python38\site-packages (from beautifulsoup4>=4.9.0->pipwin) (2.0.1)
Requirement already satisfied: idna<3,>=2.5 in c:\users\adity\appdata\roaming\python\python38\site-packages (from requests->pipwin) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\adity\appdata\roaming\python\python38\site-packages (from requests->pipwin) (2020.6.20)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\adity\appdata\roaming\python\python38\site-packages (from requests->pipwin) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\adity\appdata\roaming\python\python38\site-packages (from requests->pipwin) (1.25.10)
Requirement already satisfied: tzlocal>=1.2 in c:\users\adity\appdata\roaming\python\python38\site-packages (from js2py->pipwin) (2.1)
Requirement already satisfied: pyjsparser>=2.5.1 in c:\users\adity\appdata\roaming\python\python38\site-packages (from js2py->pipwin) (2.7.1)
Requirement already satisfied: pyparsing>=2.0.2 in c:\users\adity\appdata\roaming\python\python38\site-packages (from packaging->pipwin) (2.4.7)
Requirement already satisfied: pytz in c:\users\adity\appdata\roaming\python\python38\site-packages (from tzlocal>=1.2->js2py->pipwin) (2020.1)
PS C:\Users\adity\Desktop\Python project> pipwin install pyaudio
pipwin : The term 'pipwin' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
pipwin install pyaudio
+ CategoryInfo : ObjectNotFound: (pipwin:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException`enter code here`
Heading
It seems to be an error with the path.
what happens when you type where pipwin in cmd?
If the output is something like this
INFO: Could not find files for the given pattern(s).
then try adding pipwin to PATH or reinstall pipwin.
pip install pipwin

TFCOREML install erorr

When I try and install tfcoreml (package to conver tensorflow files to coreml) it gives me this error:
I have tried installing the coremltools seperatly in a python virtual enviroment...still doesn't work.
Rorys-MBP:~ roryhodgson$ cd tf-coreml
Rorys-MBP:tf-coreml roryhodgson$ pip install -e .
Obtaining file:///Users/roryhodgson/tf-coreml
Requirement already satisfied: numpy>=1.6.2 in /Users/roryhodgson/anaconda3/lib/python3.7/site-packages (from tfcoreml==0.3.0) (1.15.4)
Requirement already satisfied: protobuf>=3.1.0 in /Users/roryhodgson/anaconda3/lib/python3.7/site-packages (from tfcoreml==0.3.0) (3.7.0)
Requirement already satisfied: six>=1.10.0 in /Users/roryhodgson/anaconda3/lib/python3.7/site-packages (from tfcoreml==0.3.0) (1.12.0)
Requirement already satisfied: tensorflow>=1.5.0 in /Users/roryhodgson/anaconda3/lib/python3.7/site-packages (from tfcoreml==0.3.0) (1.13.1)
Collecting coremltools>=0.8 (from tfcoreml==0.3.0)
ERROR: Could not find a version that satisfies the requirement coremltools>=0.8 (from tfcoreml==0.3.0) (from versions: none)
ERROR: No matching distribution found for coremltools>=0.8 (from tfcoreml==0.3.0)
At this point it appears you need to use Python 3.6 with coremltools. It's not working with Python 3.7 yet.
To solve this issue, it's easiest if you install Anaconda (the latest version, which is for Python 3.7) and then create a new virtual environment that uses Python 3.6. Now you can install coremltools / tfcoreml into this virtual environment.

from keras_contrib.layers import InstanceNormalization ModuleNotFoundError: No module named 'keras_contrib

I can not find a solution to this problem:
from keras_contrib.layers import InstanceNormalization
ModuleNotFoundError: No module named 'keras_contrib'
I tried to perform:
!pip install keras_contrib
Got a response:
Requirement already satisfied: keras_contrib in /usr/local/lib/python3.6/dist-packages/keras_contrib-2.0.8-py3.6.egg (2.0.8)
Requirement already satisfied: keras in /usr/local/lib/python3.6/dist-packages (from keras_contrib) (2.2.4)
Requirement already satisfied: keras-preprocessing>=1.0.5 in /usr/local/lib/python3.6/dist-packages (from keras->keras_contrib) (1.0.9)
Requirement already satisfied: h5py in /usr/local/lib/python3.6/dist-packages (from keras->keras_contrib) (2.8.0)
Requirement already satisfied: scipy>=0.14 in /usr/local/lib/python3.6/dist-packages (from keras->keras_contrib) (1.1.0)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.6/dist-packages (from keras->keras_contrib) (3.13)
Requirement already satisfied: keras-applications>=1.0.6 in /usr/local/lib/python3.6/dist-packages (from keras->keras_contrib) (1.0.7)
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.6/dist-packages (from keras->keras_contrib) (1.11.0)
Requirement already satisfied: numpy>=1.9.1 in /usr/local/lib/python3.6/dist-packages (from keras->keras_contrib) (1.14.6)
Tell me where to find a solution?
I use google colab.
First install
!pip install keras==2.3.1
!pip install git+https://www.github.com/keras-team/keras-contrib.git
then import
from keras_contrib.layers.normalization.instancenormalization import InstanceNormalization
This command may help you:
pip install git+https://www.github.com/keras-team/keras-contrib.git
You can install keras_contrib using following commands.
git clone https://www.github.com/keras-team/keras-contrib.git
cd keras-contrib
pip install git+https://www.github.com/keras-team/keras-contrib.git

rasa_nlu Failed building wheel for spacy and Failed building wheel for thinc

conda 4.5.8
Python 3.6.0
Operating system: Win10
According to the rasa_core installation documentation, I have successfully installed rasa_core(pip install rasa_core) and rasa_nlu(pip install rasa_nlu[tensorflow]), of course I also encountered during the installation process. To the problem of Failed building wheel for twisted, I downloaded the installation file corresponding to my operating system and python at https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted: Twisted‐18.7 .0‐cp36‐cp36m‐win_amd64.whl is saved to my machine and successfully installed using cmd into the directory where the .whl file is located (pip install Twisted‐18.7.0‐cp36‐cp36m‐win_amd64.whl).
However, now when I install spacy using pip install rasa_nlu[spacy], I get the following error message:
(rasa) D:\rasa>pip install rasa_nlu[spacy]
Requirement already satisfied: rasa_nlu[spacy] in d:\anaconda3\envs\rasa\lib\site-packages (0.12.3)
Requirement already satisfied: numpy>=1.13 in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (1.15.0)
Requirement already satisfied: six in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (1.11.0)
Requirement already satisfied: simplejson in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (3.16.0)
Requirement already satisfied: pathlib in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (1.0.1)
Requirement already satisfied: packaging in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (17.1)
Requirement already satisfied: typing in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (3.6.4)
Requirement already satisfied: tqdm in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (4.24.0)
Requirement already satisfied: jsonschema in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (2.6.0)
Requirement already satisfied: klein in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (17.10.0)
Requirement already satisfied: cloudpickle in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (0.5.3)
Requirement already satisfied: matplotlib in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (2.2.2)
Requirement already satisfied: requests in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (2.19.1)
Requirement already satisfied: pyyaml in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (3.13)
Requirement already satisfied: boto3 in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (1.7.65)
Requirement already satisfied: future in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (0.16.0)
Requirement already satisfied: gevent in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (1.3.5)
Requirement already satisfied: scikit-learn; extra == "spacy" in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (0.19.2)
Requirement already satisfied: sklearn-crfsuite; extra == "spacy" in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (0.3.6)
Collecting spacy>2.0; extra == "spacy" (from rasa_nlu[spacy])
Using cached https://files.pythonhosted.org/packages/24/de/ac14cd453c98656d6738a5669f96a4ac7f668493d5e6b78227ac933c5fd4/spacy-2.0.12.tar.gz
Requirement already satisfied: scipy; extra == "spacy" in d:\anaconda3\envs\rasa\lib\site-packages (from rasa_nlu[spacy]) (1.1.0)
Requirement already satisfied: pyparsing>=2.0.2 in d:\anaconda3\envs\rasa\lib\site-packages (from packaging->rasa_nlu[spacy]) (2.2.0)
Requirement already satisfied: werkzeug in d:\anaconda3\envs\rasa\lib\site-packages (from klein->rasa_nlu[spacy]) (0.14.1)
Requirement already satisfied: Twisted>=15.5 in d:\anaconda3\envs\rasa\lib\site-packages (from klein->rasa_nlu[spacy]) (18.7.0)
Requirement already satisfied: incremental in d:\anaconda3\envs\rasa\lib\site-packages (from klein->rasa_nlu[spacy]) (17.5.0)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\anaconda3\envs\rasa\lib\site-packages (from matplotlib->rasa_nlu[spacy]) (1.0.1)
Requirement already satisfied: cycler>=0.10 in d:\anaconda3\envs\rasa\lib\site-packages (from matplotlib->rasa_nlu[spacy]) (0.10.0)
Requirement already satisfied: python-dateutil>=2.1 in d:\anaconda3\envs\rasa\lib\site-packages (from matplotlib->rasa_nlu[spacy]) (2.7.3)
Requirement already satisfied: pytz in d:\anaconda3\envs\rasa\lib\site-packages (from matplotlib->rasa_nlu[spacy]) (2018.5)
Requirement already satisfied: certifi>=2017.4.17 in d:\anaconda3\envs\rasa\lib\site-packages (from requests->rasa_nlu[spacy]) (2018.4.16)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in d:\anaconda3\envs\rasa\lib\site-packages (from requests->rasa_nlu[spacy]) (3.0.4)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in d:\anaconda3\envs\rasa\lib\site-packages (from requests->rasa_nlu[spacy]) (1.23)
Requirement already satisfied: idna<2.8,>=2.5 in d:\anaconda3\envs\rasa\lib\site-packages (from requests->rasa_nlu[spacy]) (2.7)
Requirement already satisfied: botocore<1.11.0,>=1.10.65 in d:\anaconda3\envs\rasa\lib\site-packages (from boto3->rasa_nlu[spacy]) (1.10.65)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in d:\anaconda3\envs\rasa\lib\site-packages (from boto3->rasa_nlu[spacy]) (0.9.3)
Requirement already satisfied: s3transfer<0.2.0,>=0.1.10 in d:\anaconda3\envs\rasa\lib\site-packages (from boto3->rasa_nlu[spacy]) (0.1.13)
Requirement already satisfied: cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython" in d:\anaconda3\envs\rasa\lib\site-packages (from gevent->rasa_nlu[spacy]) (1.11.5)
Requirement already satisfied: greenlet>=0.4.13; platform_python_implementation == "CPython" in d:\anaconda3\envs\rasa\lib\site-packages (from gevent->rasa_nlu[spacy]) (0.4.14)
Requirement already satisfied: tabulate in d:\anaconda3\envs\rasa\lib\site-packages (from sklearn-crfsuite; extra == "spacy"->rasa_nlu[spacy]) (0.8.2)
Requirement already satisfied: python-crfsuite>=0.8.3 in d:\anaconda3\envs\rasa\lib\site-packages (from sklearn-crfsuite; extra == "spacy"->rasa_nlu[spacy]) (0.9.5)
Requirement already satisfied: murmurhash<0.29,>=0.28 in d:\anaconda3\envs\rasa\lib\site-packages (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (0.28.0)
Requirement already satisfied: cymem<1.32,>=1.30 in d:\anaconda3\envs\rasa\lib\site-packages (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (1.31.2)
Requirement already satisfied: preshed<2.0.0,>=1.0.0 in d:\anaconda3\envs\rasa\lib\site-packages (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (1.0.0)
Collecting thinc<6.11.0,>=6.10.3 (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy])
Using cached https://files.pythonhosted.org/packages/94/b1/47a88072d0a38b3594c0a638a62f9ef7c742b8b8a87f7b105f7ed720b14b/thinc-6.10.3.tar.gz
Requirement already satisfied: plac<1.0.0,>=0.9.6 in d:\anaconda3\envs\rasa\lib\site-packages (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (0.9.6)
Requirement already satisfied: ujson>=1.35 in d:\anaconda3\envs\rasa\lib\site-packages (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (1.35)
Requirement already satisfied: dill<0.3,>=0.2 in d:\anaconda3\envs\rasa\lib\site-packages (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (0.2.8.2)
Collecting regex==2017.4.5 (from spacy>2.0; extra == "spacy"->rasa_nlu[spacy])
Using cached https://files.pythonhosted.org/packages/ad/0b/c1c5781a707e6ea01bcf57d8ad3c42125260fca67ef79206ecaef04a8754/regex-2017.04.05-cp36-none-win_amd64.whl
Requirement already satisfied: PyHamcrest>=1.9.0 in d:\anaconda3\envs\rasa\lib\site-packages (from Twisted>=15.5->klein->rasa_nlu[spacy]) (1.9.0)
Requirement already satisfied: Automat>=0.3.0 in d:\anaconda3\envs\rasa\lib\site-packages (from Twisted>=15.5->klein->rasa_nlu[spacy]) (0.7.0)
Requirement already satisfied: hyperlink>=17.1.1 in d:\anaconda3\envs\rasa\lib\site-packages (from Twisted>=15.5->klein->rasa_nlu[spacy]) (18.0.0)
Requirement already satisfied: attrs>=17.4.0 in d:\anaconda3\envs\rasa\lib\site-packages (from Twisted>=15.5->klein->rasa_nlu[spacy]) (18.1.0)
Requirement already satisfied: zope.interface>=4.4.2 in d:\anaconda3\envs\rasa\lib\site-packages (from Twisted>=15.5->klein->rasa_nlu[spacy]) (4.5.0)
Requirement already satisfied: constantly>=15.1 in d:\anaconda3\envs\rasa\lib\site-packages (from Twisted>=15.5->klein->rasa_nlu[spacy]) (15.1.0)
Requirement already satisfied: setuptools in d:\anaconda3\envs\rasa\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->rasa_nlu[spacy]) (40.0.0)
Requirement already satisfied: docutils>=0.10 in d:\anaconda3\envs\rasa\lib\site-packages (from botocore<1.11.0,>=1.10.65->boto3->rasa_nlu[spacy]) (0.14)
Requirement already satisfied: pycparser in d:\anaconda3\envs\rasa\lib\site-packages (from cffi>=1.11.5; sys_platform == "win32" and platform_python_implementation == "CPython"->gevent->rasa_nlu[spacy]) (2.18)
Requirement already satisfied: msgpack<1.0.0,>=0.5.6 in d:\anaconda3\envs\rasa\lib\site-packages (from thinc<6.11.0,>=6.10.3->spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (0.5.6)
Requirement already satisfied: msgpack-numpy<1.0.0,>=0.4.1 in d:\anaconda3\envs\rasa\lib\site-packages (from thinc<6.11.0,>=6.10.3->spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (0.4.3.1)
Requirement already satisfied: cytoolz<0.10,>=0.9.0 in d:\anaconda3\envs\rasa\lib\site-packages (from thinc<6.11.0,>=6.10.3->spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (0.9.0.1)
Requirement already satisfied: wrapt<1.11.0,>=1.10.0 in d:\anaconda3\envs\rasa\lib\site-packages (from thinc<6.11.0,>=6.10.3->spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (1.10.11)
Requirement already satisfied: pyreadline>=1.7.1 in d:\anaconda3\envs\rasa\lib\site-packages (from dill<0.3,>=0.2->spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (2.1)
Requirement already satisfied: toolz>=0.8.0 in d:\anaconda3\envs\rasa\lib\site-packages (from cytoolz<0.10,>=0.9.0->thinc<6.11.0,>=6.10.3->spacy>2.0; extra == "spacy"->rasa_nlu[spacy]) (0.9.0)
Building wheels for collected packages: spacy, thinc
Running setup.py bdist_wheel for spacy ... error
Complete output from command D:\Anaconda3\envs\rasa\python.exe -u -c "import setuptools, tokenize;file='C:\Users\spark\AppData\Local\Temp\pip-install-vv2q80rk\spacy\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\spark\AppData\Local\Temp\pip-wheel-qduotc_g --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
...
copying spacy\tests\tokenizer\sun.txt -> build\lib.win-amd64-3.6\spacy\tests\tokenizer
running build_ext
building 'spacy.parts_of_speech' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
Failed building wheel for spacy
Running setup.py clean for spacy
Running setup.py bdist_wheel for thinc ... error
Complete output from command D:\Anaconda3\envs\rasa\python.exe -u -c "import setuptools, tokenize;file='C:\Users\spark\AppData\Local\Temp\pip-install-vv2q80rk\thinc\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\spark\AppData\Local\Temp\pip-wheel-xtskfjxp --python-tag cp36:
Warning: The nvcc binary could not be located in your $PATH. For GPU capability, either add it to your path, or set $CUDA_HOME
running bdist_wheel
running build
running build_py
...
copying thinc\extra\search.cpp -> build\lib.win-amd64-3.6\thinc\extra
running build_ext
building 'thinc.linalg' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
Failed building wheel for thinc
Running setup.py clean for thinc
Failed to build spacy thinc
Installing collected packages: thinc, regex, spacy
Found existing installation: thinc 6.10.2
Uninstalling thinc-6.10.2:
Successfully uninstalled thinc-6.10.2
Running setup.py install for thinc ... error
omplete output from command D:\Anaconda3\envs\rasa\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\spark\\AppData\\Local\\Temp\\pip-install-vv2q80rk\\thinc\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\spark\AppData\Local\Temp\pip-record-1tufq2pm\install-record.txt --single-version-externally-managed --compile:
Warning: The nvcc binary could not be located in your $PATH. For GPU capability, either add it to your path, or set $CUDA_HOME
running install
running build
running build_py
running build_ext
building 'thinc.linalg' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
--------------------------------------
Rolling back uninstall of thinc
Command "D:\Anaconda3\envs\rasa\python.exe -u -c "import setuptools, tokenize;file='C:\Users\spark\AppData\Local\Temp\pip-install-vv2q80rk\thinc\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\spark\AppData\Local\Temp\pip-record-1tufq2pm\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\spark\AppData\Local\Temp\pip-install-vv2q80rk\thinc\
I tried to solve the problem by install theincc-6.10.3.tar.gz and spacy-2.0.12.tar.gz but I was failed, I got a similar error as above.
From the error messages printed it seems that you need to install Microsoft Visual C++ Build Tools
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
I would start there. If that still doesn't work I would also suggest:
Installing with a tool like Anaconda
Installing with Docker
Lastly I would recommend editing your question to put the entire console messages in a code block.