I'm trying to import pymorphy2, the most banal

import pymorphy2 

I get an error in this line:

ValueError: source code string cannot contain null bytes

Windows 7, python 3.6.5. How to fix it?

Announced June 9 at 11:13 am requiring editing by the participants insolor , vmchar , 0xdb , freim , mymedia , as off topic.

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - insolor, vmchar, 0xdb, freim
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Windows10, python 3.6.5 (x86), not reproduced. How to install the library? - insolor
  • And where did you get this library? And what is it for? Through pip is not set. - Alexander
  • @Alexander , pymorphy2 is put through pip, in the question in the line with import there is a typo in the name of the library. - insolor
  • I have Window 8, Python 3.6.0 installed and assembled, no problem. c import also had no problems. - Alexander
  • @lynx Try to reinstall may matter in the compiler ... - Alexander

0