X Tutup
Skip to content

mpl_toolkits.mplot3d has a null byte somewhere #6492

@yogabbagabb

Description

@yogabbagabb

To help us understand and resolve your issue please check that you have provided
the information below.

  • Running Python 3.5 and Matplotlib 1.5.1
  • Installed Matplotlib using pip3

Whenever I write the following statement at the beginning of a module
from mpl_toolkits.mplot3d import Axes3D

,I am returned the following error:

Traceback (most recent call last):
File "/Users/blah/blah/blah/scatter3d_demo.py", line 2, in
from mpl_toolkits.mplot3d import Axes3D
ValueError: source code string cannot contain null bytes

Presumably, either the mplot3d module or the Axes3D one has a null byte (I believe "\0") hidden somewhere, although I haven't found it in either module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup