Hi Dmitry, Sorry, I am not familiar with Python.
So there are more issues... 1. The version on my mac remains 2.7.10 even though I tried to link to the new version. ~$ python --version Python 2.7.10 ~$ brew unlink python && brew link --overwrite python3 Unlinking /usr/local/Cellar/python/3.7.0... 25 symlinks removed Linking /usr/local/Cellar/python/3.7.0... 25 symlinks created ~$ python --version Python 2.7.10 2. Then I tried to update *pip*, uninstall and re-install *pyignite* ~$ pip install -U pip -bash: /Library/Frameworks/Python.framework/Versions/3.7/bin/pip: No such file or directory ~$ pip3 install -U pip Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (18.0) ~$ pip3 uninstall pyignite Uninstalling pyignite-0.3.0: Would remove: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyignite-0.3.0.dist-info/* /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyignite/* Proceed (y/n)? y Successfully uninstalled pyignite-0.3.0 ~$ pip3 install pyignite Collecting pyignite Using cached https://files.pythonhosted.org/packages/f1/0f/5669cd63fb37fa2025110f61598450567d04a72c8cf5b76bb0ca20c21734/pyignite-0.3.0-py3-none-any.whl 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) 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) Installing collected packages: pyignite Successfully installed pyignite-0.3.0 How can I fix this? On Wed, Sep 19, 2018 at 6:43 PM, Dmitry Melnichuk < dmitry.melnic...@nobitlost.com> wrote: > 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 >> > >