Code Monkey home page Code Monkey logo

Comments (5)

luciano-renzi avatar luciano-renzi commented on August 25, 2024

Hi viaggarwal, I tested this and I could not reproduce it with these conditions:

  • windows 7
  • python 3.6.1
  • golem 0.2.2

Steps:

  1. pip install golem-framework
  2. golem-admin createdirectory C:\Golem
  3. cd C:\Golem
  4. python golem.py gui

These steps worked fine for me. The error you are getting probably means Golem is not installed where you are running the command 'python golem.py gui'. Here's what you can try:

  1. See if Golem is installed by running 'pip list'
  2. Try running Golem from another directory (not C:) it could be a matter of permissions
  3. Try using a virtualenv to avoid installing python packages globally,

regards

from golem.

jcnoir avatar jcnoir commented on August 25, 2024

I got the same issue with python 3.6.3 on Linux.
The issue looks like there is a confusion between the golem module (golem.py) and the golem package.
If I rename golem.py to golem2.py then I can launch golem correctly (but I cannot run tests because of the missing golem.py module)

from golem.

mechazilla avatar mechazilla commented on August 25, 2024

Same issue when installing from pip on linux. Fixed by using sudo, but had additional issues after. Problem has something to do with permissions on the site-packages when installing globally, but I didn't find the root cause. Created a virtual environment with conda and ran process again, and everything come up, but still can't create tests. Creating separate issue for this.

from golem.

luciano-renzi avatar luciano-renzi commented on August 25, 2024

As for the original issue, In version 0.4.5 I added a new command to start golem similar to 'golem-admin'. Instead of calling it as python golem.py <command> it can be called just by golem <command>

Do a uninstall and re-install just in case. Also I recommend working inside a virtualenv.

Reopen if this is still happening. Thanks

from golem.

jcnoir avatar jcnoir commented on August 25, 2024

It works ! Thank you for the fix.

from golem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.