当前位置:网站首页>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
边栏推荐
- LOGO特训营 第三节 首字母创意手法
- Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf
- Now MySQL cdc2.1 is parsing the datetime class with a value of 0000-00-00 00:00:00
- The table is backed up in ODPs. Why check m in the metabase_ Table, the logical sizes of the two tables are inconsistent, but the number of
- The Sandbox 和数字好莱坞达成合作,通过人力资源开发加速创作者经济的发展
- Google Earth Engine(GEE)——基于 MCD64A1 的 GlobFire 日常火灾数据集
- Why is Dameng data called the "first share" of domestic databases?
- Logo special training camp section 1 Identification logo and logo design ideas
- Logo special training camp Section IV importance of font design
- 攻防世界 MISC 进阶区 hit-the-core
猜你喜欢
LOGO特訓營 第三節 首字母創意手法
The overview and definition of clusters can be seen at a glance
Logo special training camp Section V font structure and common design techniques
攻防世界 MISC 进阶 glance-50
10 schemes to ensure interface data security
Three stage operations in the attack and defense drill of the blue team
攻防世界 MISC 進階區 Erik-Baleog-and-Olaf
浅聊一下中间件
Serial port data frame
新版判断PC和手机端代码,手机端跳转手机端,PC跳转PC端最新有效代码
随机推荐
PHP short video source code, thumb animation will float when you like it
The sandbox has reached a cooperation with digital Hollywood to accelerate the economic development of creators through human resource development
Easy to use app recommendation: scan QR code, scan barcode and view history
Close system call analysis - Performance Optimization
Sword finger offer 67 Convert a string to an integer
Prosperity is exhausted, things are right and people are wrong: where should personal webmasters go
Short video system source code, click the blank space of the screen, the keyboard does not automatically stow
新版判断PC和手机端代码,手机端跳转手机端,PC跳转PC端最新有效代码
Redis入门完整教程:HyperLogLog
SQL中MAX与GREATEST的区别
High school physics: linear motion
Google Earth engine (GEE) -- take modis/006/mcd19a2 as an example to batch download the daily mean, maximum, minimum, standard deviation, statistical analysis of variance and CSV download of daily AOD
NFT insider 64: e-commerce giant eBay submitted an NFT related trademark application, and KPMG will invest $30million in Web3 and metauniverse
Taobao commodity review API interface (item_review get Taobao commodity review API interface), tmall commodity review API interface
9 - 类
Redis入门完整教程:事务与Lua
[Lua] Int64 support
攻防世界 MISC 进阶区 hong
Logo special training camp section II collocation relationship between words and graphics
Serial port data frame