tm1py on iPad

Created on 28 Jun 2020  ·  14Comments  ·  Source: cubewise-code/tm1py

I tried installing tm1py on my iPad the other day. With the app “Pythonista” and the stash module you can use pip and install pure python modules.
I tried it with tm1py and got the attached error message. Now I wonder If that is a deal breaker for tm1py on my iPad and if it is maybe a better solution to create a stripped down fork for the iPad or if even that is not a good solution.

If you wonder about the use cases. It allows you to maintain your tm1 instances from your tablet. :-)

image

All 14 comments

That specific package supports SSO on windows. You don't really need it unless your trying to use kerberos via CAM

On Jun 27, 2020 11:10 PM, Christoph Hein notifications@github.com wrote:

I tried installing tm1py on my iPad the other day. With the app "Pythonista" and the stash module you can use pip and install pure python modules.
I tried it with tm1py and got the attached error message. Now I wonder If that is a deal breaker for tm1py on my iPad and if it is maybe a better solution to create a stripped down fork for the iPad or if even that is not a good solution.

If you wonder about the use cases. It allows you to maintain your tm1 instances from your tablet. :-)

[image]https://user-images.githubusercontent.com/8442014/85939537-b11b5900-b916-11ea-848d-7c879318d425.jpeg

-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/cubewise-code/tm1py/issues/260, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEK7GZRFEHXP6ONZUMODP4DRY3NDJANCNFSM4OKL6ZUA.

Hi @scrumthing,

we configured the TM1py setup.py script so that it installs requests_negotiate_sspi only on windows.
It seems on your iPad that config doesn't apply it and tries to install all dependencies.

Perhaps you can do this instead:

  • install all necessary dependencies explicitly (requests, pandas, pytz)
  • install tm1py without any dependencies: pip install tm1py --no-dependencies

Thanks @MariusWirtz, I will try it. :-)

@scrumthing
did it work?

Hi @MariusWirtz, I had a quick try but was unsuccessful. So far had no time to investigate that further. Will try to do so during the week.
Cheers, Christoph

image

Please try to install from GitHub directly:
pip install https://github.com/cubewise-code/tm1py/archive/master.zip --upgrade

If this generally works we can just create a branch without the requests_negotiate_sspi dependency.

Hi @MariusWirtz, I had a quick try but was unsuccessful. So far had no time to investigate that further. Will try to do so during the week.
Cheers, Christoph

image

@scrumthing

Use pip install TM1py --no-deps

Thanks @rkvinoth. But unfortunately it did not work either. :-(

image

You can call pip install -h and check which option is needed for installing packages without dependencies.

if you have difficulties searching in the cmd prompt, copy the result of pip install -h and then do a search in notepad for dependencies

Thanks @rkvinoth but the result was not very helpful to me.

image

Wow, looks like a dead end!

As a workaround, download the TM1py package as zip file and then edit setup.py.

remove 'requests_negotiate_sspi;platform_system=="Windows"' from install_requires list in setup.py

Then run setup.py install

image

If that works, feel free to create a new branch.

Wow, looks like a dead end!

As a workaround, download the TM1py package as zip file and then edit setup.py.

remove 'requests_negotiate_sspi;platform_system=="Windows"' from install_requires list in setup.py

Then run setup.py install

image

If that works, feel free to create a new branch.

@scrumthing .. any luck with this approach?

Hi @rkvinoth, sorry over the last couple of days I had no time to test it. Will try to do it during the current week.

Didn't work either. :-( So I think I am out of options for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cubewise-gng picture cubewise-gng  ·  3Comments

Andy-Hofelmeyer picture Andy-Hofelmeyer  ·  3Comments

scrumthing picture scrumthing  ·  4Comments

hermie64 picture hermie64  ·  3Comments

ianboltz picture ianboltz  ·  5Comments