pilot icon indicating copy to clipboard operation
pilot copied to clipboard

进入编程世界的第一课

Results 102 pilot issues
Sort by recently updated
recently updated
newest added

根据李骏老师x5章节的步骤安装mysql遇到了图片中的问题。 ![image](https://user-images.githubusercontent.com/59398490/110792380-46485d00-82ae-11eb-8bcc-e4c0c3b0ad3b.png) ![image](https://user-images.githubusercontent.com/59398490/110785522-04b3b400-82a6-11eb-83ae-17699007e55e.png) 经过在Issues中提出来的方法试验后,发现依然无法解决,最后通过百度结合多种方法总结出了一个解决方案。 听网友说是因为我们安装的mysql版本没有初始化,解决方法有2个: 第一个方法:找到data并进入(如下图),删除里面的所有文件,然后在ConEmu命令行中输入`mysqld --initialize` ,这样就会在data里面自动生成新的文件,然后就能启动服务器了。 第二个方法:下载版本低一点的mysql 这里我们主要讲第一个方法 ![image](https://user-images.githubusercontent.com/59398490/110786557-3e38ef00-82a7-11eb-8874-7dcee3bdc3b0.png) **上面就解决了服务器无法启动的问题,接下来是你还可能遇到的问题,如果没有就不需要继续往下读了** 启动服务器之后,按照文档步骤继续进行,输入`mysql -uroot`,显示报错:`ERROR 1045 (28000): Access denied for user 'root'@'localhost'` 具体是什么原因造成的,我还不知道。 **解决方案:**打开一开始我们配置my.ini文件,在[mysqld]下任意一行添加`skip-grant-tables`如图所示 ![image](https://user-images.githubusercontent.com/59398490/110789899-59a5f900-82ab-11eb-8a0f-095125734f07.png) 然后关闭服务器,再启动服务器,这样才能生效,启动后重新输入`mysql -uroot`,这个时候就不会报错了。 接着文档步骤就是修改密码了,按照原文档的方式输入代码修改会报错,因为我们刚刚在my.ini中加了那一句跳过密码验证的代码 因此我们需要额外多加一步,在 mysql> 提示符之后输入`use...

jupyterlab不小心删除一章内容如何恢复?

from simpleeval import simple_eval class CalcBot(Bot): # 计算器 Bot def __init__(self): self.q = "Input some arithmetic expression to try" def _think(self, s): while s != 'x' or 'q' or 'quit':...

git版本是2.31对使用有影响吗?

Set-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1 Set-ItemProperty : 不允许所请求的注册表访问权。 所在位置 行:1 字符: 1 + Set-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (HKEY_LOCAL_MACH...trol\FileSystem:String) [Set-ItemProperty], SecurityException + FullyQualifiedErrorId : System.Security.SecurityException,Microsoft.PowerShell.Commands.SetItemPropertyCommand

fatal: unable to access 'https://github.com/zhuchengxue/Thinking.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 截图如下,我已经全局科学上网,可是还是不行,google 了一些方法重置代理也不行,希望大佬帮忙解答 谢谢! ![image](https://user-images.githubusercontent.com/24220612/111644133-807ba680-883a-11eb-9c6d-94d6df49d9fa.png)

PS C:\Users\user> iwr -useb get.scoop.sh | iex iwr : 未能解析此远程名称: 'raw.githubusercontent.com' 所在位置 行:1 字符: 1 + iwr -useb get.scoop.sh | iex + ~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:Htt pWebRequest) [Invoke-WebRequest],WebException...

老师你好,我在配置scoop的时候报错了,而且没法解决,请帮忙看看 PS C:\Users\Tracy> iwr -useb get.scoop.sh | iex iwr : 未能解析此远程名称: 'raw.githubusercontent.com' 所在位置 行:1 字符: 1 + iwr -useb get.scoop.sh | iex + ~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invo...

![image](https://user-images.githubusercontent.com/79199488/108203462-814aeb00-715d-11eb-801e-12189191abf0.png) 怎么办?

运行iwr -useb get.scoop.sh | iex ,显示Scoop is already installed. Run 'scoop update' to get the latest version. 运行scoop update,显示: scoop : 无法将“scoop”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检 查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1 + scoop...