---
title: "When python can not find zope module"
author: "-+lizzy+-"
date: "2010-09-26T15:53:03Z"
tags: []
categories: ["编程语言"]
slug: "when-python-can-not-find-zope-module"
draft: false
lastmod: "2010-09-26T15:53:03Z"
id: 772271
url: "https://iamelisa.iteye.com/blog/772271"
---

Description:
Import Iterface from zope.interface module with python interpreter through command line.
ImportError: No module named zope.interface
Caused by: Not set environment path
Solution: Run setenv.bat in the directory of INSTANCE_HOME\bin
Note: %~pd1 only expand to driver name and path, see help call