|
From: | Daniel Gmail |
Subject: | RE: packages upload |
Date: | Wed, 28 Sep 2022 02:03:31 +0200 |
Hi Nicolas, Unfortunately it did not work, here are the messages that I get: I tried various methods but was not successful installing the package. Note that I do not have winzip but use 7-zip. The temp directory is
I have copied the extracted file to C:\Program Files\GNUoctavedownload I then switched to Octave and navigated to this directory and launched the command pkg install econometrics
>> pkg install econometrics error: pkg: file not found: econometrics. This looks like an Octave Forge package name. Did you mean: pkg install -forge econometrics error: called from pkg at line 589 column 19
In Octave, being always in the directory, I type the above command and get the message: >> pkg install -forge econometrics error: unpack: unarchiving program exited with status: 2 tar: "/C/Users/Maintenant Pr\303\252t/AppData/Local/Temp/econometrics-1.1.2-OnCxGq.tar.gz": Cannot open: No such file or directory tar: Error is not recoverable: exiting now error: called from unpack at line 283 column 5 untar at line 48 column 5 install at line 99 column 9 pkg at line 612 column 9
I went to Octave, selected the new temp directory and ran again pkg install econometrics-1.1.2.tar.gz 3.a pkg install econometrics-1.1.2.tar.gz pkg install econometrics-1.1.2.tar c:/program files/gnu octave/octave-7.2.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find C:\Users\Maintenant: Permission denied c:/program files/gnu octave/octave-7.2.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find Prêt\AppData\Local\Temp/oct-Abd Am6.o: No such file or directory collect2.exe: error: ld returned 1 exit status make: *** [Makefile:8: __kernel_weights.oct] Error 1 make: Entering directory '/c/Users/Maintenant Prêt/AppData/Local/Temp/oct-q7jPBE/econometrics-1.1.2/src' C:/PROGRA~1/GNUOCT~1/OCTAVE~1.0/mingw64/bin/mkoctfile-7.2.0.exe -Wall __kernel_weights.cc make: Leaving directory '/c/Users/Maintenant Prêt/AppData/Local/Temp/oct-q7jPBE/econometrics-1.1.2/src' error: pkg: error running 'make' for the econometrics package error: called from configure_make at line 117 column 9 install at line 202 column 7 pkg at line 612 column 9 3.b if I type pkg install econometrics I get the same message as before: >> pkg install econometrics error: pkg: file not found: econometrics. This looks like an Octave Forge package name. Did you mean: pkg install -forge econometrics error: called from pkg at line 589 column 19
can you give me the exact syntax? Do I have to type in the command window pkg install-global -forge econometrics pkg install -forge econometrics -global Thanks Daniel De : Nicholas Jankowski <jankowski.nicholas@gmail.com> (please keep the help list cc'd on replies) On Tue, Sep 27, 2022 at 12:26 PM Daniel Gmail <daniel1mosca@gmail.com> wrote:
ok, there are knowns issues with nonstandard characters, so maybe that's not a surprise. you may find similar issues with other parts of octave that try to make use of your local profile.
I will try. using the short name of the package only works for installation if you're asking octave to fetch and install the file from the repository. If you're installing something you've already manually downloaded, you should just save the file somewhere convenient and temporary (c:\temp or c:\octave might be best if your Desktop may have issues because of the username problem above). then navigate to that location using the folder tree in the gui or the CD command in the command window. then "pkg install <filename>" will attempt to install it. alternatively you can try: pkg install -forge econometrics which should fetch and install the latest version of the package. LAST THING - the above commands will both try to install the package as a local or user package, and it will by default put it in your user profile. if you have issues, you may want to try a 'global' package install by adding the -global to either command above. This will attempt to install it in the Octave program folders (where you copied the downloaded file to) for all users. This will fail if you don't have write privileges to those folders ,though. if that works, you should be able to "pkg load econometrics" and start using that package's functions. let us know how that goes. |
[Prev in Thread] | Current Thread | [Next in Thread] |