App works perfectly locally, when I attempt to upload it to shinyapps.io I get two errors which I am unsure of how to fix,
ERROR: Could not find a version that satisfies the requirement anaconda-anon-usage (from versions: none)
ERROR: No matching distribution found for anaconda-anon-usage
Error: Application deployment failed with error: Unhandled Exception: child_task=1416555804 child_task_status=failed: Error building image: Build exited with non-zero status: 1
Hi @danforman980 , welcome to the Posit forum!
Are you able to post a repo that has your code in it, or at least a requirements.txt file (or however you're specifying your dependencies)?
Best,
Randy
These are the requirements in the text file, I cannot post the code but it works fine on a local server run through terminal. I only run into issues upon actually trying to launch the programn
requirements.txt generated by rsconnect-python on 2024-05-15 14:03:37.029137
aiobotocore
aiohttp
aioitertools
aiosignal
alabaster
altair
altgraph
anaconda-anon-usage
anaconda-catalogs
anaconda-client
anaconda-cloud-auth
anaconda-navigator
anaconda-project
anyio
appdirs==1.4.4
archspec
argon2-cffi
argon2-cffi-bindings
arrow
asgiref==3.8.1
astroid
astropy
asttokens
async-lru
atomicwrites==1.4.0
attrs
Automat
autopep8
Babel
backports.functools-lru-cache
backports.tempfile
backports.weakref==1.0.post1
bcrypt
beautifulsoup4
binaryornot
black
bleach
blinker
bokeh
boltons
botocore
Bottleneck
Brotli
cachetools
certifi
cffi
chardet
charset-normalizer
click
cloudpickle
clyent==1.2.2
colorama
colorcet
comm
conda
conda-build
conda-content-trust
conda-libmamba-solver
conda-pack
conda-package-handling
conda-repo-cli==1.0.75
conda-token
conda-verify==3.4.2
conda_index
conda_package_streaming
constantly
contourpy
cookiecutter
cryptography
cssselect
cycler
cytoolz
dask
datashader
debugpy
decorator
defusedxml
diff-match-patch
dill
distributed
distro
docstring-to-markdown
docutils
entrypoints
et-xmlfile==1.1.0
executing
fastjsonschema
filelock
flake8
Flask
fonttools==4.25.0
frozendict
frozenlist
fsspec
future
gensim
gitdb
GitPython
gmpy2
greenlet
h11==0.14.0
h5py
HeapDict
holoviews
htmltools==0.5.1
hvplot
hyperlink
idna
imagecodecs
imageio
imagesize
imbalanced-learn
importlib-metadata
incremental
inflection==0.5.1
iniconfig
intake
intervaltree
ipykernel
ipython
ipython-genutils
ipywidgets
isort
itemadapter
itemloaders
itsdangerous
jaraco.classes
jedi
jellyfish
Jinja2
jmespath
joblib
json5
jsonpatch
jsonpointer==2.1
jsonschema
jsonschema-specifications
jupyter
jupyter-console
jupyter-events
jupyter-lsp
jupyter_client
jupyter_core
jupyter_server
jupyter_server_terminals
jupyterlab
jupyterlab-pygments
jupyterlab-widgets
jupyterlab_server
keyring
kiwisolver
lazy-object-proxy
lazy_loader
lckr_jupyterlab_variableinspector
libarchive-c
libmambapy
linkify-it-py
llvmlite
lmdb
locket
lxml
lz4
Markdown
markdown-it-py
MarkupSafe
matplotlib
matplotlib-inline
mccabe
mdit-py-plugins
mdurl
menuinst
mistune
mkl-fft
mkl-random
mkl-service==2.4.0
more-itertools
mpmath
msgpack
multidict
multipledispatch
munkres==1.1.4
mypy
mypy-extensions
navigator-updater
nbclient
nbconvert
nbformat
nest-asyncio
networkx
nltk
notebook
notebook_shim
numba
numexpr
numpy
numpydoc
openpyxl==3.0.10
overrides
packaging
pandas
pandocfilters
panel
param
paramiko
parsel
parso
partd
pathlib
pathspec
patsy==0.5.3
pefile
pexpect
pickleshare
pillow
pip-autoremove==0.10.0
pkce
pkginfo
platformdirs
plotly
pluggy
ply==3.11
prometheus-client
prompt-toolkit==3.0.36
Protego
protobuf==3.20.3
psutil
ptyprocess
pure-eval
py-cpuinfo
pyarrow
pyasn1
pyasn1-modules==0.2.8
pycodestyle
pycosat
pycparser
pyct
pycurl==7.45.2
pydantic
pydeck
PyDispatcher==2.0.5
pydocstyle
pyerfa
pyflakes
Pygments
pyinstaller
pyinstaller-hooks-contrib
PyJWT
pylint
pylint-venv
pyls-spyder==0.4.0
PyNaCl
pyodbc
pyOpenSSL
pyparsing
PyQt5==5.15.10
PyQt5-sip
PyQtWebEngine==5.15.6
PySocks
pytest
python-dateutil
python-dotenv
python-json-logger
python-lsp-black
python-lsp-jsonrpc==1.0.0
python-lsp-server
python-multipart==0.0.9
python-slugify
python-snappy
pytoolconfig
pytz
pyviz_comms
pywavelets
pywin32==305.1
pywin32-ctypes
pywinpty
PyYAML
pyzmq
QDarkStyle
qstylizer
QtAwesome
qtconsole
QtPy
questionary==2.0.1
queuelib
referencing
regex
requests
requests-file
requests-toolbelt
rfc3339-validator
rfc3986-validator
rich
rope
rpds-py
Rtree
ruamel-yaml-conda
ruamel.yaml
s3fs
scikit-image
scikit-learn
scipy==1.11.4
Scrapy
seaborn
semver
Send2Trash
service-identity
shiny==0.9.0
sip
six
smart-open
smmap
sniffio
snowballstemmer
sortedcontainers
soupsieve
Sphinx
sphinxcontrib-applehelp
sphinxcontrib-devhelp
sphinxcontrib-htmlhelp
sphinxcontrib-jsmath
sphinxcontrib-qthelp
sphinxcontrib-serializinghtml
spyder
spyder-kernels
SQLAlchemy
stack-data
starlette==0.37.2
statsmodels
streamlit
sympy
tables
tabulate
tblib
tenacity
terminado
text-unidecode
textdistance
threadpoolctl
three-merge
tifffile
tinycss2
tldextract
toml
tomlkit
toolz
tornado
tqdm
traitlets
truststore
Twisted
twisted-iocpsupport
typing_extensions==4.11.0
tzdata
tzlocal
uc-micro-py
ujson
Unidecode
urllib3
uvicorn==0.29.0
validators
w3lib
watchdog
watchfiles==0.21.0
wcwidth
webencodings==0.5.1
websocket-client
websockets==12.0
Werkzeug
whatthepatch
widgetsnbextension
win-inet-pton
wrapt
xarray
xlwings
xyzservices
yapf
yarl
zict
zipp
zope.interface
zstandard==0.19.0
If I had to guess, the issue here is because you have Windows packages specified and shinyapps is a linux machine:
pywin32==305.1
pywin32-ctypes
To specify the minimum requirements for your app, you can use something like pipreqs , which will scan your actual code for what you are importing and just specify those dependencies. This can often resolve the issue I describe with having OS-specific dependencies that you aren't really necessary.
Best,
Randy
Thank you very much i will give that a go
system
Closed
May 27, 2024, 8:13am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.