girls-in-ai / girls-in-ai Goto Github PK
View Code? Open in Web Editor NEW免费学代码系列:小白python入门、数据分析data analyst、机器学习machine learning、深度学习deep learning、kaggle实战
Home Page: http://girls-in-ai.github.io/Girls-In-AI/
免费学代码系列:小白python入门、数据分析data analyst、机器学习machine learning、深度学习deep learning、kaggle实战
Home Page: http://girls-in-ai.github.io/Girls-In-AI/
Is your feature request related to a problem? Please describe. 描述对应的教程内容
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
简洁有效的描述教程内出现的漏洞或问题。
以下三个有更简单的命令or方法
①:查看Python or pip 版本
②:查看/安装环境依赖包
③:文件的读写
Describe the solution you'd like 说出你的解决建议
A clear and concise description of what you want to happen. 描述你想实现的内容。
①:查看Python or pip 版本
直接使用python -V 可以查看Python版本(注意空格 - 加大写的V)
直接使用pip -V 可以查看pip版本(注意空格 - 加大写的V)
②:查看/安装环境依赖包
查看环境依赖包:pip list 或者 pip freeze
保存环境依赖包:pip freeze > requests.txt
安装环境依赖包:pip install -r requests.txt(上一步冻结的包文件)
③:文件的读写
使用open()函数读写文件,有可能会抛出IOError的错误,一旦出错,后面的f.close()就不会调用,所以一般为了正确关闭,会使用try...finally实现。但是这样写太麻烦了,所以python里面有个with语句,来自动调用close()方法
读文件:
with open("./a.txt", "r") as f:
content = f.read()
写文件:
with open("./b.txt", "w") as f:
f.write("hello world")
Describe alternatives you've considered 如果你有其他想法,可以在此补充
A clear and concise description of any alternative solutions or features you've considered.
Additional context 其他内容
Add any other context or screenshots about the feature request here. 添加你认为有必要的内容,否则不写。
按照步骤走到最后一步关掉终端,重新打开 输入 jupyter --version,显示command not found ;
重复前面步骤3遍,每个步骤跳出的内容都与教材中GIF显示一致
在进行day-22的课程处理titanic的Age问题时,需要填充缺失值,但是rand_1并没有定义
titanic_df["Age"][np.isnan(titanic_df["Age"])] =rand_1
好久不来看,突然来看,没有内容了。咱们的大大们是不更新了吗,呜呜呜呜
尝试安装python3.5 的时候打开anaconda prompt 显示
'chip'不是内部或外部命令,也不是可运行的程序
输入pip install jupyter notebook后也没有下载页面。
在这之前环境变量已经编辑新增过。
求解答,十分感谢!
Hash: ee8354289882168e5f95
Version: webpack 3.6.0
Time: 140ms
Asset Size Chunks Chunk Names
bundle.js 3.77 kB 0 [emitted] main
[0] ./src/main.js 277 bytes {0} [built]
[1] ./src/js/mathUtils.js 130 bytes {0} [built]
[2] ./src/js/sss.js 53 bytes {0} [built]
[3] ./src/css/nomal.css 227 bytes {0} [built] [failed] [1 error]
ERROR in ./src/css/nomal.css
Module build failed: TypeError: this.getOptions is not a function
at Object.loader (D:\vuejs代码\Vuejs-v2\01-webpack的使用\03-webpack的loader\node_modules\style-loader\dist\index.js:19:24)
@ ./src/main.js 13:0-26
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: webpack
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program Files\nodejs\node_cacheal_logs\2021-07-24T09_26_16_830Z-debug.log
为避免无效问题和冗余问题,提问前请确认
Describe the bug 描述你遇到的问题
A clear and concise description of what the bug is. 简洁有效的说明。
To Reproduce 如何重现问题
Steps to reproduce the behavior: 把你遇到的问题的发生步骤替换掉下面的内容:
Expected behavior 期待修复的效果
A clear and concise description of what you expected to happen. 简单描述。
Screenshots 如有必要,可以截图说明
If applicable, add screenshots to help explain your problem.
版本说明
Additional context 其他说明
Add any other context about the problem here. 添加你认为有必要的内容,否则不写。
为避免无效问题和冗余问题,提问前请确认
Describe the bug 描述你遇到的问题
A clear and concise description of what the bug is. 简洁有效的说明。
学习设置环境变量时,不小心把“新建”做成了“编辑”,把原有的path改掉了
在安装好新版本的python时,打不开新版本的jupyter notebook
To Reproduce 如何重现问题
Steps to reproduce the behavior: 把你遇到的问题的发生步骤替换掉下面的内容:
Expected behavior 期待修复的效果
A clear and concise description of what you expected to happen. 简单描述。
环境配置没有成功
Screenshots 如有必要,可以截图说明
If applicable, add screenshots to help explain your problem.
版本说明
Additional context 其他说明
Add any other context about the problem here. 添加你认为有必要的内容,否则不写。
**Is your feature request related to a problem? Please describe.
数据类型教程中的转义字符代码部分,打出
I'm a GIAer.
I'm learning machine learning by 'python'.这两句话时,显示语法错误
File "", line 1
print('I'm a GIAer.\nI'm learning machine learning by'Python'')
^
SyntaxError: EOL while scanning string litera
Describe the solution you'd like 说出你的解决建议
把开头结尾的‘改成双引号之后问题解决,可以正常输出
print("I'm a GIAer.\nI'm learning machine learning by'Python'")
打开环境变量配置文件 open ~/.bash_profile时显示 command not found 请问应该怎么解决?
为避免无效问题和冗余问题,提问前请确认
Describe the bug 描述你遇到的问题
A clear and concise description of what the bug is. 简洁有效的说明。
To Reproduce 如何重现问题
Steps to reproduce the behavior: 把你遇到的问题的发生步骤替换掉下面的内容:
Expected behavior 期待修复的效果
A clear and concise description of what you expected to happen. 简单描述。
Screenshots 如有必要,可以截图说明
If applicable, add screenshots to help explain your problem.
版本说明
Additional context 其他说明
Add any other context about the problem here. 添加你认为有必要的内容,否则不写。
mac配置环境时键入以下内容:export PIP_INSTALL_PATH=jupyter_location时出错,导致终端无法输入任何字符,一打开就会出现:Last login: Wed Aug 7 20:17:11 on ttys000
/Users/zhaoyuejiao/.anaconda/navigator/a.tool ; exit;
-bash: touch: command not found
(base) zhaoyuejiaodeMacBook:~ zhaoyuejiao$ /Users/zhaoyuejiao/.anaconda/navigator/a.tool ; exit;
/Users/zhaoyuejiao/.anaconda/navigator/a.tool: line 1: bash: command not found
logout
Saving session...-bash: date: command not found
-bash: touch: command not found
...copying shared history...-bash: cp: command not found
...saving history...-bash: cat: command not found
-bash: cat: command not found
truncating history files...
...completed.
-bash: find: command not found
-bash: shlock: command not found
[进程已完成]
我是在MAC上使用python
跟着教程进行到Day 4 “pip install xx”
然后安装pandas失败,说是SSL证书问题,在网上搜了一圈,解决方案👉
curl https://bootstrap.pypa.io/get-pip.py | python3
不太清楚是什么原理呢,请问可以帮忙解释一下吗?
为避免无效问题和冗余问题,提问前请确认
Google过在StackOverflow上看到类似问题,但是按照回答install了一个package但是也没能解决问题。
在uninstall之后重新install也没有解决问题。
Describe the bug 描述你遇到的问题
按照教程步骤在cmd中pip install pandas,显示successfully installed,但是通过python import却报错。
但是在prompt里import就能成功。
To Reproduce 如何重现问题
Steps to reproduce the behavior: 把你遇到的问题的发生步骤替换掉下面的内容:
在已显示Successfully installed pandas-0.23.4后,通过python import pandas显示如下:
import pandas
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'pandas'
但在anaconda prompt里尝试import pandas就没有问题,anaconda中如下:
(base) C:\Users\xxx>python
Python 3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
import pandas
Expected behavior 期待修复的效果
就想弄明白到底怎么回事是没有完成install吗?我再次尝试install会显示各种requirements satisfied。我想再cmd里像可以在prompt里一样import。Please help。谢谢大家。
Screenshots 如有必要,可以截图说明
If applicable, add screenshots to help explain your problem.
版本说明
Additional context 其他说明
I'm trying to get the nonlinear dynamic response of a beam with both of its ends simply supported and its middle point is excited by a cyclic load. The nonlinear here mainly refer to the geometic nonlinearity during the vibration process. I'm tring to solve this problem with Newmark-Beta method and Newton-Raphson method. However, the solution diverges after 24s, Besides, only the transverse displacement is correct, the axial displacement and rotational angle of the cross section is totally incorrect. I really don't know what's the problem with my code, so I hope someone can help me with it.
I simulate this problem with abaqus, the abaqus can get the right answer with any time step. However, my procedure diverged if the time step is set to 0.1s.
The following is my code and the result.Uploading Nonlinear-Simplysupported.rar…
为避免无效问题和冗余问题,提问前请确认
Describe the bug 描述你遇到的问题
A clear and concise description of what the bug is. 简洁有效的说明。
To Reproduce 如何重现问题
Steps to reproduce the behavior: 把你遇到的问题的发生步骤替换掉下面的内容:
Expected behavior 期待修复的效果
A clear and concise description of what you expected to happen. 简单描述。
Screenshots 如有必要,可以截图说明
If applicable, add screenshots to help explain your problem.
版本说明
Additional context 其他说明
Add any other context about the problem here. 添加你认为有必要的内容,否则不写。
https://codewithzhangyi.com 这个链接点进去
我应该从哪里进去,看到课程?
为避免无效问题和冗余问题,提问前请确认
Describe the bug 描述你遇到的问题
A clear and concise description of what the bug is. 简洁有效的说明。
To Reproduce 如何重现问题
Steps to reproduce the behavior: 把你遇到的问题的发生步骤替换掉下面的内容:
Expected behavior 期待修复的效果
A clear and concise description of what you expected to happen. 简单描述。
Screenshots 如有必要,可以截图说明
If applicable, add screenshots to help explain your problem.
版本说明
Additional context 其他说明
Add any other context about the problem here. 添加你认为有必要的内容,否则不写。
#57 @
让终端认识jupyter这个命令,步骤如下:
1.找到 jupyter的安装位置:pip3 show jupyter
2.拷贝位置(框中文字后,键盘上Command + C组合键进行复制)
3.打开环境变量配置文件:open ~/.bash_profile
4.键入以下内容:export PIP_INSTALL_PATH=jupyter_location(把这个jupyter_location用复制的安装路径覆盖)
5.应用环境配置文件:source ~/.bash_profile
6.关闭终端,重新打开使配置生效
7.终端中键入:jupyter --version
前6步都很正常,没有问题,但是最后一步重新打开终端,键入jupyter --version,就出现
-bash: jupyter: command not found
求解答,谢谢~
男的能学吗?男的能学吗?男的能学吗?男的能学吗?男的能学吗?男的能学吗?男的能学吗?男的能学吗?
如下,是我的终端页面输入python的样子
Last login: Sun Jan 20 16:19:54 on console
localhost:~ apple$ python
Python 3.7.1 (default, Dec 14 2018, 13:28:58)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
python 3 --version
File "", line 1
python 3 --version
^
SyntaxError: invalid syntax
好奇怪啊。。。求助啊。。。
建议优化 如何成为一名AI算法工程师 README.md 中的 「如何成为一名AI算法工程师」链接。
现在变成了微博下载客户端的倒流页面体验不是很好。
Describe the bug 描述你遇到的问题
打开jupyter notebook后,python程序无法运行,一直显示服务正在启动,如图
然后网页提示如图:
终端报错提示如图:
已尝试方法:
1、把tornado降级为4.5.3,参考:https://blog.csdn.net/qq_35531549/article/details/88595290;未成功;
2、降级prompt-toolki,未成功;
3、uninstall anaconda+python3.7, 重装anaconda;未成功;
版本说明
Hello, I currently have data with two types of samples. I need to run group mode on the CIBERSORTx official website for these two
types of files. After dividing them into two files, one file can run group mode and the other file cannot run group mode. I have been reporting errors all the time, but the extraction process is the same. I have checked the file format, column name, line name, and so on.
I have been trying for a long time but have not received any results. I look forward to receiving valuable feedback from everyone. Thank you very much.
test
按照博主的教程操作配置环境结束,输入python反馈如下:
python
Python 3.7.1 (default, Dec 14 2018, 13:28:58)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
显示仍然是3.7版本,这是什么问题啊???😖😖
试了即便都这样
简洁有效的描述教程内出现的漏洞或问题。
只是想了解一下GIA Pandas Day-23的Titanic.csv的原始数据的来源?
描述你想实现的内容。
GIA Pandas Day-23的Titanic.csv 的原始数据的能否贴上去。
你们好,我们是 ApacheCN,一个还算比较大的 AI 社区。得知 GirlsInAI 打算做 Kaggle 方面的活动,我们想到两个社区能不能合作一下。
我们之前也有过这类活动,大家提交了不少 writeup:https://github.com/apachecn/kaggle/tree/master/competitions。但是最近我们几个创始人都忙别的,活动就搁置了一年。
ApacheCN @wizardforcel @jiangzhonglian @Watermelon233 敬上
this is s test
说明想优化的方向,或者想增加的功能等等。尽量细节化。
电脑是Mac
Python版本为3.6
anaconda 是3.5的
根据指导上面的信息,最后新创建的环境只能打开Terminal 和Python ,jupyter和ipython 无法选择。
小姐姐您好,我在按照day4的教程操作时出现了如下问题:
进入cmd界面,输入pip显示
'pip' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
但是进入Anaconda Prompt界面,输入pip才显示了教程中的图片
不知道为什么。。。
谢谢您!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.