-
Notifications
You must be signed in to change notification settings - Fork 63
'yotta' is not recognized as an internal or external command - after successful Windows install #785
Comments
Hey, I got it working using following steps:
C:\yotta;C:\yotta\gcc\bin;C:\yotta\python;C:\yotta\python\Scripts;C:\yotta\cmake-3.4.0-rc3-win32-x86\bin 6.In "YOTTA_INSTALL_PATH" , put: C:\yotta if your yotta folder is in C 7.In "PATH" append it as: C:\yotta\mercurial;C:\yotta\python;C:\yotta and so on. 8.Now refresh and click on "RUN YOTTA" shortcut formed on your screen. It works. I confirmed the steps by installing yotta 3-4 times. It works every time. |
@anujdutt9 I have uninstalled everything and tried your steps twice, and I still am not getting this to work, see these screenshots below in case something is wrong there. However, when the installer pulls up a terminal window (I believe it is when python is being installed?), there were a load of red error messages, but the window disappears before you can read them. There was no record of this in the final installer. |
@georgeedwards what IDE are you trying to use this in? Currently yotta installs into a virtual environment seperate from your global space. You may need to try and run the installer with admin privelidges, or try and do |
@BlackstoneEngineering I am just trying this from the command line atm? I'll try and reinstall as Admin. |
@BlackstoneEngineering Still no... However, here is the log:
|
update your pip, That last one is part of my magic voodoo dance that occasionally fixes random things. |
@BlackstoneEngineering I am afraid still no joy, here you can see the log of me running those commands and then retrying the yotta install. The pip install threw some exceptions but then seemed to have worked? |
Firstly, I would really appreciate some more assistance with getting this up and running because there is obviously some overlooked aspect of my system causing me grief. Secondly, I think this (and the numerous other questions and issues) raises the point that the current installer / installation steps aren't sufficient. I have just come across Vagrant which seems to be an open-source CLI to automate development environments, specifically to avoid issues like this. |
Hi, It seems as there is a problem with the installer on Windows 8.1 as well since I'm experiencing the same problem. When I execute run_yotta.bat, it results in an error 'cmd' is not recognized as an internal or external command, operable program or batch file". So the last command line of the batch file is not executed: cmd /K "cd %HOMEPATH% & %YOTTA_INSTALL_LOCATION%\workspace\Scripts\activate" Moreover when I look in the path %YOTTA_INSTALL_LOCATION% I do not see any folder called workspace? Here are my paths following the previous intructions, except for YOTTA_INSTALL_PATH I did use YOTTA_INSTALL_LOCATION : C:\yotta>echo %YOTTA_INSTALL_PATH% C:\yotta>echo %PATH% C:\yotta>echo %YOTTA_INSTALL_LOCATION% C:\yotta>echo %YOTTA_PATH% I hope to have some feedback soon since I need to get my environment up and running by tomorrow. Thanks in advance. |
Srry guys, I don't know what the problem is nor do I have a windows 8.1 machine to test against. My suggestion would be to use the manual installation steps listed here Leme know if you get it working or not. |
OK, I have downloaded Vagrant and provisioned a VirtualBox base VM running the vagrant
command fine and then
Why is this happening on a clean VM? I tried repeating the pip install and also going through the chown procedure outlined in the docs, I always get the same result... |
This is because you cannot install pip on vagrant. I have already tried On Fri, Aug 5, 2016 at 7:07 AM, georgeedwards [email protected]
|
@anujdutt9 Well If I run :
then I get:
Which suggests it has installed successfully no? |
Yes agreed, but yotta dosen't works well with vagrant. I already tried On Fri, Aug 5, 2016 at 7:18 AM, georgeedwards [email protected]
|
And I am currently installing Virtual Box to use Ubuntu as well. But If Windows is supported, the installer should be updated. |
FYI there are known issues with the Ubuntu 14.04 LTS distro, primiarily related to it has a suuuuuuper old version of pip and python. I suggest using a 15.x image and updating everything before you get going. Make sure your pip is at least version 8.x, otherwise you will have problems. |
Is there anyone from the core team who is willing to help on this, because it seems that currently, a number of Windows users can't use this project for a reason which isn't yet a known issue. I am really keen to be able to play with this. |
@georgeedwards this is potentially unrelated to your issue, but I noticed in your logs that its choking on installing the In the past I've gotten around this by installing I did some searching and it looks like other people have had this problem as well. This Stack Overflow issue seems to be the most relevant in your case: http://stackoverflow.com/questions/33665181/how-to-install-pyyaml-on-windows-10. I'd try the accepted solutions instructions inside your virtual environment first. Just be sure to grab the right package. If you're running Python 2.7 on Windows 64 bit, then you'll want the |
I ran the Windows installer (v023) which I downloaded from the link in the tutorial. After the install executable ran, it said it had completed successfully and the yotta icon appeared on my desktop. However, when I run the
yotta
command in the terminal that that icon opens I get the following error:I am running windows 10 pro.
and my
C:/ yotta
is full of files:The text was updated successfully, but these errors were encountered: