Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make module Python3 compatible.#25

Open
lmcinnes wants to merge 3 commits into
lferry007:master from
lmcinnes:master
Open

Make module Python3 compatible. #25
lmcinnes wants to merge 3 commits into
lferry007:master from
lmcinnes:master

Conversation

@lmcinnes

@lmcinnes lmcinnes commented Apr 4, 2017

Copy link
Copy Markdown

The python module is compatible only with Python2. I have made the minor necessary changes to simultaneously support both Python3 and Python2.

LGro reacted with thumbs up emoji

wlbksy commented Jul 25, 2017

Copy link
Copy Markdown

it works

LGro commented Oct 18, 2017
edited
Loading

Copy link
Copy Markdown

Thanks for the efforts.
Compiling with gcc (GCC) 4.8.5 and installing under Python 3.6.2 :: Continuum Analytics, Inc. I get the following error on import:

ImportError: dynamic module does not define module export function (PyInit_LargeVis)

The solution to this seems to be renaming the function PyInit_myextension(void) in LargeVismodule.cpp:171 to PyInit_LargeVis(void), alongside with the matching change in line 158, where it also still says myextension.
@lmcinnes can you validate this and update your pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /