Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'chcp' is not recognized as an internal or external command" #39

Closed
MuneebAwan opened this issue Sep 12, 2019 · 7 comments
Closed

'chcp' is not recognized as an internal or external command" #39

MuneebAwan opened this issue Sep 12, 2019 · 7 comments
Labels
🔊 awaiting feedback Waiting for more information from author 🐞 bug Something isn't working

Comments

@MuneebAwan
Copy link

When i run RobotLab it give me error "'chcp' is not recognized as an internal or external command"
image

@datakurre
Copy link
Contributor

@bollwyvl Might know what that is and how that could be missing.

What was your path to install RobotLab? I could try to reproduce.

I assume there is also a way to just start jupyterlab from the same environment.

@bollwyvl
Copy link
Collaborator

Thanks for at least trying our little experiment out, @MuneebAwan... sorry you found a case we didn't test:

Not much of a windows guy, so i had to google what chcp does, and the problems of it not being found. Sounds like an environment variable problem. If you (or some program on your behalf) has messed about with your %PATH% permanently (robotlab only messes about with it temporarily, we hope), you'll probably have some issues.

I'm betting somebody down in the robotlab stack (who knows, might be me!) is trying to generate some "pretty" output: chcp is some dark magic for changing terminal output, sometimes used to make ANSI/Unicode display.

If the shortcut is not working, can you try the more manual approach of:

  • open a plain old cmd.exe window
  • when the command prompt shows up
    • type c:\users\mm\robotlab\scripts\activate c:\users\mm\robotlab, press enter
    • type robotlab, press enter

That might get you going! We're long overdue on rebuilding this thing, though... perhaps if the stars align we can do some tidying up and get one out!

@bollwyvl bollwyvl added the 🐞 bug Something isn't working label Sep 19, 2019
@bollwyvl
Copy link
Collaborator

@MuneebAwan thanks again so much for trying RobotLab. We have a possible release candidate up and (barring any significant issues) should have a alpha beta release something out soon.

In the meanwhile, there's this whole page of troubleshooting for Miniconda/Anaconda... since RobotLab is built basically the same way, you can try and see if anything on there helps you out!

@bollwyvl
Copy link
Collaborator

@MuneebAwan as promised, here's the updated release:
https://github.com/robots-from-jupyter/robotlab/releases/tag/v2019.9.0

Please take a spin and see if your problem persists: if it's still your %PATH% for system stuff maybe we can work through it!

@bollwyvl bollwyvl added the 🔊 awaiting feedback Waiting for more information from author label Sep 24, 2019
@datakurre
Copy link
Contributor

And yet another release:
https://github.com/robots-from-jupyter/robotlab/releases/tag/v2019.12.0

After a few months without feedback and we being unable to reproduce this by ourselves, I close this now.

@RorisangSitoboli
Copy link

In Windows open the command line and type:
'where chpc'
If it can't be located, you need to edit the Environment Variables.
'Windows button' >> Type 'env' >> Select 'Edit the system variables' >> Select 'Advanced' >> Click 'Environment Variables' >> under User Variables scroll down to 'Path' and select/highlight it>> Click 'New' >> add the line 'C:\Windows\System32' >> Click 'OK' on all the prompts to make sure you close all the open tabs under 'System Environments'. Restart the PC. And you are all good.

This also works if 'cmd is not a recognised command, etc'.

@RorisangSitoboli
Copy link

env3
env2
env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔊 awaiting feedback Waiting for more information from author 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants