-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi,
I've been having issues with installing the posit client. I've tried:
pip install posit-sdk https://docs.posit.co/connect/cookbook/getting-started/installing-the-posit-sdk/
When I run
pip show posit-sdk
It returns
Name: posit-sdk
Version: 0.8.0
Summary: Posit SDK for Python
Home-page:
Author:
Author-email:
License: MIT License
Copyright (c) 2024 posit-dev
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Location: /Users/.../venv/lib/python3.10/site-packages
Requires: packaging, requests, typing-extensions
Required-by:
So it shows that it downloads correctly; however, when I run:
ls -l /Users/.../venv/lib/python3.10/site-packages/posit_sdk
it returns:
No such file or directory
I've also tried installing it straight from Github to no avail. In my Python environment, I get underlines for both:
import posit and
import posit_sdk and from posit.connect
The end goal is to be able to display "Hello, {user.email}. Welcome to ____ Dashboard!" and have some more user-based pages based on extracting the user's id from Posit Connect. I haven't come across this error on any StackExchange or such yet so figured I'd see if others are having this issue.