我缺少模块,我不知道如何安装它。有更新的版本吗?我想做一些事情:python3.6 -m smtpd -n -c DebuggingServer localhost:1025
答案 0 :(得分:0)
试试这个..对于Python:3.6
从pip install Smtpd
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:hz="http://www.hazelcast.com/schema/spring"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.hazelcast.com/schema/spring
http://www.hazelcast.com/schema/spring/hazelcast-spring.xsd">
<hz:hazelcast id="hzInstance1">
<hz:config>
<hz:map name="entitlement">
<hz:map-store enabled="true" implementation="linearEntitlementMapStore"
write-delay-seconds="30000"/>
<!-- ... -->
</hz:map>
</hz:config>
</hz:hazelcast>
<hz:client id="hzInstance1Client">
<!--... -->
</hz:client>
<bean id="linearEntitlementMapStore" class="com.twc.ctg.ecp.service.dataaccess.maps.LinearEntitlementMapStore"/>
从中安装最新版本的模块及其依赖项 Python包装
pip install smtpd-tls
特定版本和最低版本安装
python -m pip install SomePackage
更多阅读本文:https://docs.python.org/3/installing/index.html
对于Smtpd阅读本文:https://pypi.python.org/pypi/smtpd-tls/0.1