-
Notifications
You must be signed in to change notification settings - Fork 78
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
ModuleNotFoundError: No module named 'nebula2' #120
Comments
Which version did you install, please? |
nebula-python-2.0.0 |
You should use
|
这样? |
从 pip install 结果看您已经安装了对的版本: nebula2-python==2.0.0 |
确定一样的,可是还是不行,真叫人头大 |
在 restApi.py 开头加上这个代码执行看一下打印结果确认下python的环境呢?
我这里执行大概是
另外你有没有把 nebula2 的同名文件夹创建在哪里造成了python 优先去文件夹里找包了? |
|
好的,从您的debug看,执行环境里,python是 C:\Python37 下的。 C:\Python37\bin\python -m pip install nebula2-python==2.0.0 update: sorry,从您的截图看,pip也是安装到了那个目录,很奇怪,test.py同级的文件有哪些呢?没有 nebula2 之类的吧?
|
![Uploading 图片.png…] ok 了。貌似平时执行是要python pip install xxxx.。 而我当时安装时候时pip install xxxx。刚才试了一下您发的这句,就可以了 |
好的,关了哈。 |
安装完成了,可是还是报错
The text was updated successfully, but these errors were encountered: