Solana is not recognized as an internal or external command, operable program or batch file

질문

나는 달렸다:

curl https://release.solana.com/v1.8.3/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs

내 Windows 명령 프롬프트에 나타났다 다음과 같다:

Solana is not recognized as an internal or external command, operable program or batch file

보였 다음과 같이 설치되어-그래서 그 다음에 나는 solana --version 그리고 이것은 무슨 일이 있었는지:

'solana' is not recognized as an internal or external command, operable program or batch file.

실행 solana --version Powershell,Git Bash,대 코드 터미널,그리고 명령 프롬프트에게 동일한 출력.

어떻게 설치할 수 있나?

감사합니다!

2

최고의 응답

시도할 수 있습니다.

더 많은 정보:https://docs.solana.com/cli/install-solana-cli-tools

1 단계:

curl https://release.solana.com/v1.8.3/solana-install-init-x86_64-pc-windows- msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs

2 단계:

C:\solana-install-tmp\solana-install-init.exe v1.8.3

참고:당신은 당신을 명령 프롬프트를 열고 관리자 권한으로









C:\solana-install-tmp\solana-install-init.exe v1.8.6

Install is up to date. 1.8.6 is the latest compatible release The HKEY_CURRENT_USER/Environment/PATH registry key has been modified to include: C:\Users\Krogf\.local\share\solana\install\active_release\bin Future applications will automatically have the correct environment, but you may need to restart your current shell. Press the Enter key to continue.

다른 언어로

이 페이지는 다른 언어로되어 있습니다

empty row

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

..................................................................................................................

이 카테고리에서 인기

인기 있는 질문에 이 카테고리

Waffle Boots

Guest

  • #1

Waffle Boots Asks: How to install Solana on Windows?
I ran:

curl https://release.solana.com/v1.8.3/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs

In my Windows command prompt and it showed up like this:

Solana is not recognized as an internal or external command, operable program or batch file

It seemed like it installed - so then I did solana --version and this is what happened:

'solana' is not recognized as an internal or external command, operable program or batch file.

I ran solana --version in Powershell, Git Bash, VS Code Terminal, and Command Prompt and it gives the same output.

How do I install Solana?

Thank you!

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, solveforum.

/forums/whats-new/news-feed

  • storms
  • 8 minutes ago
  • Technology Forum
  • Replies: 0

storms Asks: python algorithm to parse xxxx_yyy_iiii type of string output
I'm trying to parse a bunch of names that are separated by "-".

The problem is that there is too many exceptions to the "rule".So right now my solution just revolves around a string.split() and a bunch of IF statements which means the script just keeps breaking because stuff keeps somewhat changing over the time.

I might have names like:

aaa_bbb_cccx where i should start "parsing the meaning of it" at the last element 'cccx' because of 'x';

some names is the same but at the firt element: iaaa_bbb_ccc

some names do not follow the 3 anagrams order so they might actually be 4 or 5 size length and require a new "entry point of parsing"

and then there is also the names where no matter where 'pppp' appears, it should always start parsing on that element, you guys get the point.

So what would be the best yet somewhat simple approach to this? I feel like this is a solved issue that I'm failing to google.

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.

  • Adriano Reis
  • 8 minutes ago
  • Technology Forum
  • Replies: 0

Adriano Reis Asks: Suitescript fill subsidiary in item
In Suitescript 2.1 I'm trying to create an inventoryitem. But I'm getting this subsidiary error. Can anyone tell me what I'm doing wrong?

Solana is not recognized as an internal or external command, operable program or batch file

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.

  • dobby
  • 8 minutes ago
  • Technology Forum
  • Replies: 0

dobby Asks: While loop in linked list is confusing
I'm sort of confused with this while loop statement while creating a linked list : while(curr->next != NULL) But curr->next will always be NULL since we never initialized curr->next to anything, so that while loop should never run!

Can someone explain this please?? The code snippet is as follows:

Code:

else { curr = head; while(curr->next != NULL) { curr = curr->next; } curr->next = node; } }

For the full code, it's shown below:

Code:

void AddNode(int addData) { nodePtr n = new node; n->next = NULL; n->data = addData; if (head != NULL) { curr = head; while(curr->next != NULL) { curr = curr->next; } curr->next = n; } else { head = n; } }


SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.

  • Prabhneet Singh
  • 8 minutes ago
  • Technology Forum
  • Replies: 0

Prabhneet Singh Asks: Reason to add bracket() along with while accessing Data in an Object Using Bracket Notation

Code:

function calculate(num1, operation, num2) { const ops = { "+": () => num1 + num2, "-": () => num1 - num2, "*": () => num1 * num2, "/": () => num2 !== 0 ? num1 / num2 : null }; return ops[operation] ? ops[operation]() : null; }

In the last line of this simple calculator app in the return statement a bracket is mentioned with ops[operation] as such ops[operation]() What does it mean?

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.

  • Newbie...
  • 8 minutes ago
  • Technology Forum
  • Replies: 0

Newbie... Asks: How can I make navbar hide further/disappear when keyboard is opened?
I would like to completely hide the react navigation bottom tab navbar when my keyboard appears. I've already added tabBarHideOnKeyboard: true to my Tab.Navigator, but the issue is that a one of the tabs sticks out when the navbar hides.

Solana is not recognized as an internal or external command, operable program or batch file

Solana is not recognized as an internal or external command, operable program or batch file

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.

  • Lion King
  • 8 minutes ago
  • Technology Forum
  • Replies: 0

Lion King Asks: I am using threads to do two things at the same time but the second thread stops the main thread
I am using threads to do two things at the same time, the main thread is responsible for the program and the second thread is just to execute a function that function has a while loop that doesn't end unless the user presses a specific key on the keyboard.

Code:

// This function freezes an address value by assigning a value continuously void SuperJump() { DWORD OffsetBaseAddress = 0x1C85FC; int value = 0; while (true) { if (GetAsyncKeyState(VK_NUMPAD4)) { break; } Sleep(50); WriteProcessMemory(hHandle, (LPVOID)(BaseAddress + OffsetBaseAddress), &value, sizeof(value), NULL); } } int main() { DWORD OffsetBaseAddress; int value; while (true) { // ...... // ...... if (GetAsyncKeyState(VK_NUMPAD3)) { std::thread th(&SuperJump); th.join(); } } return 0; }

The problem is when the second thread starts the main thread (program) doesn't respond to any key press until the second thread finished. I want the main thread (program) keeps responding (working) during the second thread work, is that possible?

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.

  • bob.sacamento
  • 8 minutes ago
  • Technology Forum
  • Replies: 0

bob.sacamento Asks: How to kink in a static library in a waf build?
I am completely new to waf. I am having trouble linking a static library when building a large and complex code. To try to figure out what is going on, I thought I would practice with a much smaller toy code.

The wscript here is supposed to start with two C codes, ncdf_kickoff.c and ncdf_kernel.c, and compile objects out of them. It is then supposed to create a static library libncdflcl.a from ncdf_kernel.o. (Yes, I could just use ncdf_kernel.o and skip the library ... if this little project was an end in itself. But I am trying to work analogously to the build of the real code I am working with, where skipping the library is not an option.) Finally, it is supposed to link ncdf_kickoff.o, libncdflcl.a and libnetcdf.a to form the executable ncdf.

wscript is

Code:

top = '.' out = '.' def options(opt): opt.load('gcc') def configure(conf): conf.load('gcc') conf.env.append_value("CXXFLAGS", ["-O3"]) conf.env.append_values("LINKFLAGS", ["-L.", "-lncdflcl", "-lnetcdf"]) def build(bld): bld.program(source="ncdf_kickoff.c", target="ncdf") bld.stlib(source="ncdf_kernel.c", target="ncdflcl") bld.objects(source="ncdf_kernel.c", target="ncdf_kernel.o")

The build fails. waf complains that it can't find some objects that are definitely contained in libnetcdf.a. Linking to libnetcdf.a is not the problem; a simpler version of this script, just using the object files (no local library) was able to find and link to libnetcdf.a and produce a successfully operating executable with no problem. The local library I am trying to construct is the problem.

Trying to run this in verbose mode and decipher the output, it looks to me like the problem is that waf is trying to run

Code:

> gcc -L. -lncdflcl -lnetcdf -o ncdf ncdf_kickoff.o

So I tried this command "by hand" and, sure enough, it fails because it can't find objects in libnetcdf.a. So again "by hand" I try to build with

Code:

> gcc -o ncdf ncdf_kickoff.o -L. -lncdflcl -lnetcdf

and this builds just fine. So it seems to me that what I need to do is convince waf of the correct order of libraries in the linking statement. I have tried rearranging things in the "LINKFLAGS" definition, but it makes no difference. I mean, I can rearrange the relative order of the libraries, but I can't get them moved to the end of the build command. Anyone know 1) if I am right about this and 2) what to do about it?

One other thing: waf is creating two identical object files out of ncdf_kernel.c, named ncdf_kernel.c.2.o and ncdf_kernel.c.3.o. Any way to convince it that I only need one?

SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.

How to install solana in window 10?

Windows.
Open a Command Prompt ( cmd.exe ) as an Administrator. Search for Command Prompt in the Windows search bar. When the Command Prompt app appears, right-click and select “Open as Administrator”. ... .
Copy and paste the following command, then press Enter to download the Solana installer into a temporary directory:.

How do I download Solana?

Download the binaries by navigating to https://github.com/solana-labs/solana/releases/latest open in new window, download solana-release-x86_64-pc-windows-msvc. tar. bz2, then extract the archive using WinZip or similar.