Skip to content
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

Changes to make it compatible with python 3.7 #35

Merged
merged 4 commits into from
Jun 29, 2021

Conversation

lucasosouza
Copy link
Contributor

@lucasosouza lucasosouza commented Jun 28, 2021

@vkakerbeck I fixed a bug in requirements and made minor changes to adapt it to python 3.7. Can you please install a fresh environment with python 3.7 and try again, to see if any of those two errors come up (EOF and segmentation error). Here are the steps to create
conda create -n new_environment_name python=3.7
conda activate new_environment_name
In nta/nupic.embodied: pip install -e .
In nta/nupic.embodied/projects/robot_arm: pip install -r requirements.txt

If the errors appear, please take a screenshot as well and send me along with the experiment name so I can try to replicate. An idea is to create an issue here in github with the details so we can track it.

Also if the installation steps above fail, please let me know so I can adjust accordingly. I will make it part of the yaml file for now, and later incorporate it into the AMI.

Meanwhile I will also try to run local with 3.8 to see if I can replicate.

edit: also added an initial Readme with basic instructions on how to install and run it

@lucasosouza lucasosouza changed the title Fixes bug in requirement.txt Changes to make it compatible with python 3.7 Jun 28, 2021
@@ -2,7 +2,8 @@

import torch.nn

from typing import Callable, Literal
from typing import Callable
from typing_extensions import Literal
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The man himself had an answer to this issue
image

@@ -20,5 +20,6 @@
#
# ------------------------------------------------------------------------------
# Requirements specific to learning by disagreement project
opencv-python
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason it is not being installed by real_robots, although it is a requirement on that lib.

@vkakerbeck vkakerbeck merged commit c5fde5b into numenta:master Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants