Git Product home page Git Product logo

Comments (10)

glacierck avatar glacierck commented on May 25, 2024 5

Okay. Here's how I got MITIE in Win10x64 working

git clone https://github.com/mit-nlp/MITIE.git
2.
cd tools/ner_stream
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" ..
cmake --build . --config Release

back the top level MITIE folder

cd mitielib
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" ..
cmake --build . --config Release --target install
3.
made a folder named 'mitie' in the Lib folder of python installation and copied 'MITIE/mitielib/.' all file
s in it

from rasa_nlu_chi.

crownpku avatar crownpku commented on May 25, 2024

Did you also install MITIE?

from rasa_nlu_chi.

glacierck avatar glacierck commented on May 25, 2024

y,Have already completed it.
(⊙o⊙)
git clone https://github.com/mit-nlp/MITIE.git
..
...
....
cmake --build . --config Release

from rasa_nlu_chi.

crownpku avatar crownpku commented on May 25, 2024

It seems strange that your sklearn is version 0.0...

Try run the following command to install all the required packages:

pip install -r requirements.txt

from rasa_nlu_chi.

glacierck avatar glacierck commented on May 25, 2024

pip install -r requirements.txt
Installing collected packages: rasa-nlu
Found existing installation: rasa-nlu 0.10.0
Uninstalling rasa-nlu-0.10.0:
Successfully uninstalled rasa-nlu-0.10.0
Running setup.py develop for rasa-nlu
Successfully installed rasa-nlu

pip install git+https://github.com/mit-nlp/MITIE.git
E:\workspace\rasa_nlu>pip install git+https://github.com/mit-nlp/MITIE.git
Collecting git+https://github.com/mit-nlp/MITIE.git
Cloning https://github.com/mit-nlp/MITIE.git to c:\users\ck\appdata\local\temp\pip-k79ntbwq-build
Installing collected packages: mitie
Running setup.py install for mitie ... error
Exception:
Traceback (most recent call last):
File "d:\program files\python36\lib\site-packages\pip\compat_init_.py", line 73, in console_to_str
return s.decode(sys.stdout.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "d:\program files\python36\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "d:\program files\python36\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "d:\program files\python36\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "d:\program files\python36\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "d:\program files\python36\lib\site-packages\pip\utils_init_.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "d:\program files\python36\lib\site-packages\pip\compat_init_.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte

from rasa_nlu_chi.

crownpku avatar crownpku commented on May 25, 2024

https://github.com/mit-nlp/MITIE

It seems MITIE only supports py27?

from rasa_nlu_chi.

ddonano avatar ddonano commented on May 25, 2024

linux上也报错,“Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install mitie”,按照@glacierck的2、3步骤 安装了,好像没解决,这个工程对mitie有依赖吗

from rasa_nlu_chi.

ddonano avatar ddonano commented on May 25, 2024

搞定了,下载了mitie,执行 python setup.sh install 即可

from rasa_nlu_chi.

glacierck avatar glacierck commented on May 25, 2024

make sure MITIE

from rasa_nlu_chi.

lazyliang95 avatar lazyliang95 commented on May 25, 2024

pip install -r requirements.txt
Installing collected packages: rasa-nlu
Found existing installation: rasa-nlu 0.10.0
Uninstalling rasa-nlu-0.10.0:
Successfully uninstalled rasa-nlu-0.10.0
Running setup.py develop for rasa-nlu
Successfully installed rasa-nlu

pip install git+https://github.com/mit-nlp/MITIE.git
E:\workspace\rasa_nlu>pip install git+https://github.com/mit-nlp/MITIE.git
Collecting git+https://github.com/mit-nlp/MITIE.git
Cloning https://github.com/mit-nlp/MITIE.git to c:\users\ck\appdata\local\temp\pip-k79ntbwq-build
Installing collected packages: mitie
Running setup.py install for mitie ... error
Exception:
Traceback (most recent call last):
File "d:\program files\python36\lib\site-packages\pip\compat__init__.py", line 73, in console_to_str
return s.decode(sys.stdout.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "d:\program files\python36\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "d:\program files\python36\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "d:\program files\python36\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "d:\program files\python36\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "d:\program files\python36\lib\site-packages\pip\utils__init__.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "d:\program files\python36\lib\site-packages\pip\compat__init__.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 24: invalid continuation byte

how did you solve this issue?

from rasa_nlu_chi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.