我正在windows 10的双引导上运行一个新安装的Ubuntu19.04DiscoDingo。
当我下一次打开终端时完成安装,看起来就像
(base) username@ubuntu:~$
这意味着我处在Conda的主要环境中。但是,当Anaconda的安装完成时,它说:
if you want conda not to activate automatically when startup, run:
conda config --set auto_activate_base false
但是当我这样做的时候,当我离开(基地)的时候,下一次我打开终端,尝试打开anaconda-na
我对Google中的Anaconda3和Ubuntu有一个问题。我成功地安装了Anaconda3,但是我不能调用conda。这是我终端的密码。
eko_rudiawan@google-ubuntu:~$ $PATH
-bash: /home/eko_rudiawan/bin:/home/eko_rudiawan/.local/bin:/opt/ros/kinetic/bin:/usr/local/sbin:/usr/local/bin:/us
r/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin: No such fi
我在Jupyter notebook中运行python脚本,它工作得很好。我将笔记本转换为python文件,当我尝试从终端运行它时,我得到一个错误消息:
>>> import tensorflow as tf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'
我已经使用conda在conda环境中安装了tensorflow和ju
我刚安装了Ubuntu。我下载了anaconda python软件包并试图安装它,
bash Anaconda-2.1.0-Linux-x86_64.sh
在某一时刻,终端机说:
Anaconda will now be installed into this location:
/home/*username*/anaconda
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify an different location below
所以我想安装
我可以在终端的Python中导入并运行:
>>> from google.cloud import translate_v2 as translate
>>> translate
<module 'google.cloud.translate_v2' from '/home/anaconda3/lib/python3.7/site-packages/google/cloud/translate_v2/__init__.py'>
但是,当我从脚本运行它时,相同的语句会产生一个错误:
Traceback (most r
我想为sublime文本创建一个新的“构建工具”,这样我就可以使用tensorflow的anaconda环境来运行我的python脚本。在我的其他机器上,这没有问题,但在我的支持GPU的ubuntu机器上,我得到了一个错误。我认为这是由于缺少路径所致。错误消息中提供的路径不包含cuda路径,尽管我已经将它们包含在.bashrc中。
更新
我更改了~/.profile以导出路径。但tensorflow仍然不会从卓越开始。直接从终端运行我的脚本是没有问题的。我得到了ImportError: libcudart.so.8.0: cannot open shared object file: No s