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

python2的程序在python3里面如何运行 #21

Open
APeiZou opened this issue Jul 6, 2020 · 2 comments
Open

python2的程序在python3里面如何运行 #21

APeiZou opened this issue Jul 6, 2020 · 2 comments

Comments

@APeiZou
Copy link

APeiZou commented Jul 6, 2020

from model import *

File "D:\Work\Python_Project\Work_tf2\DrBox-v2-tensorflow-master\model.py", line 4, in
from rbox_functions import *
File "D:\Work\Python_Project\Work_tf2\DrBox-v2-tensorflow-master\rbox_functions.py", line 7, in
librbox = so("./librbox.so")
File "D:\ProgramFiles\Anaconda3\lib\ctypes_init_.py", line 434, in LoadLibrary
return self.dlltype(name)
File "D:\ProgramFiles\Anaconda3\lib\ctypes_init
.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 不是有效的 Win32 应用程序。

@MrLuer
Copy link

MrLuer commented Aug 1, 2020

python提供了不同版本转换工具,2to3.py

@model103
Copy link

model103 commented Apr 5, 2022

请问你解决了吗,我也遇到了一样的错误,貌似不是python2转python3的原因。

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