[PYTHON] What I did when I was angry to put it in with the enable-shared option

Development environment

Linux

reference

This was very helpful!

Synopsis

When I tried to install YouCompleteMe, which is a plugin for vim, he told me with a polite error statement, "Shared object isn't there, install python with the enable-shared option."

manner

Run in terminal


env PYTHON_CONFIGURE_OPTS="--enable-shared"pyenv install version

See here https://github.com/pyenv/pyenv/wiki#how-to-build-cpython-with---enable-shared

Recommended Posts

What I did when I was angry to put it in with the enable-shared option
What I did when I got stuck in the time limit with lambda python
What I did to welcome the Python2 EOL with confidence
In IPython, when I tried to see the value, it was a generator, so I came up with it when I was frustrated.
What I was addicted to when dealing with huge files in a Linux 32bit environment
When I put Django in my home directory, I was addicted to static files with permission errors
When I tried to run Python, it was skipped to the Microsoft Store
[At Coder] What I did to reach the green rank in Python
What I did when updating from Python 2.6 to 2.7
What I did when I couldn't find the feature point with the optical flow of opencv and when I lost it
The file edited with vim was readonly but I want to save it
What I was addicted to when creating a web application in a windows environment
When I tried to change the root password with ansible, I couldn't access it.
I referred to it when I got stuck in the django geodjango tutorial (editing)
I was addicted to scraping with Selenium (+ Python) in 2020
pickle To read what was made in 2 series with 3 series
What I did to ssh to the VPS Ubuntu environment
I was able to repeat it in Python: lambda
What I did to get started with Linux commands
What I was addicted to when using Python tornado
It became TLE when I confirmed the operation with the print function in the competition pro
I tried to make the phone ring when it was posted at the IoT post
When I checked the query generated by Django, it was issued in large numbers
When I crawl the webapi that appears during rendering, it was played with CORS
[IOS] GIF animation with Pythonista3. I was addicted to it.
What I did to speed up the string search task
When I try to push with heroku, it doesn't work
[Python] I want to use the -h option with argparse
What I was addicted to when migrating Processing users to Python
I can't log in to the admin page with Django3
What I was asked when using Random Forest in practice
What I was worried about when displaying images with matplotlib
When I tried to install PIL and matplotlib in a virtualenv environment, I was addicted to it.
Ventilation is important. What I did to keep track of the C02 concentration in the room
It was great to edit the Python file in the Raspberry Pi with Atom's remote function
The story I was addicted to when I specified nil as a function argument in Go
I tried to describe the traffic in real time with WebSocket
The record I was addicted to when putting MeCab on Heroku
[For IT beginners] What to do when the rev command cannot be used with Git Bash
[Linux] I want to know the date when the user logged in
A memorandum when I tried to get it automatically with selenium
How to give and what the constraints option in scipy.optimize.minimize is
What I was addicted to when introducing ALE to Vim for Python
I tried to process the image in "sketch style" with OpenCV
I tried to summarize what was output with Qiita with Word cloud
A note I was addicted to when creating a table with SQLAlchemy
What I was addicted to when I built my own neural network using the weights and biases I got with scikit-learn's MLP Classifier.
I tried to process the image in "pencil style" with OpenCV
What I did when I wanted to make Python faster -Numba edition-
A story that didn't work when I tried to log in with the Python requests module
What to do when you get "I can't see the site !!!!"
What I did when I migrated to Linux 2 with EOL support for Amazon Linux (learning and failure stories)
What to do when the value type is ambiguous in Python?
When I cut the directory for UNIX Socket under / var / run with systemd, I got stuck in a pitfall and what to do
GCP's Cloud Shell Editor was clogged up with the Python development environment, so I managed to rebuild it in a vacant lot.
Even if I converted jpg to png, I managed to do it because the transparency was not tampered with
[Python] When the priority is the same in Priority Queue, it can be acquired in the order in which it was added to the queue.
When using the zap library in your own Logger with Golang, how to put the hierarchy above Logger in Caller
What to do when you get angry that libxml / xmlversion.h does not exist when you put lxml with pip
What skills do I need to program with the FBX SDK Python?
I want to get angry with my mom when my memory is tight