如何使Cython库可用于我的Python计划?
我正在研究一个使用Cython库的旧版项目:
engine.cpython-37m-x86_64-linux-gnu.so
它已下载到我当前的工作目录:
engine.cpython-37m-x86_64-linux-gnu.so
test.py
然后在Test.py中,它尝试从Engine Library导入:
from engine import authenticate
目前找不到引擎库。假设我当前的虚拟环境是“测试”,如何将“引擎”库用于我的虚拟环境“测试”?
原始项目使用Docker部署,我想摆脱Docker环境并在纯PIP环境中进行测试。
I am working on a legacy project which uses a cython library:
engine.cpython-37m-x86_64-linux-gnu.so
It is downloaded to my current working directory:
engine.cpython-37m-x86_64-linux-gnu.so
test.py
Then in the test.py, it tried to import from engine library:
from engine import authenticate
Currently, it cant't find the engine library. Suppose my current virtual environment is 'test', how can I make the 'engine' library to my virtual environment 'test'?
The original project uses a docker deployment and i want to get rid of the docker environment and test it in a pure pip environment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论