So I wanted to install Anaconda3 in my D drive to save up space for my C drive. But once installed, when trying to open Anaconda3 Prompt, it doesn't want to open. It just flashes and closes.
I installed anaconda in a folder. Meaning in the D drive, I created a folder with "Name" and then inside the folder I installed the anaconda3 in another folder called anaconda3. But since installing in the D drive, there seems to be complications with making anaconda to work. I also have created the Path for anaconda3 and its library and scripts.
So what is the real problem here? I have previously installed anaconda3 before in my C drive but uninstalled it and installed it in the D drive. Could this be the case? I'm using Windows 10
Related
anaconda version: 4.10.1.
anaconda is installed with root in /opt/anaconda3.
another user mingming tries to source /opt/anaconda3/bin/activate and shell never return until CTRL + C. mingming has rwx access to all files and directories in /opt/anaconda3. I am trying to install anaconda with root and make all other users can use it to create their own environment.
I found out that conda init alternate PATH in an endless loop, but why this is happening?
For example, I have installed vuecli here, the vue version I got from the vscode terminal is installed in C:\Users\username\AppData\Roaming\npm\node_modules#vue\cli, and I opened the vue version obtained by gitbash It is installed in the custom directory of my d drive (where the environment variable is configured).
I installed the plug-in in the vscode terminal to a custom directory of my D drive, but I used the plug-in installed in the c drive. How should I uninstall the installation at the location of the c drive .
(direct uninstall will uninstall the installation of my d drive, and the c drive installation cannot be updated, and deleting the corresponding file will report an error)
I tried using npm uninstall ./ file location successfully. Finally solved it, the original method is so simple
I have installed kubernetes extension on my vscode portable version.
even if have create the data directory inside the vscode folder.
the tools are getting installed in the C:\Users\ directory as .vs-kubernetes folder
is there any way to have this truely portable ?
The reason i am facing the issue is i am running this on citrix and we have very less user space.
When I tried to install Anaconda into my computer, the destination folder for my installation was "C:\Users\Lara Nguyen\Anaconda3". When I clicked "Next", there was a pop-up saying that "Error:'Destination folder' contains 1 space. This can cause problems with several Conda packages, and is thus disabled. Please install to a path without a space". After the installation, opened cmd and typed "Jupyter Notebook" but there was an error message saying that:"jupyter"is not recognised as an internal or external command, operable command or batch file.
Is there anyway I can fix this problem?
Looking at your path I am assuming you are using windows (I mention this so that other linux user do not refer this answer)
First of all it's clearly mentioned in the Anaconda installation documents that it is recommended to install to a path which does not have spaces
If you installed it correctly, did you register the anaconda path to the environment variable? If not then do that
The paths that you have to register will be something like this:
C:User\username\Anaconda3
C:User\username\Anaconda3\Scripts
C:User\username\Anaconda3\Library
Now run the anaconda prompt (not cmd) and just type the conda commmand
After typing the conda command if you did not get any error then you have successfully installed jupyter as well (You can cross check this by going to following location : C:User\username\Anaconda3\Scripts and searching for jupyter-script.py file)
now in anaconda prompt itself run the command jupyter notebook
if it still throws you error then I would strongly recommend you to reinstall Anaconda3 and follow the above steps correctly
Background: I have created an Ubuntu VirtualBox from LAPP stack and added the Ubuntu desktop (Unity: sudo apt-get install ubuntu-desktop). Now I am attempting to install the MCR without loosing Unity.
Download MCR zip and extract to MCR_SOURCE
Go to my folder that contains the files: cd /media/sf_shared/MCR_ SOURCE
Change installer_input.txt file:
destinationFolder=/opt/MCR
agreeToLicense=yes
outputFile=/opt/install.log
mode=silent
product.MATLAB
product.MATLAB_Builder_JA
# Note: To find out the required toolboxes >> start Matlab >> run your code and find out which toolboxes were used with: license('inuse')
Install MCR: sudo ./install -inputFile /media/sf_shared/MCR_SOURCE/installer_input.txt >> success
Restart Ubuntu >> test whether Ubuntu’s Unity still exists >> everything is fine
Attention the next step will “ kill ” your Ubuntu desktop configuration!!! (i.e. copy your hardisk, anything you must do to recover quickly) – now configure: sudo gedit /etc/environment
LD_LIBRARY_PATH="/opt/MCR/v84/runtime/glnxa64:/opt/MCR/v84/bin/glnxa64:/opt/MCR/v84/sys/os/glnxa64:${LD_LIBRARY_PATH}"
XAPPLRESDIR="/opt/MCR/v84/X11/app-defaults"
# Note: X11/app-defaults folder has not been created during installation
Restart Ubuntu >> Unity is gone, recovery attempts such as deleting the above lines do not recover Unity; reinstalling the Ubuntu desktop does not help either.
I have tried an alternative route with exporting the variables, which also "kills" Unity. By the way this affects all users.
Any ideas?
It is not necessary to register these environment variables in /etc/environment, which means that the Unity sidebar will not be affected.
Instead register the environment variables temporarily either as local user or via sudo -i:
export LD_LIBRARY_PATH="/opt/MCR/v84/runtime/glnxa64:/opt/MCR/v84/bin/glnxa64:/opt/MCR/v84/sys/os/glnxa64:${LD_LIBRARY_PATH}"
export XAPPLRESDIR="/opt/MCR/v84/X11/app-defaults"
Now it is possible to run Matlab Apps without "killing" Ubuntu's desktop. For instance to run the Java compiled makesqr.m file.
java -classpath "/opt/MCR/v84/toolbox/javabuilder/jar/javabuilder.jar:/media/sf_shared/for_testing/makesqr.jar" makesqr.Class1 5
The Java package makesqr was created using Matlab's JavaBuilder tutorial. This was done on my Windows 7 machine, which runs Matlab R2014b.
Please ensure that the owner and permissions of the /opt/MCR and /media/sf_shared/for_testing folders are set correctly (see here for details).