Anaconda navigator assistance for dan Dellapia have full answers please and thanks

60 POINTS and is considered a loser when he runs out POINTS After the program has finished, display the total number of rolls of the dice that were made in the entire Game To Program:

The game begins with the player having 20 POINTS The player rolls 2 six sided dice and the sum of faces on the two dice are calculated. That’s called the players POINT. If the POINT is a 7 or 11, the player wins his POINT If the POINT is a 2, 3, or 12, the player loses his point If point is anything else, then the game continues by the player rolling the two dice again and again recording and checking the sum until The player makes his point (the sum of his dice equals his point value) and then he wins the point The player rolls a 7 and then he loses his point The player is considered a winner if he can acquire 60 POINTS and is considered a loser when he runs out of points After the program is finished, display the total number of rolls of the dice that were made in the entire game Please include the entire answer not just have it please and thanks

Anaconda installation modifying .bash_profile on Mac OS X

I installed Anaconda on my Mac (Mojave) and now whenever I start a shell it automatically activates the conda environment. This was totally fine until I realized some of the commands in my .bashrc were not being executed on startup. In particular, I had increased HISTSIZE and HISTFILESIZE but they always seemed to be stuck at their default values of 500. After some googling, I learnt that because of my anaconda installation, it was my .bash_profile that was being used on startup and not .bashrc. This is what my .bash_profile looks like (see below), just adding commands from my .bashrc file (e.g., HISTFILESIZE=100000) to the top of my .bash_profile appears to do nothing. Any suggestions on what I am doing wrong? Thanks!

# Setting PATH for Python 3.7 # The original version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:$  {PATH}" export PATH # added by Anaconda3 2019.07 installer # >>> conda init >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$  (CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)" if [ $  ? -eq 0 ]; then     \eval "$  __conda_setup" else     if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then # . "/anaconda3/etc/profile.d/conda.sh"  # commented out by conda initialize         CONDA_CHANGEPS1=false conda activate base     else         \export PATH="/anaconda3/bin:$  PATH"     fi fi unset __conda_setup # <<< conda init <<<  # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$  ('//anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" if [ $  ? -eq 0 ]; then     eval "$  __conda_setup" else     if [ -f "//anaconda3/etc/profile.d/conda.sh" ]; then         . "//anaconda3/etc/profile.d/conda.sh"     else         export PATH="//anaconda3/bin:$  PATH"     fi fi unset __conda_setup # <<< conda initialize <<< 

Anaconda Navigator Cant Open on Ubuntu 18.04

I can’t open anaconda-navigator in terminal

Failed to write user configuration file. Please submit a bug report. Traceback (most recent call last):   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 122, in _save     _write_file(fname)   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 118, in _write_file     with open(fname, 'w', encoding='utf-8') as configfile: FileNotFoundError: [Errno 2] No such file or directory: '/home/udjo/.anaconda/navigator/anaconda-navigator.ini'  During handling of the above exception, another exception occurred:  Traceback (most recent call last):   File "/home/udjo/anaconda3/bin/anaconda-navigator", line 11, in <module>     sys.exit(main())   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/app/main.py", line 99, in main     from anaconda_navigator.utils.logs import clean_logs   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/utils/logs.py", line 18, in <module>     from anaconda_navigator.config import (LOG_FILENAME, LOG_FOLDER,   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>     from anaconda_navigator.config.main import CONF   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/main.py", line 87, in <module>     raw_mode=True,   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 222, in __init__     old_ver = self.get_version(version)   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 261, in get_version     return self.get(self.DEFAULT_SECTION_NAME, 'version', version)   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 392, in get     self.set(section, option, default)   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 455, in set     self._save()   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 132, in _save     raise (e)   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 128, in _save     _write_file(fname)   File "/home/udjo/anaconda3/lib/python3.7/site-packages/anaconda_navigator/config/user.py", line 118, in _write_file     with open(fname, 'w', encoding='utf-8') as configfile: FileNotFoundError: [Errno 2] No such file or directory: '/home/udjo/.anaconda/navigator/anaconda-navigator.ini'

Changing default python interpreter from anaconda to usr/bin

I am considerably new to Ubuntu and tried to install AWS deep racer machine learning simulator and for that I needed to install aws in my

  /home/piyushkumar/.local/bin/aws 

and to train my machine learning model my python interpreter should be also in same directory path but when I try to achieve that my default path is going through Anaconda. The path looks like this: /home/piyushkumar/anaconda3/bin/python

How can I set that local variable interpreter path to

/home/piyushkumar/.local/bin

Any insights on alias use will be useful.

Instalación del paquete rf an Anaconda para Windows

¡Hola!

He intentado instalar el paquete “rf” para aplicar la metodología de funciones receptoras, en Anaconda, siguiendo cada una de las instrucciones que indican en la documentación. Algunas de las dependencias ya están instaladas correctamente, pero arroja el siguiente error:

Building wheel for toeplitz (setup.py) … error ERROR: Complete output from command ‘C:\Users\msaavedra\Anaconda3\python.exe’ -u -c ‘import setuptools, tokenize;file='”‘”‘C:\Users\MSAAVE~1\AppData\Local\Temp\pip-install-3gc1j83s\toeplitz\setup.py'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(file);code=f.read().replace(‘”‘”‘\r\n'”‘”‘, ‘”‘”‘\n'”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec'”‘”‘))’ bdist_wheel -d ‘C:\Users\MSAAVE~1\AppData\Local\Temp\pip-wheel-9hnd__oo’ –python-tag cp37: ERROR: running bdist_wheel running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands –compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands –fcompiler options running build_src build_src building extension “toeplitz” sources f2py options: [] adding ‘build\src.win-amd64-3.7\build\src.win-amd64-3.7\src\fortranobject.c’ to sources. adding ‘build\src.win-amd64-3.7\build\src.win-amd64-3.7\src’ to include_dirs. build_src: building npy-pkg config files running build_ext No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler customize MSVCCompiler using build_ext get_default_fcompiler: matching types: ‘[‘gnu’, ‘intelv’, ‘absoft’, ‘compaqv’, ‘intelev’, ‘gnu95’, ‘g95’, ‘intelvem’, ‘intelem’, ‘flang’]’ customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 customize IntelVisualFCompiler Could not locate executable ifort Could not locate executable ifl customize AbsoftFCompiler Could not locate executable f90 customize CompaqVisualFCompiler Could not locate executable DF customize IntelItaniumVisualFCompiler Could not locate executable efl customize Gnu95FCompiler Found executable C:\Users\msaavedra\Anaconda3\Library\mingw-w64\bin\gfortran.exe Using built-in specs. COLLECT_GCC=C:\Users\msaavedra\Anaconda3\Library\mingw-w64\bin\gfortran.exe COLLECT_LTO_WRAPPER=C:/Users/msaavedra/Anaconda3/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-5.3.0/configure –prefix=/mingw64 –with-local-prefix=/mingw64/local –build=x86_64-w64-mingw32 –host=x86_64-w64-mingw32 –target=x86_64-w64-mingw32 –with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include –libexecdir=/mingw64/lib –with-gxx-include-dir=/mingw64/include/c++/5.3.0 –enable-bootstrap –with-arch=x86-64 –with-tune=generic –enable-languages=c,lto,c++,objc,obj-c++,fortran,ada –enable-shared –enable-static –enable-libatomic –enable-threads=posix –enable-graphite –enable-fully-dynamic-string –enable-libstdcxx-time=yes –disable-libstdcxx-pch –disable-libstdcxx-debug –enable-version-specific-runtime-libs –disable-isl-version-check –enable-lto –enable-libgomp –disable-multilib –enable-checking=release –disable-rpath –disable-win32-registry –disable-nls –disable-werror –disable-symvers –with-libiconv –with-system-zlib –with-gmp=/mingw64 –with-mpfr=/mingw64 –with-mpc=/mingw64 –with-isl=/mingw64 –with-pkgversion=’Rev5, Built by MSYS2 project’ –with-bugurl=https://sourceforge.net/projects/msys2 –with-gnu-as –with-gnu-ld Thread model: posix gcc version 5.3.0 (Rev5, Built by MSYS2 project) customize Gnu95FCompiler Using built-in specs. COLLECT_GCC=C:\Users\msaavedra\Anaconda3\Library\mingw-w64\bin\gfortran.exe COLLECT_LTO_WRAPPER=C:/Users/msaavedra/Anaconda3/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-5.3.0/configure –prefix=/mingw64 –with-local-prefix=/mingw64/local –build=x86_64-w64-mingw32 –host=x86_64-w64-mingw32 –target=x86_64-w64-mingw32 –with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include –libexecdir=/mingw64/lib –with-gxx-include-dir=/mingw64/include/c++/5.3.0 –enable-bootstrap –with-arch=x86-64 –with-tune=generic –enable-languages=c,lto,c++,objc,obj-c++,fortran,ada –enable-shared –enable-static –enable-libatomic –enable-threads=posix –enable-graphite –enable-fully-dynamic-string –enable-libstdcxx-time=yes –disable-libstdcxx-pch –disable-libstdcxx-debug –enable-version-specific-runtime-libs –disable-isl-version-check –enable-lto –enable-libgomp –disable-multilib –enable-checking=release –disable-rpath –disable-win32-registry –disable-nls –disable-werror –disable-symvers –with-libiconv –with-system-zlib –with-gmp=/mingw64 –with-mpfr=/mingw64 –with-mpc=/mingw64 –with-isl=/mingw64 –with-pkgversion=’Rev5, Built by MSYS2 project’ –with-bugurl=https://sourceforge.net/projects/msys2 –with-gnu-as –with-gnu-ld Thread model: posix gcc version 5.3.0 (Rev5, Built by MSYS2 project) customize Gnu95FCompiler using build_ext building ‘toeplitz’ extension compiling C sources error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: https://visualstudio.microsoft.com/downloads/


ERROR: Failed building wheel for toeplitz Running setup.py clean for toeplitz Failed to build toeplitz Installing collected packages: toeplitz, rf Running setup.py install for toeplitz … error ERROR: Complete output from command ‘C:\Users\msaavedra\Anaconda3\python.exe’ -u -c ‘import setuptools, tokenize;file='”‘”‘C:\Users\MSAAVE~1\AppData\Local\Temp\pip-install-3gc1j83s\toeplitz\setup.py'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(file);code=f.read().replace(‘”‘”‘\r\n'”‘”‘, ‘”‘”‘\n'”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec'”‘”‘))’ install –record ‘C:\Users\MSAAVE~1\AppData\Local\Temp\pip-record-lg50qgj6\install-record.txt’ –single-version-externally-managed –compile: ERROR: running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands –compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands –fcompiler options running build_src build_src building extension “toeplitz” sources f2py options: [] adding ‘build\src.win-amd64-3.7\build\src.win-amd64-3.7\src\fortranobject.c’ to sources. adding ‘build\src.win-amd64-3.7\build\src.win-amd64-3.7\src’ to include_dirs. build_src: building npy-pkg config files running build_ext No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler customize MSVCCompiler using build_ext get_default_fcompiler: matching types: ‘[‘gnu’, ‘intelv’, ‘absoft’, ‘compaqv’, ‘intelev’, ‘gnu95’, ‘g95’, ‘intelvem’, ‘intelem’, ‘flang’]’ customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 customize IntelVisualFCompiler Could not locate executable ifort Could not locate executable ifl customize AbsoftFCompiler Could not locate executable f90 customize CompaqVisualFCompiler Could not locate executable DF customize IntelItaniumVisualFCompiler Could not locate executable efl customize Gnu95FCompiler Found executable C:\Users\msaavedra\Anaconda3\Library\mingw-w64\bin\gfortran.exe Using built-in specs. COLLECT_GCC=C:\Users\msaavedra\Anaconda3\Library\mingw-w64\bin\gfortran.exe COLLECT_LTO_WRAPPER=C:/Users/msaavedra/Anaconda3/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-5.3.0/configure –prefix=/mingw64 –with-local-prefix=/mingw64/local –build=x86_64-w64-mingw32 –host=x86_64-w64-mingw32 –target=x86_64-w64-mingw32 –with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include –libexecdir=/mingw64/lib –with-gxx-include-dir=/mingw64/include/c++/5.3.0 –enable-bootstrap –with-arch=x86-64 –with-tune=generic –enable-languages=c,lto,c++,objc,obj-c++,fortran,ada –enable-shared –enable-static –enable-libatomic –enable-threads=posix –enable-graphite –enable-fully-dynamic-string –enable-libstdcxx-time=yes –disable-libstdcxx-pch –disable-libstdcxx-debug –enable-version-specific-runtime-libs –disable-isl-version-check –enable-lto –enable-libgomp –disable-multilib –enable-checking=release –disable-rpath –disable-win32-registry –disable-nls –disable-werror –disable-symvers –with-libiconv –with-system-zlib –with-gmp=/mingw64 –with-mpfr=/mingw64 –with-mpc=/mingw64 –with-isl=/mingw64 –with-pkgversion=’Rev5, Built by MSYS2 project’ –with-bugurl=https://sourceforge.net/projects/msys2 –with-gnu-as –with-gnu-ld Thread model: posix gcc version 5.3.0 (Rev5, Built by MSYS2 project) customize Gnu95FCompiler Using built-in specs. COLLECT_GCC=C:\Users\msaavedra\Anaconda3\Library\mingw-w64\bin\gfortran.exe COLLECT_LTO_WRAPPER=C:/Users/msaavedra/Anaconda3/Library/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-5.3.0/configure –prefix=/mingw64 –with-local-prefix=/mingw64/local –build=x86_64-w64-mingw32 –host=x86_64-w64-mingw32 –target=x86_64-w64-mingw32 –with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include –libexecdir=/mingw64/lib –with-gxx-include-dir=/mingw64/include/c++/5.3.0 –enable-bootstrap –with-arch=x86-64 –with-tune=generic –enable-languages=c,lto,c++,objc,obj-c++,fortran,ada –enable-shared –enable-static –enable-libatomic –enable-threads=posix –enable-graphite –enable-fully-dynamic-string –enable-libstdcxx-time=yes –disable-libstdcxx-pch –disable-libstdcxx-debug –enable-version-specific-runtime-libs –disable-isl-version-check –enable-lto –enable-libgomp –disable-multilib –enable-checking=release –disable-rpath –disable-win32-registry –disable-nls –disable-werror –disable-symvers –with-libiconv –with-system-zlib –with-gmp=/mingw64 –with-mpfr=/mingw64 –with-mpc=/mingw64 –with-isl=/mingw64 –with-pkgversion=’Rev5, Built by MSYS2 project’ –with-bugurl=https://sourceforge.net/projects/msys2 –with-gnu-as –with-gnu-ld Thread model: posix gcc version 5.3.0 (Rev5, Built by MSYS2 project) customize Gnu95FCompiler using build_ext building ‘toeplitz’ extension compiling C sources error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: https://visualstudio.microsoft.com/downloads/ —————————————- ERROR: Command “‘C:\Users\msaavedra\Anaconda3\python.exe’ -u -c ‘import setuptools, tokenize;file='”‘”‘C:\Users\MSAAVE~1\AppData\Local\Temp\pip-install-3gc1j83s\toeplitz\setup.py'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(file);code=f.read().replace(‘”‘”‘\r\n'”‘”‘, ‘”‘”‘\n'”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec'”‘”‘))’ install –record ‘C:\Users\MSAAVE~1\AppData\Local\Temp\pip-record-lg50qgj6\install-record.txt’ –single-version-externally-managed –compile” failed with error code 1 in C:\Users\MSAAVE~1\AppData\Local\Temp\pip-install-3gc1j83s\toeplitz\

Pensé que solo necesitaba unos compiladores de fortran, por lo que también instalé MinGW para ver si se solucionaba el problema, sin embargo, no tuve éxito. En este caso no estoy segura si el paquete no funciona en un ambiente Windows, que es desde donde estoy trabajando con Anaconda.

Agradecería mucho cualquier ayuda!!!

Anaconda failed to create menus

Al instalar Anaconda en Win7 64 sp1 arroja, al final de la instalación, el siguiente mensaje “Anaconda failed to create menus”. Permitiendo Omitir o Anular instalación. Si se omite luego no es posible ejecutar conda siquiera. Si se anula solo resta borrar la carpeta de instalación. Adjunto captura con detalles. Por lo pronto ya revise las variables de entorno PATH, anteriormente instale matlab en esta misma pc sin problemas. Lo retite del path por sugerencia de otro sitio pero persiste. Es la primera vez que instalo python en esta pc, por lo cual no hay versiones anteriores previas a esta instalación. Detalle_de_error

Issue installing anaconda

I tried installing anaconda3 today but was returned the following error message:

Preparing transaction: done Executing transaction: / WARNING conda.core.envs_manager:register_env(46): Unable to register environment. Path not writable or missing.   environment location: /home/hshows/anaconda3   registry file: /home/hshows/.conda/environments.txt done installation finished. Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] 

I’m a stark raving noob at ubuntu so I’m not sure where to start with resolving this issue.

Thanks

Use default python3 enviroment in anaconda

Installing graph-tool for Python in Anaconda is a mess. I tried apt and it worked flawlessly allowing me to use to just jump into Ubuntus default python3 to load and use the package. Now I’m looking to make an environment in Anaconda for it, but I only find information on how to make the Anaconda environment the default Python and not the other way around. Does anyone know how I can create an environment in Anaconda that looks just like my default Python? If not what could be another work around.

installing Anaconda in virtual environment!

I know anaconda is itself being used to set environment for different python versions, but i am trying to install the anaconda in virtual environment, so that my normal python setup, along with other packages ( like open-CV ,tensor flow , and CUDA and its dependencies ) shouldn’t be affected,

{ initially i tried installing all these dependencies on anaconda, but it didn’t seems to work for me, that’s why i shifted back to normal version }

As i tried it, it installed the anaconda, but i don’t now how, but i am able to access it outside of that virtual environment ( used virtualenv ), for now i have removed the anaconda It will be helpful if someone tell me correct alternatives for it,