Packaged code for PyPI by nagannhh #26
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
##Issues Faced:
I was not able to import the package after installing it locally with pip.
I uploaded the package to TestPyPI but was not able to update it, as it was throwing an error. The detailed error is as shown below
Error uploading
(diffusion2D_venv) PS E:\Simulation_Software_Engineering\packaging\diffusion2D> twine upload dist/* --verbose
Uploading distributions to https://upload.pypi.org/legacy/
INFO dist\nagannhh_packages-0.0.1-py3-none-any.whl (9.3 KB)
INFO dist\nagannhh_packages-0.0.1.tar.gz (8.6 KB)
INFO password set by command options
INFO username: token
INFO password:
Uploading nagannhh_packages-0.0.1-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.5/12.5 kB • 00:00 • ?
INFO Response from https://upload.pypi.org/legacy/:
403 Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.
INFO
<title>403 Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.</title>
403 Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.
Access was denied to this resource.
Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.
ERROR HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/
Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.
Solutions tried: