Pycharm報錯解決:error:please select a valid Python interpreter
問題描述:
之前PC上安裝的是Python2,後來工作需要轉成Python3了。然後在用pycharm執行Python2的程式時發現源程式執行報錯(出去語法錯誤)
error:please select a valid Python interpreter
問題原因:
在pycharm匯入源專案的時候沒有選擇執行Python的程式
解決辦法:
1、更改Pycharm的設定
開啟settings(CTRL + ALT + S)或者file>settings,開啟配置框,如下圖:
2、在查詢框中輸入interpreter,進行查詢
相關推薦
Pycharm報錯解決:error:please select a valid Python interpreter
問題描述: 之前PC上安裝的是Python2,後來工作需要轉成Python3了。然後在用pycharm執行Python2的程式時發現源程式執行報錯(出去語法錯誤) error:please select a valid Python interpreter 問題原因: 在pycharm匯入源專案的
zabbix服務器環境--安裝過程中的報錯解決:【Error: Package】
解決 could gen 分析 finish cli agent base 通過 # 錯誤提示: --> Finished Dependency Resolution Error: Package: php-ldap-5.4.16-42.el7.x86_64 (bas
Pycharm報錯解決方法:No R interpreter defined
安裝完成pycharm後,開啟介面時,右下角經常出現紅色警告: No R interpreter defined: Many R related features like completion, code checking and help won't be available. You ca
Pycharm執行python 報錯please select a valid interpreter
Pycharm執行python報錯please select a valid interpreter 這是因為沒有選擇interpreter 解決方法如下 更改Pycharm的設定 開啟setting
postgresql叢集報錯解決:SELECT pg_catalog.pg_try_advisory_xact_lock_shared(65535, 65535)
10月25號之後只能對evap資料庫進行select操作,且執行報錯如下: org.postgresql.util.PSQLException: ERROR: pooler: failed to create connections in parallel mode for thread
python爬蟲訪問https網站報錯解決方案ERROR:ssl_client_socket_impl.cc(1098)] handshake failed
報錯資訊: [3488:1356:0512/211222.342:ERROR:ssl_client_socket_impl.cc(1098)] handshake failed; returned -1, SSL error code 1, net_error -101 Chrome瀏覽器解決方
java呼叫郵箱報錯解決:Client was not authenticated to send anonymous mail during MAIL FROM
郵件傳送報錯資訊 com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM 錯誤資訊:
hibernate報錯解決:Unable to instantiate default tuplizer
java 專案啟動報錯 Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
MySQL主從報錯解決:Table ‘mysql.gtid_slave_pos’ doesn’t exist
給內部一個數據庫做異地熱備,熱備部分採用了 MariaDB 的 galera 叢集模式。然後挑選其中一臺作為 Slave 和深圳主叢集做主從同步。 主叢集是老環境,用的版本還是是 MySQL 5.5.13。用常規辦法建立主從同步 MariaDB [(none)]
svn報錯解決:Previous operation has not finished; run 'cleanup' if it was interrupted
背景,在更新專案的時候,更新一半突然出現了error,隨後重新更新,結果出現了下面的錯誤 專案上的svn圖示也不見了。 試了刪專案也沒用,在任何一級目錄操作均報此問題; 上網查瞭解決辦法,挺複雜,確沒效果,比如在專案.svn目錄下各種操作,都沒起作用,結果,專案上點
Hbase報錯解決方法ERROR: KeeperErrorCode = NoNode for /hbase/master
hbase放了一段時間之後,發現執行命令時報NoNode for /hbase/master異常,其他如create等等命令也是如此,詳細報錯資訊如下: hbase(main):005:0> s
YUM報錯解決:rpmdb open failed
repo onf main failed emp The ultra edi ril yum安裝某個軟件的時候,出現報錯 [root@aws ~]# yum install -y zabbix-agent rpmdb: unable to join the environm
升級jdk8後系統報錯解決:java.lang.RuntimeException: java.io.IOException: invalid constant type: 18
今天專案從jdk7升級到jdk8,Tomcat啟動竟然報出這個執行時錯誤。 錯誤資訊:java.io.IOException: invalid constant type: 18 2015-09-17 09:06:16:ERROR localhost-startStop-1 org.s
https請求報錯解決:javax.net.ssl.SSLException: Not trusted ...
通過https協議請求資料報錯了一下錯誤:javax.net.ssl.SSLException: Not trusted server certificate exception.在國外論壇上找了個解決的方案和大家分享。 我們需要自定義一個繼承org.apache.http.conn.ssl.SS
vue 報錯解決:component lists rendered with v-for should have explicit keys.
使用iview時控制檯遇到的告警資訊: : component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for
Androidgradle報錯之:Error:Connection timed out: connect
使用環境: 週一,大吉大利! 早上距離上班早了33分鐘,很開心趕緊開啟電腦->AS,結果,報錯Error:Connection timed out: connect 然後各種提示各種處理 比如 1 修改gradle的zip網址,換成國內的,讓它自動下載
maven專案新增Gson的依賴後無法啟動,報錯BeanCreationException:Error creating bean with name 'gsonBuilder'
具體錯誤如下: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gsonBuilder' defined in class path
vue 報錯解決:TypeError: Cannot read property '_t' of undefined"
前端報錯如下: [Vue warn]: Error in render: “TypeError: Cannot read property ‘_t’ of undefined” 是在專案中用了多語言配置,vue 跟 i18n之間的相容問題。解決方法如下:
python中用open開啟檔案,報錯 IOError:[Error 22] invalid mode ('rb') or filename
原始檔案路徑為: E:\postgraduate\DeepLearning-master\cs231n\HomeWorks\assignment1\cs231n\datasets\cifar-10-
android studio建立模擬器報錯解決 emulator: ERROR: This AVD's configuration is missing a kernel file!!
android studio建立模擬器報錯 emulator: ERROR: This AVD's configuration is missing a kernel file!! 的解決辦法 原因有二:1 沒有,解決辦法通過sdk mangager 下載