You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows Server 2016, python 3.7, importing clips gives me the below error, no matter if installed using pip install clipspy or built by myself.
PS C:\tmp\clipspy> python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win3
Type "help", "copyright", "credits" or "license" for more information.
>>> import clips
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\tmp\clipspy\clips\__init__.py", line 30, in <module>
from clips.error import CLIPSError
File "C:\tmp\clipspy\clips\error.py", line 32, in <module>
from clips.router import Router
File "C:\tmp\clipspy\clips\router.py", line 5, in <module>
from clips._clips import lib, ffi
ModuleNotFoundError: No module named 'clips._clips'
The text was updated successfully, but these errors were encountered:
Looking at the traceback, it seems you are still importing from C:\tmp\clipspy which is where you temporarily built clipspy and not the installation location.
Are you sure you are setting the right Python import path?
EDIT: nevermind, it seem you are executing the interpreter from C:\tmp\clipspy. The Python interpreter prefers the CWD when it comes to importing modules. You need to either run the interpreter from another CWD or set the PYTHONPATH accordingly.
On Windows Server 2016, python 3.7, importing clips gives me the below error, no matter if installed using
pip install clipspy
or built by myself.The text was updated successfully, but these errors were encountered: