当前位置:网站首页>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.7Activate 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边栏推荐
- How to send a reliable request before closing the page
- Introducing QA into the software development lifecycle is the best practice that engineers should follow
- Record: how to scroll screenshots of web pages on Microsoft edge in win10 system?
- Redis入门完整教程:发布订阅
- 串口数据帧
- Lost in the lock world of MySQL
- Logo special training camp section 1 Identification logo and logo design ideas
- Unity-VScode-Emmylua配置报错解决
- Hit the core in the advanced area of misc in the attack and defense world
- MySQL Architecture - user rights and management
猜你喜欢

Locust performance test - environment construction and use

LOGO special training camp section I identification logo and Logo Design Ideas

NFT insider 64: e-commerce giant eBay submitted an NFT related trademark application, and KPMG will invest $30million in Web3 and metauniverse

Unity-VScode-Emmylua配置报错解决
How to send a reliable request before closing the page

Embedded development: skills and tricks -- seven skills to improve the quality of embedded software code
![[OpenGL] note 29 anti aliasing (MSAA)](/img/66/61f29e1c41d3099d55e2ead0a3b01e.png)
[OpenGL] note 29 anti aliasing (MSAA)

The Sandbox 和数字好莱坞达成合作,通过人力资源开发加速创作者经济的发展
![[roommate learned to use Bi report data processing in the time of King glory in one game]](/img/06/22dde3fcc0456bd230e1d0cde339ec.png)
[roommate learned to use Bi report data processing in the time of King glory in one game]
![[Yugong series] go teaching course 003-ide installation and basic use in July 2022](/img/65/b36ca239e06a67c01d1eb0b4648f71.png)
[Yugong series] go teaching course 003-ide installation and basic use in July 2022
随机推荐
Breakpoint debugging under vs2019 c release
攻防世界 MISC 进阶区 Ditf
集群的概述与定义,一看就会
The sandbox has reached a cooperation with digital Hollywood to accelerate the economic development of creators through human resource development
【室友用一局王者荣耀的时间学会了用BI报表数据处理】
Gnawing down the big bone - sorting (II)
leetcode 72. Edit distance edit distance (medium)
Detailed explanation of flask context
Redis的持久化机制
LOGO special training camp section I identification logo and Logo Design Ideas
Test will: bug classification and promotion solution
攻防世界 MISC 进阶 glance-50
记录:关于Win10系统中Microsoft Edge上的网页如何滚动截屏?
攻防世界 MISC 高手进阶区 001 normal_png
Introducing QA into the software development lifecycle is the best practice that engineers should follow
Logo special training camp Section IV importance of font design
Google Earth engine (GEE) - tasks upgrade enables run all to download all images in task types with one click
NFT Insider #64:电商巨头eBay提交NFT相关商标申请,毕马威将在Web3和元宇宙中投入3000万美元
How to reset the password of MySQL root account
[cooking record] - stir fried 1000 pieces of green pepper