0

enter image description here I installed package numpy,pandas, and I tried to import it to my project,but unfortunately I received the error: "value error: source code string cannot contain null bytes" i don't have same problem with other package.How should i solve this problem?

dboy
  • 1,004
  • 2
  • 16
  • 24
jack
  • 1
  • 1
  • 1
    Have you check either numpy is in your PYTHONPATH ? Try to run the python code in terminal / console. – dboy Apr 14 '20 at 11:06
  • Looks like you have null characters in your python file, check this SO thread to remove null chars from your file and then try again. https://stackoverflow.com/questions/2398393/identifying-and-removing-null-characters-in-unix/2399817#2399817 – user2077935 Apr 14 '20 at 11:49

0 Answers0