Git Product home page Git Product logo

Comments (18)

fengxiaoshuai avatar fengxiaoshuai commented on August 21, 2024 4

删除__init__.pyc, 重新运行build_text.sh,python3.6, centos,docker有效

from east.

wqtwjt1996 avatar wqtwjt1996 commented on August 21, 2024 2

Just delete all the *.pyc files in geo_map_cython_lib folder.

from east.

empowerszc avatar empowerszc commented on August 21, 2024 1

捕获

when i trained main.py,i met this problem.how to do with?

I have also met this problem, and I solve it by run build_ext.sh, or directly input command
python setup.py build_ext --inplace
Hope it works for you.

from east.

Islanna avatar Islanna commented on August 21, 2024

Just delete all the *.pyc files in geo_map_cython_lib folder.

In this case it starts to give the error "libpython2.7.so.1.0: cannot open shared object file: No such file or directory"

Does it mean this repo works only for Python2 ?

from east.

wqtwjt1996 avatar wqtwjt1996 commented on August 21, 2024

You can try to run it on Python3, I used python3 and this problem was solved.

from east.

ganliqiang avatar ganliqiang commented on August 21, 2024

You can try to run it on Python3, I used python3 and this problem was solved.

i find this method before,but when i delete the init_.pyc, new problem occur:
ImportError: dynamic module does not define module export function (PyInit_gen_geo_map);
the init_.pyc is downloaded from git repository.do you meet the same problem?

from east.

decajcd avatar decajcd commented on August 21, 2024

You can try to run it on Python3, I used python3 and this problem was solved.

i find this method before,but when i delete the init_.pyc, new problem occur:
ImportError: dynamic module does not define module export function (PyInit_gen_geo_map);
the init_.pyc is downloaded from git repository.do you meet the same problem?

Have you solved this problem

from east.

wqtwjt1996 avatar wqtwjt1996 commented on August 21, 2024

ImportError: dynamic module does not define module export function (PyInit_gen_geo_map);
the init_.pyc
I did not meet this problem. But I guess it related to the OS you used. I used Win10.

from east.

kalupiu avatar kalupiu commented on August 21, 2024

Just delete all the *.pyc files in geo_map_cython_lib folder.

In this case it starts to give the error "libpython2.7.so.1.0: cannot open shared object file: No such file or directory"

Does it mean this repo works only for Python2 ?

I met the same problem. Have anyone solved it yet?

from east.

xxiaocui avatar xxiaocui commented on August 21, 2024

只需删除geo_map_cython_lib文件夹中的所有* .pyc文件即可。

You can try to run it on Python3, I used python3 and this problem was solved.

python3.0?I used python3.7 and that can not

from east.

xxiaocui avatar xxiaocui commented on August 21, 2024

有关该错误的详细信息是:跟踪(最近一次通话最近):
文件“ /home/user/east/EAST-pytorch/main.py”,第11行,
从data_utils导入custom_dset,collat​​e_fn
文件“ / home / user / east / EAST-pytorch / data_utils.py“,第18行,
来自geo_map_cython_lib import gen_geo_map
我搜索了很多,但没有解决此错误,那么如何解决错误才能正确运行代码?

that is python3.0? I use python3.7,but the problem is not solved

from east.

Hujiassd avatar Hujiassd commented on August 21, 2024

Use the ls -a command in geo_map_cython_lib to find all the .pyc files deleted.

from east.

AaaGss avatar AaaGss commented on August 21, 2024

捕获

when i trained main.py,i met this problem.how to do with?

from east.

AaaGss avatar AaaGss commented on August 21, 2024

from east.

ranye92 avatar ranye92 commented on August 21, 2024

ImportError: dynamic module does not define module export function (PyInit_gen_geo_map);
the init_.pyc
I did not meet this problem. But I guess it related to the OS you used. I used Win10.

I have the same problem and I use Win10 too. Have anyone solved this problem? THANKS

from east.

xianyu-123 avatar xianyu-123 commented on August 21, 2024

捕获
when i trained main.py,i met this problem.how to do with?

I have also met this problem, and I solve it by run build_ext.sh, or directly input command
python setup.py build_ext --inplace
Hope it works for you.

I used this way, not solve this problem... Unresolved reference 'gen_geo_map'

from east.

xianyu-123 avatar xianyu-123 commented on August 21, 2024

删除__init__.pyc, 重新运行build_text.sh,python3.6, centos,docker有效

亲测有效,重命名也不行

from east.

zhangjie-biu avatar zhangjie-biu commented on August 21, 2024

Just delete all the *.pyc files in geo_map_cython_lib folder.

In this case it starts to give the error "libpython2.7.so.1.0: cannot open shared object file: No such file or directory"
Does it mean this repo works only for Python2 ?

I met the same problem. Have anyone solved it yet?

如果你删除了init_py遇到了上面的问题,可能是由于你没有在运行main.py前运行geo_map_cython_lib下的build_ext.sh脚本,你可能还需要安装cython。

from east.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.