i am sorry , i forget it .  I get the information:

Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import nupic
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/Users/whz/Library/Python/2.7/lib/python/site-packages/nupic.bindings-0.1.5-py2.7-macosx-10.9-intel.egg/nupic/__init__.py",
 line 25, in <module>
    __import__('pkg_resources').declare_namespace(__name__)
ImportError: No module named pkg_resources
>>> 

> 在 2015年9月8日,下午1:23,Matthew Taylor <[email protected]> 写道:
> 
> Do this on your command line please, it will help me diagnose your problem:
> 
>> python
>>>> import nupic
>>>> print nupic
> <module 'nupic' from
> '/Users/mtaylor/Library/Python/2.7/lib/python/site-packages/nupic.bindings-0.1.5-py2.7-macosx-10.9-intel.egg/nupic/__init__.pyc'>
> 
> I want to know what your environment shows for `print nupic`.
> 
> Thanks,
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
> 
> 
> On Mon, Sep 7, 2015 at 9:52 PM, wanghouzhi-1986 <[email protected]> 
> wrote:
>> thanks , and i have another question ,  it is also about nupic_studio .
>> I install  nupic_studio on my mac book successfully , and i get information
>> :
>> Collecting nupic-studio
>> Requirement already satisfied (use --upgrade to upgrade): pyqtgraph==0.9.10
>> in /usr/local/lib/python2.7/site-packages (from nupic-studio)
>> Requirement already satisfied (use --upgrade to upgrade): PyOpenGL==3.1.0 in
>> /usr/local/lib/python2.7/site-packages (from nupic-studio)
>> Requirement already satisfied (use --upgrade to upgrade): numpy in
>> /Library/Python/2.7/site-packages (from pyqtgraph==0.9.10->nupic-studio)
>> Installing collected packages: nupic-studio
>> Successfully installed nupic-studio-1.1.2
>> 
>> but when i run the command nupic_studio, i get the error :
>> Traceback (most recent call last):
>>  File "/usr/local/bin/nupic_studio", line 7, in <module>
>>    from nupic_studio.program import main
>>  File "/usr/local/lib/python2.7/site-packages/nupic_studio/__init__.py",
>> line 32, in <module>
>>    raise Exception("Unexpected version of NuPIC Library! Expected between
>> %s and %s, but detected %s." % (versionRequiredMin, versionRequiredMax,
>> versionFound))
>> Exception: Unexpected version of NuPIC Library! Expected between 0.2.2 and
>> 99.99.99, but detected 0.2.1.
>> 
>> it looks like that  my nupic version is lower.  and my question is how can i
>> update my nupic ?
>> thanks!
>> 
>> 
>> 在 2015年9月8日,下午12:39,Matthew Taylor <[email protected]> 写道:
>> 
>> Looks good to me. I suspect that nupic.studio is depending on an older
>> version of NuPIC maybe? You may want to file an issue against the
>> repository: https://github.com/nupic-community/nupic.studio/issues/new
>> ---------
>> Matt Taylor
>> OS Community Flag-Bearer
>> Numenta
>> 
>> 
>> On Mon, Sep 7, 2015 at 9:36 PM, wanghouzhi-1986 <[email protected]>
>> wrote:
>> 
>> Hi Matt Taylor
>>  thank you for answer ,  i have installed NuPIC .  When i installed NuPIC
>> ,I got the information :
>> 
>> 
>> 
>> Successfully installed nupic asteval coverage mock ordereddict pillow psutil
>> pytest pytest-cov pytest-xdist python-dateutil PyYAML unittest2 validictory
>> PyMySQL DBUtils pyproj prettytable py cov-core execnet six apipkg
>> Cleaning up…
>> 
>> Do that mean i install NuPIC successfully?
>> 
>> 在 2015年9月8日,下午12:25,Matthew Taylor <[email protected]> 写道:
>> 
>> Did you install NuPIC before you installed nupic.studio? If not, see:
>> https://github.com/numenta/nupic#installing-nupic-030
>> ---------
>> Matt Taylor
>> OS Community Flag-Bearer
>> Numenta
>> 
>> 
>> On Mon, Sep 7, 2015 at 8:59 PM, wanghouzhi-1986 <[email protected]>
>> wrote:
>> 
>> Hi nupic,
>>  I’m trying to install nupic_studio following as
>> https://github.com/nupic-community/nupic.studio , when i run the command
>> “pip install nupic_studio” ,i get the error :
>> 
>> Running setup.py egg_info for package nupic-studio
>> 
>>  Traceback (most recent call last):
>> 
>>    File "<string>", line 16, in <module>
>> 
>>    File "/tmp/pip-build-root/nupic-studio/setup.py", line 37, in <module>
>> 
>>      execfile(os.path.join(REPO_DIR, "nupic_studio", "__init__.py"), {},
>> properties)
>> 
>>    File "/tmp/pip-build-root/nupic-studio/nupic_studio/__init__.py", line
>> 30, in <module>
>> 
>>      versionFound = nupic.__version__
>> 
>>  AttributeError: 'module' object has no attribute '__version__'
>> 
>>  Complete output from command python setup.py egg_info:
>> 
>>  Traceback (most recent call last):
>> 
>> File "<string>", line 16, in <module>
>> 
>> File "/tmp/pip-build-root/nupic-studio/setup.py", line 37, in <module>
>> 
>>  execfile(os.path.join(REPO_DIR, "nupic_studio", "__init__.py"), {},
>> properties)
>> 
>> File "/tmp/pip-build-root/nupic-studio/nupic_studio/__init__.py", line 30,
>> in <module>
>> 
>>  versionFound = nupic.__version__
>> 
>> AttributeError: 'module' object has no attribute ‘__version__'
>> 
>> I install it on CentOS6.5, and install nupic using
>> pip install
>> https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.1.5-cp27-none-linux_x86_64.whl
>> pip install nupic
>> 
>> I look at the nupic.__version__ on python shell ,the result is :
>> 
>> [root@dev-whz ~]# python
>> Python 2.7.6 (default, Sep  8 2015, 10:11:11)
>> [GCC 4.8.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> 
>> import nupic
>> nupic.__version__
>> 
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> AttributeError: 'module' object has no attribute '__version__'
>> 
>> 
>> Can somebody offer any suggestions to fix the error ? thanks !
>> 
>> 
>> 
>> 
>> 
> 

Reply via email to