0

I try to install

this

git locally:

However when I execute the command in bash python create_text_folder.py -i Apache -o output_dir I receive this error:

MINGW64 /C/git/Personality-Recognition-in-SD (master)
$ python create_text_folder.py -i Apache -o output_dir
Traceback (most recent call last):
  File "create_text_folder.py", line 1, in <module>
    import MailCorpus as mc
  File "C:\git\Personality-Recognition-in-SD\MailCorpus.py", line 1, in <module>
    import rpy2.robjects as robjects
ModuleNotFoundError: No module named 'rpy2'

I run it as admin. How can I procide to fix it?

Elr Mant
  • 507
  • 1
  • 4
  • 14
  • Note to moderators: this is 100% on-topic, and has nothing to do with "general computing hardware and software". – VonC Jul 14 '19 at 04:35

1 Answers1

1

If you are using a Git bash session from a Git For Windows, you need to double-check your Python installation and PYTHONPATH, as in here.

The other approach would be to repeat the clone+installation steps of collab-uniba/Personality-Recognition-in-SD, but in a WSL session (a Windows Subsystem for Linux), which might be more compatible with that program.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250