Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
My python version is python3.6.5. I want to install pycrypto,but there is some errors to install it.So did anyone know how to solve the problen. Thank you very much.
You can use pycryptodome instead.
PyCryptodome is a fork and is even importable with the same name.
PyCryptodome is a self-contained Python package of low-level
cryptographic primitives.
It supports Python 2.6 or newer, all Python 3 versions and PyPy.
The installation procedure depends on the package you want the library
to be in. PyCryptodome can be used as:
an almost drop-in replacement for the old PyCrypto library.
[...]
PyCryptodome is a fork of PyCrypto.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 11 months ago.
Improve this question
I'm trying to install pycrypto package, but I got still getting an error i don't know why ?
i have python 3.9, is there any alternatives ?
As you can see bellow, this is the error that I got :
Collecting pycrypto Using cached https://files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz
Installing collected packages: pycrypto
Running setup.py install for pycrypto ... error
Thank you
pycrypto doesn't work with python3, you can use instead pycryptodome :
pip install pycryptodome
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
I installed pywhatkit, and it's stored along with other packages in my python3.8 file. However, I am not able to import it to VS code or any other IDEs. I tried installing tkinter. But I facing the same issue again. What should I do ?
Sometimes VS Code does this. You should install a library, after that just restart VS Code and the problem should be solved.
However, if the problem still occurs, it will be due to the Python version.
You are using Python 3, the issue is most likely that when you installed pywhatkit and tkinter you used the pip install library command, which will only install them for Python 2. To install the libraries for Python 3 just use the pip3 install library command in place of pip.
Make sure you have selected the right python interpreter. The Status Bar always shows the current interpreter:
Inspect whether you can find the packages you want to import in this environment.
Inspect where the packages you have installed through pip: pip show xxx.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
Using machine learning models always come with some dependicies like framework or library verison conflicts. And pip verison as getting up, installing some libraries could be suck. What is your pip version? Do you upgrade it always?
It is quite ok if the version is not updated to the latest on every single release.
You will hardly get any problems even if you update the pip every 3 to 4 months.
However I recommend that you should update the pip every month or at least when a major update comes.
For Linux users, If you have a habit of updating your system every month than you should not worry about this explicitly.
first of all, there is no dependency management with pip. Most people use conda as a package manager for python because it automatically checks for dependency compatibility. If you use pip as a package manager you have to do all that yourself which is difficult if not impossible unless you have a ton of sys-admin experience. If you are running into dependency issues I strongly recommend downloading anaconda and using conda package manager. It will make your life a lot easier. cheers.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
This is the error that i got
I don't even know what went wrong. I'm new to programming and I need this package (pymIprog) for a college assignement
You are doing a pip install in a Python 3.9 environment. I can't get that to work either: it fails trying to install swiglpk. But it does work in Python 3.8 and Python 3.7.
I can't tell you how to fix it: only the packagers of swiglpk can do that. But to get going, you could download Python 3.8, which will coexist nicely with Python 3.9, and work from there.
Python 3.9 only came out quite recently and some packagers take a while to catch up with new releases.
To be sure of running the right version of pip, begin by doing pip --version and if it is not the version you expect, run your pip command from C:\Program Files\Python38\Scripts.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am trying to use a python module for using Mega and it requires me to have pycrypto installed. I tried using both pip and easy_install to install it but I have had no luck. With pip I am getting an error like this post. I followed the link from the answer in that post, but I really have no idea where to go from there. I am using Windows 7.
Pycripto is C-based extension. You can compile PyCrypto on Windows, here is a step-by-step guide.
Alternatively, you can install compiled binaries.
Here is extensive source of compiled python packages for Windows:
Unofficial Windows Binaries for Python Extension Packages