I have Anaconda installed in my company laptop, for which I have no administrator rights. (Anaconda3 + Python 3.6.1)
I was trying to install pybind11 Python package using pip in Anaconda command prompt. But I encountered errors for the installation, even if I tried two different types of commands as shown in the screenshots below.
Can someone please help me? Thanks a Ton!
You should go to https://repo.anaconda.com/archive/ and try to install the correct anaconda software with python 3.5
The reason is python is essentially a growing language with tons of libraries and modules . Pyblind11 is not compatible with python versions 3.6.x or 3.7.x .
Related
When I've been opening VS Code lately I've been getting this message saying
The "python3" command requires the command line developer tools. Would you like to install the tools now?
Everytime I click yes and the installer prompts me that it can't be found on the server. Not sure what's going on here. I tried looking at other posts but didn't really see a similar issue. Maybe I missed something.
I'm running the latest version of Python 3 when I check it in the terminal.
On MacOS Catalina 10.15.7 (19H2).
According to your description and feedback, the cause of this problem is that the installation tool pip cannot be used. You can use the following methods to solve it:
You can reinstall pip manually. Install pip.
Usually, python comes with pip, you can also download python again. Install Python.
You can also use the conda command to install what you need when Anaconda is installed. Use conda.
i am new to python. i am using python 3.7 and installed pandas using pip. when i checked for pandas version i found all the dependencies are not installed . so i read somewhere anaconda installation will install all the dependent packages. so i have installed anaconda still when i search for python version it shows that packages are not installed
Pandas version image
i am using visual studio code for programming python
i want to use pandas with full functionality
can someone help me on this installation
thank you
The process I follow:
Install anaconda from this link https://www.anaconda.com/distribution/
Add the Anaconda program directory to your Path environment variable. See here > https://www.quora.com/How-can-I-add-conda-command-into-the-PATH-environment-variable-so-that-it-recognizes-the-instruction-given-that-the-executable-program-is-already-installed
Sometimes you may also need to add ".....Anaconda3\Library\bin" as well.
Open command prompt and type "conda install pandas", to install pandas.
This has always worked for me.
ERROR: Shapely-1.6.4.post2-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
I cannot install Shapely with:
pip install "C:/path.../Shapely-1.6.4.post2-cp36-cp36m-win_amd64.whl
This is what I have tried so far:
* pip install --upgrade pip
* Python version 3.6.4, Windows 64 bit
Should I be installing another version? cp36 and win_amd64 looks correct. Unless amd means the CPU? In that case I have Intel i5. I don't see that version so I don't think that's it...
Any other suggestions on what I am doing wrong?
EDIT: Downloaded wheel from here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
There's a helpful complete guide here to do so. Windows have many problems with python wheel files. If you want my advice, you better don't use Windows for python programming, Linux is perfect for such a thing. You can use Ubuntu which is great and stable.
If you really want to program python in Windows, I suggest you to install and use Anaconda. It's a great tool and helps you with installing python packages and programming in python.
EDIT: I tried the Anaconda way and it works fine. After installing Anaconda I opened Anaconda Powershell Prompt as admin (cause there was permission problem for me in installing Shapely!) and then ran the command conda install shapely. Once installation completed, I ran the command jupyter notebook and in jupyter I was able to use Shapely.
I installed the Shapely in the base environment of conda which is not good. If you want use Anaconda, you better learn how to manage environments in conda.
I'm a little lost on how to get pyodbc installed in my computer.
I have python 3.6.1
The link
http://support.esri.com/en/technical-article/000011656
pointed me to another link
https://github.com/mkleehammer/pyodbc
Which is vague.
I'm used to downloading and running an exe for install.
This link is unclear and says all I have to do is:
"pip install pyodbc"
What exactly do I need to do to get this working?
Since you have not mentioned which OS you are using,
I will assume that you are on windows (as you have mentioned that you are used to install using .exe).
Firstly you need to know what a pip is:
pip is basically a package manager for python packages used to install 3 rd party packages which do not bundle along with the python distribution.
On linux pip comes pre installed also if you are using python version 3.4 onwards or python 2.7.9 you will be having pip pre installed on your system.
All you have to do it to open the command prompt issue the command
pip install package-name(pyobdc here)
it will do the job.
If you do not find pip in your distribution you can refer this link
How do I install pip on Windows?
open cmd in your computer and type
pip install pyobdc
Hello there and welcome to python programming. Basically python comes with its package installer so either you can go to any interpreter that you are using and type pip install pyobdc or use the command prompt in windows and type in pip install pyobdc. This would install your module and just remember to put import pyobdc at the top of the code if you want to use this package. Further information can be found on here
I tried to install GraphLab, but the result became like this:
AttributeError: module 'graphlab' has no attribute 'connect'
My python version is 3.6.1. And I also tried the code:
python -m pip install connect
But it didn't work.
Does anyone know how to solve this problems? Thanks!
This happens when Version in python on system is different from Anaconda. Anaconda Python is mixing in imports from the regular Python on the system. Make sure "which python" points to the right Python (whereever you installed Anaconda Python. And similarly "which pip" Otherwise you will want to run python (or pip) from [where ever you installed Anaconda]/bin/python. You can try the Dato Launcher which tries to set it all up for you.
Also, if you are not using Anaconda, on Graphlab support of installation, they recommended only two option for installation, one on Anaconda and the other on Virtualenv. I personally recommend you to use Anaconda for Graphlab as most of the development support and learning is totally based on Anaconda usage. You may follow this link to install Graphlab and Anaconda Here. I hope this helps.
Note: In installation of Anaconda, Python Version can be different like Python 2.7, but after installation of Anaconda, you can update to latest version of your choice.