Ubuntu pycharm 安装使用

Ubuntu pycharm 安装使用Ubuntupychar 安装与启动 1 右击文件 pycharm community 2019 3 tar gz 选择 exteacthere 2 进入解压后的文件夹里的 bin 目录下 右击选择 openintermin 3 输入 shpycharm sh 即启动 pycharm 安装 keras 特定版本 pip3installk 2 2 4

Ubuntu pycharm 安装与启动

PyCharm 对py文件添加默认头

打开PyCharm程序,根据菜单栏中按照如下进入设置:

File -> settings -> Editor -> File and Code Templates -> Python Script

找到Python Script选项,然后将一下内容添加进文本框即可:

#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : ${DATE} ${TIME} # @Author : ${user} # @File : ${NAME}.py # @Version : ${VERSION} # @Software: ${PRODUCT_NAME} # @Description : 'This is ...' 

安装keras特定版本

sudo pip3 install keras==2.2.4 

查看是否安装好:

pip3 show keras 
zhaodeng@ubuntu:~$ pip3 show keras Name: Keras Version: 2.2.4 Summary: Deep Learning for humans Home-page: https://github.com/keras-team/keras Author: Francois Chollet Author-email:  License: MIT Location: /usr/local/lib/python3.5/dist-packages Requires: keras-preprocessing, keras-applications, h5py, pyyaml, numpy, scipy, six Required-by: 

查看并安装其他包

numpy

查看:pip3 show numpy
安装情况:

zhaodeng@ubuntu:~$ pip show numpy Name: numpy Version: 1.17.4 Summary: NumPy is the fundamental package for array computing with Python. Home-page: https://www.numpy.org Author: Travis E. Oliphant et al. Author-email: None License: BSD Location: /usr/local/lib/python3.5/dist-packages Requires: Required-by: tensorflow, tensorflow-estimator, tensorboard, scipy, Keras, Keras-Preprocessing, Keras-Applications, h5py 

argparse

查看:pip show argparse
安装:sudo pip3 install argparse
安装结果:




zhaodeng@ubuntu:~$ pip show argparse Name: argparse Version: 1.4.0 Summary: Python command-line parsing library Home-page: https://github.com/ThomasWaldmann/argparse/ Author: Thomas Waldmann Author-email:  License: Python Software Foundation License Location: /usr/local/lib/python3.5/dist-packages Requires: Required-by: 

pycryptodomex

查看:pip show pycryptodomex
安装:sudo pip3 install pycryptodomex
安装情况:




zhaodeng@ubuntu:~$ pip show pycryptodomex WARNING: Package(s) not found: pycryptodomex zhaodeng@ubuntu:~$ sudo pip3 install pycryptodomex WARNING: The directory '/home/zhaodeng/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. WARNING: The directory '/home/zhaodeng/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting pycryptodomex Downloading https://files.pythonhosted.org/packages/1e/c0/459bf69d3907ecd280d465e31140dc858aaa7d1a599c/pycryptodomex-3.9.4-cp35-cp35m-manylinux1_x86_64.whl (9.7MB) |████████████████████████████████| 9.7MB 40kB/s Installing collected packages: pycryptodomex Successfully installed pycryptodomex-3.9.4 zhaodeng@ubuntu:~$ pip show pycryptodomex Name: pycryptodomex Version: 3.9.4 Summary: Cryptographic library for Python Home-page: https://www.pycryptodome.org Author: Helder Eijs Author-email:  License: BSD, Public Domain, Apache Location: /usr/local/lib/python3.5/dist-packages Requires: Required-by: 

matplotlib

查看:pip show matplotlib
安装:sudo pip3 install matplotlib
安装情况:




zhaodeng@ubuntu:~$ pip3 show matplotlib Name: matplotlib Version: 3.0.3 Summary: Python plotting package Home-page: http://matplotlib.org Author: John D. Hunter, Michael Droettboom Author-email:  License: PSF Location: /usr/local/lib/python3.5/dist-packages Requires: pyparsing, python-dateutil, numpy, kiwisolver, cycler Required-by: 

pysoundfile

查看:pip show pysoundfile
安装:sudo pip3 install pysoundfile
安装情况:




zhaodeng@ubuntu:~$ pip3 show pysoundfile WARNING: Package(s) not found: pysoundfile zhaodeng@ubuntu:~$ sudo pip3 install pysoundfile [sudo] password for zhaodeng: WARNING: The directory '/home/zhaodeng/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. WARNING: The directory '/home/zhaodeng/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting pysoundfile Downloading https://files.pythonhosted.org/packages/2a/b3/0b871e5fd31b9a8e54b4eee705a1ca1ed2f081dc7cc1693/PySoundFile-0.9.0.post1-py2.py3-none-any.whl Collecting cffi>=0.6 Downloading https://files.pythonhosted.org/packages/a8/8d/986e0c4e2aa3b24db56a0affc50d1ae3c4da45d51d549dc2697d53/cffi-1.13.2-cp35-cp35m-manylinux1_x86_64.whl (397kB) |████████████████████████████████| 399kB 27kB/s Collecting pycparser Downloading https://files.pythonhosted.org/packages/68/9e/aee219aead1290e00d1e7fdeabe83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB) |████████████████████████████████| 163kB 39kB/s Building wheels for collected packages: pycparser Building wheel for pycparser (setup.py) ... done Created wheel for pycparser: filename=pycparser-2.19-py2.py3-none-any.whl size= sha256=8e2a7edce9a9783c31b50dfd83e9be0514a35738f1bad6 Stored in directory: /home/zhaodeng/.cache/pip/wheels/f2/9a/90/de94fddc9d9c8b271b0f63e57b26fb1d67a Successfully built pycparser Installing collected packages: pycparser, cffi, pysoundfile Successfully installed cffi-1.13.2 pycparser-2.19 pysoundfile-0.9.0.post1 zhaodeng@ubuntu:~$ pip3 show pysoundfile Name: PySoundFile Version: 0.9.0.post1 Summary: An audio library based on libsndfile, CFFI and NumPy Home-page: https://github.com/bastibe/PySoundFile Author: Bastian Bechtold Author-email:  License: BSD 3-Clause License Location: /usr/local/lib/python3.5/dist-packages Requires: cffi Required-by: 

python-Levenshtein

查看:pip show python-Levenshtein
安装:sudo pip3 install python-Levenshtein
安装情况:




zhaodeng@ubuntu:~$ pip3 show python-Levenshtein WARNING: Package(s) not found: python-Levenshtein zhaodeng@ubuntu:~$ sudo pip3 install python-Levenshtein [sudo] password for zhaodeng: WARNING: The directory '/home/zhaodeng/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. WARNING: The directory '/home/zhaodeng/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting python-Levenshtein Downloading https://files.pythonhosted.org/packages/42/a9/d1785c85ebf9b7dfacd08938dd028209c34a0ea3b1bcdbbd40a67d/python-Levenshtein-0.12.0.tar.gz (48kB) |████████████████████████████████| 51kB 5.4kB/s Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from python-Levenshtein) (20.7.0) Building wheels for collected packages: python-Levenshtein Building wheel for python-Levenshtein (setup.py) ... done Created wheel for python-Levenshtein: filename=python_Levenshtein-0.12.0-cp35-cp35m-linux_x86_64.whl size= sha256=1810f603ae00f4acfb568a8e9a0031befbf2776e9c9bf7796bd0753c4f Stored in directory: /home/zhaodeng/.cache/pip/wheels/de/c2/93/660fd5fad2dc6d81c4e39e9eeaf7e342 Successfully built python-Levenshtein Installing collected packages: python-Levenshtein Successfully installed python-Levenshtein-0.12.0 zhaodeng@ubuntu:~$ pip3 show python-Levenshtein Name: python-Levenshtein Version: 0.12.0 Summary: Python extension for computing string edit distances and similarities. Home-page: http://github.com/ztane/python-Levenshtein Author: Antti Haapala Author-email:  License: GPL Location: /usr/local/lib/python3.5/dist-packages Requires: setuptools Required-by: 
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/172997.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月27日 上午9:42
下一篇 2026年3月27日 上午9:43


相关推荐

  • 缺陷管理工具-QC篇「建议收藏」

    缺陷管理工具-QC篇「建议收藏」缺陷管理工具-QC篇一、QC介绍:QC的全称Qualitycenter,质量中心的意思,它是一款缺陷管理工具,可以组织和管理一个项目所有的测试阶段,如:从需求-用例编写-用例执行-提交缺陷-回归测试等。QC的背景:原属于Mercury公司,这是一家软件测试工具开发商,除了研发了QC之外,比较出名的工具有:LoadRunner—-性能测试工具,QTP—-自动化测试工具。后来M…

    2025年7月23日
    5
  • Java设计模式之结构型:装饰器模式

    Java设计模式之结构型:装饰器模式

    2021年10月4日
    42
  • 2021pycharm激活码【注册码】

    2021pycharm激活码【注册码】,https://javaforall.net/100143.html。详细ieda激活码不妨到全栈程序员必看教程网一起来了解一下吧!

    2022年3月17日
    39
  • recvfrom为何老是返回-1[通俗易懂]

    recvfrom为何老是返回-1[通俗易懂]ios下编写udpSocket时遇到的问题:intsockfd=socket(AF_INET,SOCK_DGRAM,0);bzero((char*)&ca,sizeof(ca));ca.sin_family=AF_INET;ca.sin_addr.s_addr=htonl(INADDR_ANY);ca.sin_port=htons(SERV_

    2022年7月23日
    11
  • 女生适合做java程序员吗?

    女生适合做java程序员吗?一提到程序员 大部分人脑中的画面就是男生坐在电脑前敲代码 似乎女生和程序员完全不沾边 那女生可不可以做程序员呢 随着 IT 行业的飞速发展 程序员越来越受到重视 是所谓的有一技之长的人 越来越多的女生也想加入到程序员的行列 但她们都存在各种各样的疑问和顾虑 比如女生学编程 做程序员好吗 女生做程序员有前途吗 女生学程序员的利弊都有哪些呢 女生学 java 好吗 女生做程序员经常加班 会不会老的快呢 女

    2026年2月17日
    2
  • Marlin2.0.9 Configuration_adv.h详解

    Marlin2.0.9 Configuration_adv.h详解/**Marlin3DPrinterFirmwareCopyright©2020MarlinFirmware[https://github.com/MarlinFirmware/Marlin]BasedonSprinterandgrbl.Copyright©2011CamielGubbels/ErikvanderZalmThisprogramisfreesoftware:youcanredistributeitand/ormodif

    2022年7月15日
    22

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号