Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Atom repl window gone

    Scheduled Pinned Locked Moved Pymakr
    9 Posts 5 Posters 111 Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kjm
      last edited by kjm

      Foolishly downloaded the latest pymakr & now Atom has no repl window. My usual trick of unistalling pymakr from within Atom then unistalling Atom, downloading & installing the latest atom, reinstalling pymakr isn't working.

      The .atom files described in https://atom.io/packages/pymakr don't seem to exist anywhere on my windows machine so I can't install pymakr manually. Any one got any clues for getting pymakr 2.1.9 working in Atom 1.54.0? Or indeed how to get any version of pymakr working in any version of Atom?

      1 Reply Last reply Reply Quote 0
      • M Offline
        Matthew Felgate 0 Global Moderator
        last edited by

        Hi @kjm

        I have Atom 1.54.0 and pymakr 2.1.9 working on Mac with REPL interface.

        What problems are you having re-installing pymakr?

        Thanks
        Matt

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kjm @Matthew Felgate 0
          last edited by

          @Matthew-Felgate-0 Atom 1.54.0 seems stuck on whatever version of pymakr is in place. If I click uninstall pymakr, close Atom then open it again it shows pymakr still there. If I check for package updates it says it has the latest version. Do you know if the info at https://atom.io/packages/pymakr is current? I can't find any trace of .atom files on this windows10 machine.

          1 Reply Last reply Reply Quote 0
          • K Offline
            kjm
            last edited by

            pymakr has done another of it's periodic disappearing acts from Atom. Usually I just uninstall everything & start again with a clean slate. Doesn't seem to be working this time. Thoughts anyone?

            Installing “pymakr@2.1.9” failed.Hide output…

            @serialport/bindings@8.0.8 install C:\Users\Admin\AppData\Local\Temp\apm-install-dir-2021315-5180-hb5hgi.23ml\node_modules\pymakr\node_modules@serialport\bindings
            prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

            C:\Users\Admin\AppData\Local\Temp\apm-install-dir-2021315-5180-hb5hgi.23ml\node_modules\pymakr\node_modules@serialport\bindings>if not defined npm_config_node_gyp (node "C:\Users\Admin\AppData\Local\atom\app-1.56.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\Admin\AppData\Local\atom\app-1.56.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-cctalk@1.0.2: reanmed to @serialport/parser-cctalk
            npm WARN deprecated parser-byte-length@1.0.2: renamed to @serialport/parser-byte-length
            npm WARN deprecated parser-delimiter@1.0.2: reanmed to @serialport/parser-delimiter
            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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm WARN deprecated har-validator@5.1.5: 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 - executable path is "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1264.0_x64__qbz5n2kfra8p0\python3.9.exe"
            gyp ERR! find Python - "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1264.0_x64__qbz5n2kfra8p0\python3.9.exe" could not be run
            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 - executable path is "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1264.0_x64__qbz5n2kfra8p0\python3.9.exe"
            gyp ERR! find Python - "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1264.0_x64__qbz5n2kfra8p0\python3.9.exe" could not be run
            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\Admin\AppData\Local\atom\app-1.56.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\Admin\AppData\Local\atom\app-1.56.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
            gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\Admin\AppData\Local\atom\app-1.56.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)
            gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\Admin\AppData\Local\atom\app-1.56.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)
            gyp ERR! stack at exithandler (child_process.js:297:5)
            gyp ERR! stack at ChildProcess.errorhandler (child_process.js:309:5)
            gyp ERR! stack at ChildProcess.emit (events.js:200:13)
            gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
            gyp ERR! stack at onErrorNT (internal/child_process.js:456:16)
            gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:9)
            gyp ERR! System Windows_NT 10.0.19042
            gyp ERR! command "C:\Users\Admin\AppData\Local\atom\app-1.56.0\resources\app\apm\bin\node.exe" "C:\Users\Admin\AppData\Local\atom\app-1.56.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
            gyp ERR! cwd C:\Users\Admin\AppData\Local\Temp\apm-install-dir-2021315-5180-hb5hgi.23ml\node_modules\pymakr\node_modules@serialport\bindings
            gyp ERR! node -v v12.4.0
            gyp ERR! node-gyp -v v5.1.0
            gyp ERR! not ok
            npm WARN notsup Unsupported engine for pymakr@2.1.9: wanted: {"atom":">=1.41.0","node":">=6.3.0 <=7.0.0"} (current: {"node":"12.4.0","npm":"6.14.8"})
            npm WARN notsup Not compatible with your version of node/npm: pymakr@2.1.9
            npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Admin\AppData\Local\Temp\apm-install-dir-2021315-5180-hb5hgi.23ml\package.json'
            npm WARN apm-install-dir-2021315-5180-hb5hgi.23ml No description
            npm WARN apm-install-dir-2021315-5180-hb5hgi.23ml No repository field.
            npm WARN apm-install-dir-2021315-5180-hb5hgi.23ml No README data
            npm WARN apm-install-dir-2021315-5180-hb5hgi.23ml No license field.

            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\Admin.atom.apm_logs\2021-04-15T05_34_42_567Z-debug.log

            1 Reply Last reply Reply Quote 0
            • C Offline
              Clyde Bess
              last edited by

              just install a older release of Atom 1.50.0 - can confirm after downgrade on mac it works like before

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                mbyamukama
                last edited by

                I am having the same issue with Atom 1.56.0 and pymakr 2.1.9

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mbyamukama @Clyde Bess
                  last edited by

                  @Clyde-Bess I can confirm that downgrading to 1.50.0 on windows worked for me.

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Clyde Bess @mbyamukama
                    last edited by

                    @mbyamukama great to hear - make sure to uncheck autoupdate :) atom´s Autoupdate is super fast and silent :)

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Tiit
                      last edited by

                      I had exactly same error message, atom 1.56.0 and pymakr 2.1.12. It took a while how to install older version. Maybe help for someone:
                      go to https://github.com/atom/atom/releases/tag/v1.50.0
                      and download from "assets" part file AtomSetup-x64.exe
                      which installs atom. v. 1.50.0; works fine with current pymakr 2.1.12
                      And remove "automatic update" from Atom!

                      1 Reply Last reply Reply Quote 1

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • First post
                        Last post

                      Pycom on Twitter

                      Pycom