brohrer / robot-brain-project

a general purpose learning agent
205 stars 46 forks source link

Becca test error on macos Sierra running Anaconda #24

Closed dluzenst closed 6 years ago

dluzenst commented 7 years ago

Hi everybody,

I'd like to try Becca but can'g get past the first test. I'm on macos Sierra 10.12.2 with anaconda 4.2.0. The pip install works well but I get the following error on the import becca_test.test

python
>>>import becca_test.test

Here is the output:

Python 3.5.2 |Anaconda 4.2.0 (x86_64)| (default, Jul  2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import becca_test.test
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/DLU/anaconda/lib/python3.5/site-packages/becca_test/test.py", line 31, in <module>
    import becca.connector
  File "/Users/DLU/anaconda/lib/python3.5/site-packages/becca/connector.py", line 7, in <module>
    from becca.brain import Brain
  File "/Users/DLU/anaconda/lib/python3.5/site-packages/becca/brain.py", line 279
    except pickle.PickleError, err:
                             ^
SyntaxError: invalid syntax

Any ideas? Thanks in advance. David

just4david commented 7 years ago

I am getting the same result. Using Anaconda 4.4.0 on amd64. This is a public library account that cleans itself with each use. I have done nothing but follow the directions in the readme on two different machines. I am so eager to start using this program, but unable to start. Perhaps learning how pickle works could help me?

-Later that day- After reading the issue by microgold, I have successfully run the test suite. What it took for me is to install Anaconda2 (next big button down on the download page), and then comment out line 18 of Anaconda2\Lib\site-packages\becca_test\image1D.py.

brohrer commented 6 years ago

Sorry for the delay getting back to you on this. I actually just had some issues testing this as well. The simplest solution I can see is to avoid depending on conda altogether and fill all the dependencies through pip. This may fix all or some of the problem.

just4david commented 6 years ago

Thank you, I'll try again soon. I'm still looking for a general purpose neural/genetic framework for hobby robotics. If I remember right, yours looked promising.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, Jan 15, 2018 at 9:28 AM, Brandon Rohrer notifications@github.com wrote:

Sorry for the delay getting back to you on this. I actually just had some issues testing this as well. The simplest solution I can see is to avoid depending on conda altogether and fill all the dependencies through pip. This may fix all or some of the problem.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/brohrer/becca/issues/24#issuecomment-357714085, or mute the thread https://github.com/notifications/unsubscribe-auth/AHo6gtQauUk7W1zj4Qf-xY66FVlR2fy6ks5tK26jgaJpZM4LeQln .

--