Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"LINK : error LNK2001: unresolved external symbol PyInit_fisher/cfisher" #37

Closed
Guangyou opened this issue May 29, 2015 · 3 comments
Closed

Comments

@Guangyou
Copy link

Hi All,

I met a problem when I tried to install goatools on Windows 7 system. I am looking forward to your suggestion!

The python version is 3.4 (32bit). I have installed VS2010.

The error shows:

Searching for goatools
Best match: goatools 0.5.5
Processing goatools-0.5.5-py3.4.egg
goatools 0.5.5 is already the active version in easy-install.pth
Installing map_to_slim.py script to C:\Python34\Scripts
Installing plot_go_term.py script to C:\Python34\Scripts
Installing write_hierarchy.py script to C:\Python34\Scripts
Installing find_enrichment.py script to C:\Python34\Scripts

Using c:\python34\lib\site-packages\goatools-0.5.5-py3.4.egg
Processing dependencies for goatools
Searching for fisher
Reading https://pypi.python.org/simple/fisher/
Best match: fisher 0.1.4
Downloading https://pypi.python.org/packages/source/f/fisher/fisher-0.1.4.tar.gz#md5=bfc763b7333a1f428e4c447dd8a85968
Processing fisher-0.1.4.tar.gz
Writing C:\Users\Duan\AppData\Local\Temp\easy_install-khjvz9br\fisher-0.1.4\setup.cfg
Running fisher-0.1.4\setup.py -q bdist_egg --dist-dir C:\Users\Duan\AppData\Local\Temp\easy_install-khjvz9br\fisher-0.1.4\egg-dist-tmp-xgn4zhdy
cfisher.c
c:\python34\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
LINK : error LNK2001: unresolved external symbol PyInit_fisher/cfisher
build\temp.win32-3.4\Release\src\cfisher.lib : fatal error LNK1120: 1 unresolved externals

Thanks!

@tanghaibao
Copy link
Owner

This is a known issue in fishers_exact_test.

brentp/fishers_exact_test#5

Unfortunately I don't have much experience on compiling modules on Windows.

@tanghaibao
Copy link
Owner

@Guangyou, the related issue in fishers_exact_test is now fixed. Please report back if this resolved your issue. Thanks -

brentp/fishers_exact_test#5

@CFretter
Copy link
Contributor

Yes, when getting fishers_exact_test from github everything is fine.
easy_install doesn't reflect the change yet though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants