Prachi,
This line in your message
> Requirement already satisfied: pyignite in
> ./Downloads/ignite-python/modules/platforms/python (0.3.1)
looks like you already did an installation of pyignite in this
environment before (maybe with "pip install -e <location of setup.py>")
from 'Downloads' folder, then delete or move downloaded copy, and than
tried to install pyignite again, this time from PyPI ("pip install
<package name>").
pip does not work this way. You should either undo the previous install
("pip uninstall <package name>"), use "--update" argument ("pip install
--update <package_name>"), or even better − use virtualenv to create a
disposable Python environment for every experiment. I provided a link to
virtualenv manual in the README file and in docs, in the 'Basics →
Testing' section.
> Also, the installation instruction you have provided are for unix users.
> What are the installation instructions for Windows users?
I tried to be OS-agnostic in the docs. Please tell me, what part of my
instructions does not work on Windows.
On 9/20/18 7:32 AM, Prachi Garg wrote:
Hi Dmitry,
I tried to follow the instructions for the Python thin client
installation [1].
~$ pip install pyignite
Requirement already satisfied: pyignite in
./Downloads/ignite-python/modules/platforms/python (0.3.1)
Requirement already satisfied: typing==3.6.4 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from pyignite) (3.6.4)
Requirement already satisfied: attrs==18.1.0 in
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
(from pyignite) (18.1.0)
But when I try to run an example, I get an error.
~/Downloads/ignite-python/modules/platforms/python/examples$ python
get_and_put.py
Traceback (most recent call last):
File "get_and_put.py", line 16, in <module>
from pyignite import Client
ImportError: No module named pyignite
What else need to be done? I am documenting the instructions on
readme.io <http://readme.io>, but I need to be able to run a few
examples first.
Also, the installation instruction you have provided are for unix users.
What are the installation instructions for Windows users?
[1]
https://apache-ignite-binary-protocol-client.readthedocs.io/en/latest/readme.html#installation