Closed pmattia90 closed 2 years ago
HI @pmattia90,
Thank you for reporting this. will take a look and release a new version.
Best Regards, Ahmad El Masri
Hi @pmattia90,
If you can share with us more details.
Maybe will help if you take a look on this https://github.com/pycom/pymakr-atom/issues/256#issuecomment-842119652
Best Regards, Ahmad EL Masri
Same error
Ottieni Outlook per Androidhttps://aka.ms/ghei36
From: Ahmad El Masri @.> Sent: Wednesday, September 15, 2021 9:10:20 AM To: pycom/pymakr-atom @.> Cc: pmattia90 @.>; Mention @.> Subject: Re: [pycom/pymakr-atom] Error installing pymkr in new Atom (#265)
Hi @pmattia90https://github.com/pmattia90,
If you can share with us more details.
Maybe will help if you take a look on this #256 (comment)https://github.com/pycom/pymakr-atom/issues/256#issuecomment-842119652
Best Regards, Ahmad EL Masri
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pycom/pymakr-atom/issues/265#issuecomment-919758537, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJEKIOLTK34PXSO6YLX6KSTUCBBFZANCNFSM5EACSPEQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
We presented the solution in the comment section if you can check by installing python and the required libraries. Thank you
Having similar problem re installation failure of pymker in atom. Any progress ?
Thanks
Thanks for the feedback @monty34view.
Can you provide us with logs or information that could help troubleshoot your issue?
Jakob
Thank you for responding.
I received a message in atom to update packages. pymkr was one of the packages to update. The other packages updated without problems. The following is the error message
I am using atom version 1.58.0
Thanks
John
@@. install @.\bindings
prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
@.***\bindings>if not defined npm_config_node_gyp (node "C:\Users\jhou2636\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\jhou2636\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
npm WARN deprecated @.: This package is no longer supported.
It's now a built-in Node module. If you've depended on crypto, you
should switch to the one that's built-in.
npm WARN deprecated @.: request has been deprecated, see
https://github.com/request/request/issues/3142
npm WARN deprecated @.: renamed to
@serialport/parser-byte-length
npm WARN deprecated @.: reanmed to @serialport/parser-cctalk
npm WARN deprecated @.: reanmed to
@serialport/parser-delimiter
npm WARN deprecated @.: reanmed to
@serialport/parser-readline
npm WARN deprecated @.: reanmed to @serialport/parser-regex
npm WARN deprecated @.: reanmed to @serialport/parser-ready
npm WARN deprecated @.*: this library is no longer supported
prebuild-install WARN install No prebuilt binaries found (target=9.4.4
runtime=electron arch=x64 libc= platform=win32)
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - "py.exe" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\Python27\python.exe
gyp ERR! find Python - "C:\Python27\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Python37\python.exe
gyp ERR! find Python - "C:\Python37\python.exe" could not be run
gyp ERR! find Python
gyp ERR! find Python **
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
gyp ERR! find Python (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack at PythonFinder.fail
(C:\Users\jhou2636\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
gyp ERR! stack at PythonFinder.runChecks
(C:\Users\jhou2636\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
gyp ERR! stack at PythonFinder.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @@. install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @@. install script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\jhou2636.atom.apm_logs\2021-11-22T23_32_29_412Z-debug.log
On Thu, Nov 18, 2021 at 6:37 PM Jakob Rosenberg @.***> wrote:
Thanks for the feedback @monty34view https://github.com/monty34view.
Can you provide us with logs or information that could help troubleshoot your issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pycom/pymakr-atom/issues/265#issuecomment-972609957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKTG3Z6XH6I5PKKUFPTLHS3UMSUKBANCNFSM5EACSPEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
@monty34view thanks for the log.
Could you try uninstall, restart Atom and reinstall the plugin?
If that doesn't work, please run atom -v
in your terminal and post the output as well as your OS and processor.
Jakob
I have uninstalled pymakr, but it won't reinstall.
atom-v outputs
Atom : 1.58.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1
Operating system is Windows 10 Enterprise
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz 2.80 GHz
16 G Ram
Thanks
John
On Tue, Nov 23, 2021 at 7:40 PM Jakob Rosenberg @.***> wrote:
@monty34view https://github.com/monty34view thanks for the log.
Could you try uninstall, restart Atom and reinstall the plugin?
If that doesn't work, please run atom -v in your terminal and post the output as well as your OS and processor.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pycom/pymakr-atom/issues/265#issuecomment-976283499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKTG3ZYKUITXMOHP3GFFFILUNNHONANCNFSM5EACSPEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Can you explain what happens when you try to reinstall, are you getting any errors or logs?
Hi everybody, I have a similar problem here. Here's a complete log.
Can anyone explain what's happening? Thank you in advance.
9049 warn notsup Unsupported engine for pymakr@2.2.0: wanted: {"atom":">=1.41.0","node":">=6.3.0 <=7.0.0"} (current: {"node":"12.14.1","npm":"6.14.13"})
9050 warn notsup Not compatible with your version of node/npm: pymakr@2.2.0
9051 verbose notsup Not compatible with your version of node/npm: pymakr@2.2.0
9051 verbose notsup Required: {"atom":">=1.41.0","node":">=6.3.0 <=7.0.0"}
9051 verbose notsup Actual: {"npm":"6.14.13","node":"12.14.1"}
9052 warn enoent ENOENT: no such file or directory, open 'C:\Users\piero\AppData\Local\Temp\apm-install-dir-2021111-11940-upxcr2.qi7oe\package.json'
9053 verbose enoent This is related to npm not being able to find a file.
9054 warn apm-install-dir-2021111-11940-upxcr2.qi7oe No description
9055 warn apm-install-dir-2021111-11940-upxcr2.qi7oe No repository field.
9056 warn apm-install-dir-2021111-11940-upxcr2.qi7oe No README data
9057 warn apm-install-dir-2021111-11940-upxcr2.qi7oe No license field.
9058 verbose stack Error: @serialport/bindings@8.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
9058 verbose stack Exit status 1
9058 verbose stack at EventEmitter.prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
9067 error Exit status 1
9068 error Failed at the @serialport/bindings@8.0.8 install script.
9068 error This is probably not a problem with npm. There is likely additional logging output above.
9069 verbose exit [ 1, true ]
This is what reported in the Atom IDE: Updating to “pymakr@2.2.0” failed.Hide output…
@serialport/bindings@8.0.8 install C:\Users\piero\AppData\Local\Temp\apm-install-dir-2021111-11940-upxcr2.qi7oe\node_modules\pymakr\node_modules\@serialport\bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
C:\Users\piero\AppData\Local\Temp\apm-install-dir-2021111-11940-upxcr2.qi7oe\node_modules\pymakr\node_modules\@serialport\bindings>if not defined npm_config_node_gyp (node "C:\Users\piero\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\piero\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated parser-byte-length@1.0.2: renamed to @serialport/parser-byte-length
npm WARN deprecated parser-cctalk@1.0.2: reanmed to @serialport/parser-cctalk
npm WARN deprecated parser-delimiter@1.0.2: reanmed to @serialport/parser-delimiter
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated parser-readline@1.0.2: reanmed to @serialport/parser-readline
npm WARN deprecated parser-ready@1.0.2: reanmed to @serialport/parser-ready
npm WARN deprecated parser-regex@1.0.2: reanmed to @serialport/parser-regex
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
prebuild-install WARN install No prebuilt binaries found (target=9.4.4 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - "py.exe" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\Python27\python.exe
gyp ERR! find Python - "C:\Python27\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Python37\python.exe
gyp ERR! find Python - "C:\Python37\python.exe" could not be run
gyp ERR! find Python
gyp ERR! find Python **
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
gyp ERR! find Python (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack at PythonFinder.fail (C:\Users\piero\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
gyp ERR! stack at PythonFinder.runChecks (C:\Users\piero\AppData\Local\atom\app-1.58.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
gyp ERR! stack at PythonFinder.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @serialport/bindings@8.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @serialport/bindings@8.0.8 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\piero.atom.apm_logs\2021-12-01T14_25_43_513Z-debug.log
Can't install pymkr in the last release of atom.