Giter Site home page Giter Site logo

Comments (6)

Rajeev69 avatar Rajeev69 commented on August 30, 2024

Can you try with the following code,

import pycricket
handler = pycricket.RcaStorageHandler()
start = pycricket.RcaApp("Your_AccessKey",
"Your_ScreteKey",
"Your_APP_ID",
handler
)

from py-cricket.

kunalg avatar kunalg commented on August 30, 2024

The import itself fails:

(pycricket)kunal@hydrogen:~/work/my_work/python/pycricket$ python
Python 2.7.3 (default, Jun 22 2015, 19:33:41) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycricket
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/kunal/work/my_work/python/pycricket/local/lib/python2.7/site-packages/pycricket.py", line 26, in <module>
    from pycricket_storagehandler import *
ImportError: No module named pycricket_storagehandler
>>> 

from py-cricket.

kunalg avatar kunalg commented on August 30, 2024

I installed pycricket using pip from github:

(pycricket)kunal@hydrogen:~/work/my_work/python/pycricket$ pip install git+https://github.com/roanuz/py-cricket#egg=pycricket

Cannot install with simple pip install py-cricket since it's not available on pypi.

from py-cricket.

Rajeev69 avatar Rajeev69 commented on August 30, 2024

Yes, there is mistake in setup.py file. I will make sure, its fixed soon. Could you please tell me what error you are getting when you try to install 'pip install py-cricket'

from py-cricket.

kunalg avatar kunalg commented on August 30, 2024

whoops, it seems to be working now. Just tried pip install py-cricket in a new virtenv - seems to work perfect - including pycricket_storagehandler.

For some reason it didn't work last night :(

from py-cricket.

Rajeev69 avatar Rajeev69 commented on August 30, 2024

Nice 👍

from py-cricket.

Related Issues (2)

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.