-
Notifications
You must be signed in to change notification settings - Fork 75
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
Error while import opencog python libraries #125
Comments
Updates - Temporary fix for opencog/link-grammar#710 - Fix for opencog/docker#125
@Habush fixed by opencog/ocpkg#102 |
@amebel The error is still occurring. Also the default python version is 2.7 |
@Habush In the docker containers it is python3. Do you want a python 2 version? |
the mozi back-end currently assumes opencog is built with python 2. is there a way to force atomspace/opencog to be built with python 2 in the new cmake? |
@mjsduncan yes it is possible |
@Habush @mjsduncan the opencog/X images are meant only for development and not for production systems |
If a system has both python2 and python3 installed. does opencog build both versions? It probably should; they could be build in different directories, adn installed in different install locations. |
@linas CMake is not configured to do that presently, but yes that is possible. |
fyi we've decided to bite the bullet and port mozi to python 3. |
porting to python3 should not be hard, there are several great "howto" pages out there -- its mostly just tedious, like adding extra parens to print statements, etc. |
I have a docker image which uses the opencog-dev image as a base. After building the image successfully, I can't use the OpenCog python modules as I run into an import error. The docker files I am using to build the images can be found at this repo. As an example, running this simple script on the python command line raises an import error
The error:
ImportError: No module named opencog.atomspace
The text was updated successfully, but these errors were encountered: