question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation with pip3

See original GitHub issue

Hi,

I installed kafka-influxdb within my own VMs with python2 successfully. But then, when I try to install in another environment, I directly downloaded the master branch, unzip, and try to run “pip3 install kafka-influxdb”, it tells:

[root@dhcp-10-173-66-167 kafka-influxdb-master]# pip3 install kafka_influxdb Collecting kafka_influxdb Could not find a version that satisfies the requirement kafka_influxdb (from versions: ) No matching distribution found for kafka_influxdb

I checked with my pip3 version: [root@dhcp-10-173-66-167 kafka_influxdb]# pip3 install --upgrade pip Requirement already up-to-date: pip in /usr/local/lib/python3.6/site-packages You have mail in /var/spool/mail/root [root@dhcp-10-173-66-167 kafka_influxdb]# pip3 -V pip 9.0.1 from /usr/local/lib/python3.6/site-packages (python 3.6)

And I’m running on CentOS Linux release 7.4.1708 and Linux 3.10.0-693.11.6.el7.x86_64.

Can you help me out of this? Thanks in advance!

Shawn.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ShawnTheCodercommented, Aug 7, 2018

Hi,

We’ve figured out the pip problem with network proxy. Now I’m able to use pip install kafka_influxdb. Yeah!

Thanks for your help.

0reactions
mrecommented, Aug 1, 2018

Yup, I can see some progress. 🤠 Looks like you’re doing the installation on this server entirely offline, so all packages have to be available from your local machine.

On a machine with internet:

mkdir kafka_influxdb
cd kafka_influxdb
pip3 download kafka_influxdb

This will create a folder that you can zip and copy to the server. There, you should be able to unzip it and install again:

pip3 install --no-index --find-links /path/to/kafka_influxdb/ kafka_influxdb

I haven’t tested that, though but it should roughly be what you need to do. Reference: https://stackoverflow.com/a/14447068/270334

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install and use Pip3 - ActiveState
Open the Control Panel and navigate to System. · Click on Advanced system settings in the upper left panel. · Click on Environment...
Read more >
What Is PIP And How To Install Pip3? (The Easy Way!)
How to install pip3 · Download the 64-bit installer for Python 3.6.5 by clicking here. · When prompted, click the checkbox next to...
Read more >
Installing Python Modules — Python 3.11.1 documentation
pip is the preferred installer program. Starting with Python 3.4, it is included by default with the Python binary installers.
Read more >
Using pip3 to install Python3 modules
To use pip3, first install a custom version of Python 3. pip3 is then installed with it. Installing a custom version of Python...
Read more >
Installation - pip documentation v22.3.1
If your Python environment does not have pip installed, there are 2 mechanisms to install pip supported directly by pip's maintainers: ensurepip. get-pip.py ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found