pycharm 提示:this license **** has been cancelled

pycharm:this license **** has been cancelled

pycharm installation during activation, suggesting that this license **** has been cancelled. The problem is not your activation code wrong, but you need to modify the hosts file system under the following explain in detail how to modify the hosts file.

 

A. Locate the hosts file

First find the hosts file to the directory :( windoes for example, the operation is similar to other platforms)

Windows:C:\Windows\System32\drivers\etc\hosts

Linux:/etc/hosts

Mac:/etc/hosts

       pycharm installation process to modify the hosts file

 

hosts file and no suffix, there is no direct way to modify. Because Notepad can only open txt, download any recommended a code editor, it is recommended to use NotePad ++, relatively simple to use, and supports multiple languages.

 

If you worry about file modification mistake, you can copy as a backup, and then select the edit right after NotePad ++ or open with notepad ++, directly to the hosts file onto the notepad ++ inside, too, so that we can see the details of the hosts file:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

# Copyright (c) 1993-2009 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

#      102.54.94.97     rhino.acme.com          # source server

#       38.25.63.10     x.acme.com              # x client host

 

# localhost name resolution is handled within DNS itself.

# 127.0.0.1       localhost

# ::1             localhost

 

二.修改hosts文件

如果想pycharm能正常使用,我们需要在hosts文件的内容的末尾在添加一行代码:0.0.0.0 account.jetbrains.com,注意代码中间的空格,一个字符都不能错,如果担心写错,请直接复制下面的代码,然后粘贴到文件中,修改之后记得保存。

1

0.0.0.0 account.jetbrains.com

 

三.检查hosts文件是否修改成功

Many small partners say modified, but still being given this license **** has been cancelled! After the steps are completed, use the notepad ++ re-open the hosts file to check whether the last line of code added successfully, if not this 0.0.0.0 account.jetbrains.com, only shows that you have not modified successfully.

 

Sometimes the problem may be the C drive permissions, you can directly copy a hosts file to your desktop, and then modify the good, and then copy it back again, directly overwrite the original hosts file to, this method is the easiest (recommended)

 

Whether it is the first installation or later this problem again, you only need to remember: this license **** has been cancelled 99.99% are related to this error are related to your hosts file.

you may also like:

1.Pycharm development template configuration / settings font color / font size

2.Pycharm create the first Hello World program

 

Reproduced please specify : ape say Python  >>  PyCharm Tip: this license **** has been cancelled

 


Guess you like

Origin blog.51cto.com/14531342/2465690
Recommended