当前位置:网站首页>Google collab trample pit
Google collab trample pit
2022-07-04 22:51:00 【Jay_ Mapp】
1. In use , First transfer data into Google Drive in , And then in Colab Middle link Google Colab
from google.colab import drive
drive.mount('/content/drive')
2. Go to your own folder :
stay colab in , Just do this directly
cd The name of the folder you want to enter /
3. install Anaconda To configure the required installation package :
!wget -c https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
!chmod +x Anaconda3-5.1.0-Linux-x86_64.sh
!bash ./Anaconda3-5.1.0-Linux-x86_64.sh -b -f -p /usr/local
import sys
sys.path.append('/usr/local/lib/python3.6/site-packages/')
4.Linux Next Anaconda Virtual environment creation 、 Activate
Virtual environment creation :
!conda create -n Virtual environment name python=3.7
Activate the virtual environment :
!source cnonda activate A virtual environment
After the virtual environment is activated , There is no need to carry out other operations , After activating the virtual environment , Want to run python The file will run in this virtual environment
There are three common errors in installing various dependent libraries :
(1)Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-nr4ydx_8/opencv-python/
!pip install --upgrade setuptools
(2)Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ud_idlo6/opencv-python/
!python -m pip install --upgrade pip
(3)ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
pip install PyYAML --ignore-installed
边栏推荐
- Persistence mechanism of redis
- Google Earth Engine(GEE)——Tasks升级,实现RUN ALL可以一键下载任务类型中的所有影像
- Tla+ introductory tutorial (1): introduction to formal methods
- Advanced area of attack and defense world misc 3-11
- Shell script implements application service log warehousing MySQL
- Detailed explanation of heap sort code
- Logo Camp d'entraînement section 3 techniques créatives initiales
- 记录:关于Win10系统中Microsoft Edge上的网页如何滚动截屏?
- LOGO special training camp section I identification logo and Logo Design Ideas
- 9 - class
猜你喜欢
Persistence mechanism of redis
Google Earth Engine(GEE)——基于 MCD64A1 的 GlobFire 日常火灾数据集
On-off and on-off of quality system construction
Unity Xiuxian mobile game | Lua dynamic sliding function (specific implementation of three source codes)
Redis入门完整教程:事务与Lua
Breakpoint debugging under vs2019 c release
LOGO特训营 第三节 首字母创意手法
2022-07-04: what is the output of the following go language code? A:true; B:false; C: Compilation error. package main import “fmt“ func main() { fmt.Pri
醒悟的日子,我是怎么一步一步走向软件测试的道路
Redis入门完整教程:发布订阅
随机推荐
UML diagram memory skills
Advanced area of attack and defense world misc 3-11
LOGO特训营 第四节 字体设计的重要性
Now MySQL cdc2.1 is parsing the datetime class with a value of 0000-00-00 00:00:00
Sword finger offer 67 Convert a string to an integer
Attack and defense world misc master advanced zone 001 normal_ png
MySQL Architecture - user rights and management
攻防世界 MISC 进阶区 3-11
In Linux, I call odspcmd to query the database information. How to output silently is to only output values. Don't do this
剑指 Offer 65. 不用加减乘除做加法
质量体系建设之路的分分合合
记录:关于Win10系统中Microsoft Edge上的网页如何滚动截屏?
Li Kou 98: verify binary search tree
业务太忙,真的是没时间搞自动化理由吗?
攻防世界 MISC 进阶区 hong
Attack and defense world misc advanced grace-50
Duplicate ADMAS part name
How to reset the password of MySQL root account
How to manage 15million employees easily?
Why is Dameng data called the "first share" of domestic databases?