so the problem is that pypi.org hase been filtered by iranian government(yes , i know it’s ridiculous!). i tried to install some python modules from Github downloaded files: pip install moduleName but every module has it’s own dependencies and try to connect to pipy.org to reach them. then there will be an error during installation. is there any solution? your
Tag: pip
Question about Packaging in Python with pip
I saw this nice explanation video (link) of packaging using pip and I got two questions: The first one is: I write a code which I want to share with my colleagues, but I do not aim to share it via pypi. Thus, I want to share it internally, so everyone can install it within his/ her environment. I actually
ImportError: cannot import name ‘build_py_2to3’ from ‘distutils.command.build_py’
I tried to install bipwallet through pip but it says there is no ‘build_py_2to3’ in distutils I tried to search in Google but it did not help. I also tried pip install –upgrade distutils thinking maybe it’s just older version. P.S. my python version 3.11 Answer It seems as though bipwallet or one of its dependencies (protobuf-3.0.0a3?) wants to use
Secrets pip not downloading MacOS
the secrets library is not downloading when I try to install the pip. My python is updated to 3.11.0. Wondering if that may be the issue? The last note leads me to believe that it is to do with the library itself. Answer A the error mentions: ImportError: Installing this module requires OpenSSL python bindings, you are probably missing OpenSSL
Pipreqs not including all packages?
I currently have a conda environment tf_gpu and I pip installed pipreqs in it to auto generate requirements.txt Now, in my project folder, I have app.py with the imports : Also, predict uses pandas, scipy, numpy, pickle So, but the requirements.txt generated by pipreqs using pipreqs ./ inside the project folder only gets me the following: Why is python-dotenv not
Problem installing django on a virtual machine with no access to pypi.org
I developed a relatively simple site with Django and I need to deploy it on a Windows VM hosted on a PC on the local network. These are the requirements: requirements.txt Having no access to the internet, I followed these steps: PC With Internet I then moved the tar file on the VM and did the following: The above commands
Issue installing python bcrypt in Cygwin
I’m trying to install paramiko in Cygwin and one of the build dependencies is bcrypt. I have rustc installed and I believe all of the supporting build libraries. Pip is also updated to the latest. I use the following pip command: And I get the following error output: I check my python installation (python.exe) and it is installed at /usr/bin/python.exe.
Error installing opencv-python specific version
Because I had recursion is detected during loading of “cv2” binary extensions issue, I tried pip install opencv-python==4.5.3.56 to be installed. However; I am suffering ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘C:Usersshim.DESKTOP-JDBQQELAppDataLocalTemppip-install-0ff44i7dopencv-python_c8960a5df32f42f599355ae0c4f06897opencv/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/video_capture_xaml.WindowsPhone.vcxproj.filters’ problem. How can I solve this problem? Answer The reason is that the character length of your path
Issues installing python typedb-client on macOs m1 architecture
When I try to install the python typedb-client using pip, I get several errors concerning grpcio: as well as many lines of: This happens both on global installation and in conda environments… Answer After searching for grpcio installation issues on the M1 architecture, the solution for me was to prepend the following to the pip command: in some cases, should
Issues installing ueberzug on macos
I’ve been using the lf file manager lately and wanted to try setting up ueberzug as my previewer. However, getting ueberzug to install and run properly on my mac has been a real issue. Is it perhaps that I’m missing some dependencies, like X11 or some other library? I’d really appreciate it if someone could lend me a hand and