We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requirements.txt
I got the following error when deploying with requirements.txt, which does not appear without requirements.txt:
PS D:\OneDrive\Desktop\belbin> rsconnect deploy shiny "D:\OneDrive\Desktop\belbin" --python "D:\OneDrive\Desktop\belbin\.venv\Scripts\python.exe" Traceback (most recent call last): File "D:\OneDrive\Desktop\belbin\.venv\Lib\site-packages\rsconnect\main.py", line 116, in wrapper result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\Desktop\belbin\.venv\Lib\site-packages\click\decorators.py", line 33, in new_func return f(get_current_context(), *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\Desktop\belbin\.venv\Lib\site-packages\rsconnect\main.py", line 1655, in deploy_app environment = create_python_environment( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\Desktop\belbin\.venv\Lib\site-packages\rsconnect\bundle.py", line 2261, in create_python_environment _, environment = get_python_env_info(module_file, python, force_generate, override_python_version) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\Desktop\belbin\.venv\Lib\site-packages\rsconnect\bundle.py", line 1750, in get_python_env_info environment = inspect_environment(python, dirname(file_name), force_generate=force_generate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\Desktop\belbin\.venv\Lib\site-packages\rsconnect\bundle.py", line 1728, in inspect_environment return MakeEnvironment(**json.loads(environment_json)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: MakeEnvironment() missing 7 required positional arguments: 'contents', 'filename', 'locale', 'package_manager', 'pip', 'python', and 'source' Internal error: MakeEnvironment() missing 7 required positional arguments: 'contents', 'filename', 'locale', 'package_manager', 'pip', 'python', and 'source'
Note: I'm using uv for project management. OS: Windows 11 rsconnect-python: 1.25.1
The text was updated successfully, but these errors were encountered:
tdstein
No branches or pull requests
I got the following error when deploying with
requirements.txt
, which does not appear withoutrequirements.txt
:Note: I'm using uv for project management.
OS: Windows 11
rsconnect-python: 1.25.1
The text was updated successfully, but these errors were encountered: