Issue on Installing Anaconda for Windows 10 - python-3.x

I installed Anaconda 3 (Python 3.7.3 64-bit) from file Anaconda3-2019.03-Windows-x86_64.exe but I can't find Anaconda Navigator between my desktop apps. I followed some (very) similar questions on this forum but, e.g. after having opened the command terminal and dialed the command:
anaconda-navigator
I obtained the error text:
'anaconda-navigator' is not recognized as an internal or external command, operable program or batch file.
How do I fix this? Thank you!

I had the same problem on windows 10 64x, the only way to make it work was by uninstalling python and anaconda and installing the anaconda 86x.

Related

PyCharm cannot find gdal libraries when using os system in WSL Ubuntu

The problem is that within the PyCharm editor, the gdal applications (e.g. gdalwarp or gdal_grid https://gdal.org/) cannot be found when using os.system. For example the code:
os.system(f"gdalwarp -t_srs EPSG:27700 {fnc} {tname}")
returns this error message 'sh: 1: gdalwarp: not found'.
I am using PyCharm interpreter with the following settings:
Ubuntu WSL platform
conda environment with gdal libaries installed.
When I run the code from the ubuntu terminal, it does find the gdal libraries. So I don't think the problem is within the conda environment, but there is a problem with PyCharm settings to find the gdal application using os system.
I do not want to change the code, but I would rather figure out the correct PyCharm settings. Any help would be greatly appreciated.

Anaconda only comes with anaconda prompt

I used to have the whole anaconda package on my Windows 10 computer (an HP Envy) until recently, Windows 10 updated and the update caused problems so I restored the previous version of windows (keep in mind, I installed Anaconda about 3 updates ago so restoring should not have caused a problem). A few days later, I tried to use Jupyter but "jupyter notebook" no longer launched Jupyter when typed into PowerShell. I tried uninstalling and reinstalling with all different preferences (i.e. me only, all users, PATH, no PATH, etc.) but it still installs as only the anaconda prompt. When I type conda --version in PowerShell, my error says "The term conda is not recognized" ...
Does anyone have any suggestions? I really need to use Jupyter. Thanks!

Theano: where to input " theano-cache clear"

To remove theano compile cache, Theano 0.9 document says using 'theano-cache clear'.
I don't know where to type the command. I am using anaconda with spyder. Does the command should be input in anaconda prompt, spyder console or cmd?
Typing the command in anaconda prompt yields the error message:
'theano-cache' is not recognized as an internal or external command,
operable program or batch file.
Is there other way in addition to the command to remove the cache?
I also met this error, I delete it in the folder: C:\Users\user\AppData\Local\Theano (maybe I am wrong). But in this way I didn't solve other problems later. I used pip install theano==0.8.2 to install an other version, and installed CUDA7.5, then it worked. My system is Windows 8.1, and my GPU is 830M.
Anyways, I found it is easy to install theano in linux, I have installed it in Ubuntu 16.04.
I hope it can help you.

How to use pip with Visual Studio Code

I have python 3.6 installed, I have a python extension installed on Visual Studio code but I still can't use pip on Visual Studio code. It says it is not a recognised command. Any help please?
Update: I tried installing pip manually but a file in python2.7 keeps stopping. What's bothersome is that I uninstalled python 2.7 ages ago and I've currently removed every folder with it but python-V still says I have python2.7.6 installed.
I'm on windows 10
I found some solution on this website:
https://pip.pypa.io/en/stable/installing/
If you use Visual Studio Code, you can type the following command:
C:\> py -m pip
If everything is alright, you should see the list of commands, which you can use. They are listed in your terminal, as per below.
I also would advise you to check/select the version of Python you are using:
VSCode: There is no Pip installer available in the selected environment
I am pretty sure your problems of VSCode not finding the correct version of Python will be resolved if you add your ( Python 3.6 installation ) location to the system path.

Twice version of python in Ubuntu

I wold like to use Pycham with Python3.4.3 and Pyqt4.
So, I have installed Python 3.4.3 in Ubuntu 16.04 and run PyQt4 as well. After that, I continued installing Pycharm. However, pycharm interpreter didn't recognized these version of python. It only shows python 3.5 and 2.7 version. However, when I run in terminal python3.4>>import PyQt4, there isn't wrong message. I think that all compilation that I have to do was right. Anyone know what can I do to fix this problem?
How can I put Pycharm to recognize python3.4.3 that I installed with PyQt4?

Resources