-
Python must be installed in the same way for all environments, and there must be no cases where some python is, some are, some are under usr local, some are under usr lib, etc.
If the book has a C extension, the library to which it is linked should be from an RPM package. If not, it's much simpler.
If there are other python packages that depend on them, you need to make the dependent packages rpm; It's really lazy, and Jane can also be praised to score into the same rpm.
In fact, many of the Python libraries in the distribution are available in RPM, but generally we dislike them as old and prefer to use pip to manage a new set of libraries.
If you want to write an RPMSPEC, you can write it yourself from scratch, or you can refer to the specs of some other software, I suggest you use the latter, since your company has widely used RPM, there must be many of our company's specs to refer to, and some people can ask.
-
How to build a python language IDE development environment:
2. Install python: all the way down to finish by default, complete python installation 3. Recommend using pycharm: pycharm is a pythonide with a set of tools that can help users improve their efficiency when developing with python language, such as debugging, syntax highlighting, project management, ** jump, smart hint guessing, autocomplete, unit testing, version control.
4. **pycharm integrated development software, the official website provides two versions: edition (the lead industry version can be tried for 30 days, and learning python for 30 days is enough.) , CommunityEdition, a little less but sufficient.
5. Install pycharm integrated development software: set next by default all the way until finish, and complete the installation of pycharm.
6. Configure pycharm one: style (color scheme) adjustment selection dracula precautions: the first start every day is a bit slow, and the second time is fast.
After the theme scheme is selected to clear the omen, you need to restart the software to take effect at high resolution, the font of pycharm appears very small, which can be set in the colors&fonts option. But you need to copy a scheme before you can change the font size.
-
Please refer to the blog.
The environment is set up as:
windows8
PS: Including the cracking method of Wingide.
-
1. Conceptual distinction
For beginners who have just started to learn Python, it may be easy to get confused with the concepts of pycharm, python interpreter, conda installation, and pip installation. Let's follow me to get to know them one by one:
1) PyCharm is an integrated development environment (IDE) developed by Pytho, which cannot execute Python by itself.
2) The python interpreter is the tool that really executes **, the python interpreter can be set in pycharm, generally we can go to the python official website** or version; If you have installed Anaconda, it must also include a version of the Python interpreter; pycharm configurs the python interpreter and chooses whichever one.
3) anaconda is a collection of all common python packages, and provides us with a very, very convenient installation of various python packages using the conda command.
4) Conda installation: After we have installed the anaconda software, we can use the conda command ** The package in the anaconda source (such as the image source of USTC) can be used.
5) pip installation: It is also a python installation method similar to conda installation, if you have used the centos system, it is just like yum installation.
2. Modify the image source
If you use the installation conda to install some packages that are slow or fail to install, the most effective way is to change the image source to a domestic image source. In the past, Tsinghua image source was used, but the service has been discontinued since 2019. It is recommended to use the image source of USTC.
First, check the installed image source and run the cmd command
conda config --show
Check the channels configuration item, if tsinghua is displayed, it means that the Tsinghua image has been installed.
channels:
Next, run the conda config --remove channels url address to delete the Tsinghua image, and run the following command to delete the first one: Then, delete all mirror sources one after the other.
conda config --remove channels
Add the currently available USTC image source:
conda config --set show_channel_urls yes
Check whether the image source is installed successfully, run the conda config --show command, and find the channels value as follows:
channels:
defaults
When it comes to the learning characteristics of science, everyone's consensus is: "Physics is a bit difficult, chemistry is a bit complicated, and there are a mountain of math learning problems". I feel that physics is difficult to learn and understand, and looking at the physics test questions is like fishing for the moon in the water. >>>More
2011-12-8 17:59Level 1 first analyzes the set of questions that you have done before. >>>More
Just run it and you're good to go. Such as ShopEx's local test installation package. Local installation package for Imperial CMS.
1. When you are in love with a girl, you must remember to say to her often: I love you. No matter how many times she has said it, no matter how many times she asks you, "Do you love me?" >>>More
Barbecue is the primitive way of cooking, which simply means that food is cooked over a fire and then various spices are added to add flavor. In daily life, barbecue is a choice for entertainment and leisure gatherings of many people or outdoor dining for families. Skewers are simple, convenient, and quick to make. >>>More