i was installing YCM in VIM and got this error:
Searching Python 3.8 libraries... ERROR: Python headers are missing in /usr/include/python3.8
i have tried with py 3.8 3.7 and 3.9 and the same is ouputing.
Some help would be appriciated(did i speel it right?).
Related
Lately when I typed "python" in Terminal i saw that much python versions:
That much options
I wanted only 3.8 installed so I'm trying to uninstall everything else
I had these 2 paths where python was installed:
/Library/Frameworks/Python.framework/Versions (3.4, 3.5, 3.8)
/Library/Python (2.7)
In my Application directory I have only Python 3.8, so i moved 3.4 and 3.5 folders to Trash
Then the list of version became smaller
Only 2.7 and 3.8 Python left
When I move /Library/Python (2.7) nothing seems to happen, I continue to see 2.7 in Terminal
So the question is: how do I remove Python 2.7?
I was happily using Powerline for Vim for a while now until today Homebrew installed a Python upgrade from 3.6.5 to 3.7.0. Since then, Powerline stopped working properly in Vim.
First, when starting Vim, there was an error saying that the powerline module could not be found, which makes sense, I guess, if pip installs packages per Python minor version.
So I installed the powerline-status package again using pip as described in the docs:
pip install powerline-status
Now, the ModuleNotFoundError is gone and I get a working powerline in Vim, but every time I start Vim I get another error saying:
/must>not&exist/foo:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Press ENTER or type command to continue
And I have to press Enter or any other key to continue, which is annoying.
If I remove the following commands for loading Powerline (as described in the docs) from my .vimrc, the DeprecationWarning is gone, but obviously the Powerline is also gone then...
python3 from powerline.vim import setup as powerline_setup
python3 powerline_setup()
python3 del powerline_setup
I searched their GitHub issues, but couldn't find anything related.
Does anyone know a solution for this?
As the error states, the imp modules is deprecated.
As a workaround, change the commands you put into your .vimrc into the following:
silent! python3 from powerline.vim import setup as powerline_setup
python3 powerline_setup()
python3 del powerline_setup
the silent! keyword will suppress the error message.
Source
C:\Users\Other\Desktop\DoA-Tools>python "C:/Users/Other/Desktop/DoA-Tools/convert doa-tools.py" py2exe
running py2exe
1 missing Modules
------------------
? readline imported from cmd, code, pdb
Building 'dist\DoA-Tools.exe'.
error: [Errno 2] No such file or directory: 'C:\\Users\\Other\\Desktop\\Python3.5.2\\lib\\site-packages\\py2exe\\run-py3.5-win32.exe'
I downloaded py2exe (pip install py2exe), and Im using Python 3.5.2. I have a script that I need to be an executable file, but I keep getting the above error when I try python <filename> py2exe. Any ideas? I tried to remove and redownload, but that didn't work
I have installed Anaconda on Windows 7 from the full installer and then created an Anaconda Python 3 environment (py3k) using conda. From my reading of the installation instructions at
http://continuum.io/blog/anaconda-python-3
I type activate py3k at the Anaconda command prompt to obtain that environment and in the Command Prompt window it says
[py3k] C:\users.. etc
which would appear to indicate that I am, in fact, in a Python 3.X environment. However, when I type 'Python' at the prompt I get
Python 2.7.5 | Anaconda ... etc
Am I still in a Python 3.X environment or have I omitted to do something installation-wise or otherwise?
have you tried unset PYTHONPATH, and which python?
If you do that after activating py3, you should be able to the python 3 interpreter. If not, what do you get after executing which python?
I have already check Sympy.org website and the following link. But I didn't find any executable file to install the Sympy on Python 3.3.
http://code.google.com/p/sympy/downloads/list
Sorry, we never got bdist_wininst working in Python 3. You'll need to install from source.