AttributeError: 'module' object has no attribute 'run'
See original GitHub issueHello Guys,
I am facing following error while trying to flatten this target file. Please help me.
$ solidity_flattener contracts/MyDummyCoin.sol Traceback (most recent call last): File "/home/ztlab07/.local/bin/solidity_flattener", line 4, in <module> flattener.core.main() File "/home/ztlab07/.local/lib/python2.7/site-packages/flattener/core.py", line 96, in main solc_proc = subprocess.run(solc_args, stdout=subprocess.PIPE, universal_newlines=True) AttributeError: 'module' object has no attribute 'run'
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Getting an error - AttributeError: 'module' object has no ...
The subprocess.run() function only exists in Python 3.5 and newer. It is easy enough to backport however: def run(*popenargs, **kwargs): input ...
Read more >AttributeError: module 'sqnsupgrade' has no attribute 'run'
Attribute errors in Python are generally raised when you try to access or call an attribute that a particular object type doesn't possess....
Read more >Python error : AttributeError: 'module' object has no attribute ...
Hello, I am testing your software but I can't make it run When I launched: pgantomizer_dump --schema dolibarr.yml --dbname dolibarr --user ...
Read more >AttributeError: \'module\' object has no attribute
When I run a.py, I get: AttributeError: 'module' object has no attribute 'hi' What does the error mean? How do I fix it?...
Read more >AttributeError: 'module' object has no attribute 'App'
Hi All,. A newbie question ... I got the 2.8 source to build with unicode enabled in debug mode. However, upon attempting to...
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
The problem is in the documentation. You should use pip3 install solidity-flattener
Nevermind. Re-running the install using pip3 seemed to resolve the issue:
pip3 install solidity-flattener