Pip install pynrrd

2019-07-28 04:23发布

So I apologize in advance if this is really simple but I cannot seem to get the pynrrd package to import into pycharm.

I tried using pip

enter image description here

And I tried the instructions at the repo

enter image description here

but pycharm just isn't detecting module nrrd:

enter image description here

I am trying to get a hang of the mouse connectivity sdk and it does mention at the bottom that:

Warning The pynrrd package available on PyPI contains known issues on Windows. If you are a Windows user, please install the latest version available here: https://github.com/mhe/pynrrd.

I am indeed on a Windows machine and hence am trying to install the latest version.

UPDATE: As suggested below, here is what I get for the Python Path

 import sys
 print sys.path
['C:\\Program Files (x86)\\JetBrains\\PyCharm Community Edition 4.5.3\\helpers\\pydev', 'C:\\Users\\user\\Anaconda\\python27.zip', 'C:\\Users\\user\\Anaconda\\DLLs', 'C:\\Users\\user\\Anaconda\\lib', 'C:\\Users\\user\\Anaconda\\lib\\plat-win', 'C:\\Users\\user\\Anaconda\\lib\\lib-tk', 'C:\\Users\\user\\Anaconda', 'C:\\Users\\user\\AppData\\Roaming\\Python\\Python27\\site-packages', 'C:\\Users\\user\\Anaconda\\lib\\site-packages', 'C:\\Users\\user\\Anaconda\\lib\\site-packages\\Sphinx-1.3.1-py2.7.egg', 'C:\\Users\\user\\Anaconda\\lib\\site-packages\\cryptography-0.9.1-py2.7-win-amd64.egg', 'C:\\Users\\user\\Anaconda\\lib\\site-packages\\win32', 'C:\\Users\\user\\Anaconda\\lib\\site-packages\\win32\\lib', 'C:\\Users\\user\\Anaconda\\lib\\site-packages\\Pythonwin', 'C:\\Users\\user\\Anaconda\\lib\\site-packages\\setuptools-18.0.1-py2.7.egg', 'C:\\Users\\user\\Anaconda\\lib\\site-packages\\IPython\\extensions', 'C:\\Users\\user\\PycharmProjects\\MyFirstAllenBrain']

1条回答
叼着烟拽天下
2楼-- · 2019-07-28 05:06

did you check your the path variable %PYTHON_PATH%

I'm not sure but try changing the project root from */play* to */play/working_directory*

查看更多
登录 后发表回答