Projen python version default command fails
See original GitHub issueHello, guys, thank you for the awesome tool, the nodejs version works perfectly, however, I’m struggling with the Python binary. Simply installed it globally using pipx install projen
and running projen
, fails with the following error:
➜ ~ projen
Traceback (most recent call last):
File "/Users/victor/.local/bin/projen", line 10, in <module>
__jsii_assembly__.invokeBinScript("projen", "projen", sys.argv[1:])
File "/Users/victor/.local/pipx/venvs/projen/lib/python3.10/site-packages/jsii/_runtime.py", line 52, in invokeBinScript
response = _kernel.invokeBinScript(pkgname, script, args)
File "/Users/victor/.local/pipx/venvs/projen/lib/python3.10/site-packages/jsii/_kernel/__init__.py", line 312, in invokeBinScript
args=_make_reference_for_native(self, args),
File "/Users/victor/.local/pipx/venvs/projen/lib/python3.10/site-packages/jsii/_kernel/__init__.py", line 204, in _make_reference_for_native
kernel.create(d.__class__, d)
File "/Users/victor/.local/pipx/venvs/projen/lib/python3.10/site-packages/jsii/_kernel/__init__.py", line 323, in create
fqn=klass.__jsii_type__ or "Object",
AttributeError: type object 'tuple' has no attribute '__jsii_type__'
I tried py3.8 and py3.10, and encounter the same result. weird that there is no such issue yet, I’m the only one having this error? Thank you for your help.
Issue Analytics
- State:
- Created a year ago
- Comments:19 (17 by maintainers)
Top Results From Across the Web
API Reference | projen
AwsCdkDepsPy, Manages dependencies on the AWS CDK for Python projects. awscdk. ... __*Default*__: use the container's default command ...
Read more >projen/API.md - UNPKG
361, * **projenCommand** (<code>string</code>) The shell command to use in order to run the projen CLI. __*Default*__: "npx projen".
Read more >Migrating a CDK Construct to projen and jsii - Sebastian Hesse
The following commands will initialize your project with projen . It will create a file called .projenrc.js containing a default projen ...
Read more >How to simplify project setup with Projen - Tidy Cloud AWS
Now when I run the command npx projen package.json file has new CDK dependencies in it, new versions, and new packages. The project...
Read more >Index - AWS Prototyping SDK (PDK)
It additionally creates a CodeCommit repository and by default is configured to build ... Python npx projen new --from aws-prototyping-sdk pdk-pipeline-py.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And
pipx run projen new awscdk-app-py
also works! This is great. Good work everyone and especially @jmalins 🥳@jmalins thank you very much, I’m impressed. It works!!