Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'faster_than_requests' #75

Closed
norgecantero opened this issue Jun 3, 2020 · 9 comments
Closed

ModuleNotFoundError: No module named 'faster_than_requests' #75

norgecantero opened this issue Jun 3, 2020 · 9 comments

Comments

@norgecantero
Copy link

norgecantero commented Jun 3, 2020

Python Version 3.8.1
Operating System Debian 9.5
faster_than_requests version 0.9.9

#!/usr/bin/env python3.8

import nimporter
import faster_than_requests

@vspiridonov
Copy link

Same problem with me.
(base) macbook85:test_faster vspirid$ python ts.py
Traceback (most recent call last):
File "ts.py", line 1, in
import faster_than_requests as requests
ModuleNotFoundError: No module named 'faster_than_requests'
(base) macbook85:test_faster vspirid$ python --version
Python 3.7.6
(base) macbook85:test_faster vspirid$ pip list | grep 'faster'
faster-than-requests 0.9.9

@juancarlospaco
Copy link
Owner

Run this on your PC it should tell you what you theoretically have installed on your PC:

Python:

from importlib.metadata import distribution
from pprint import pprint
pprint(distribution("faster-than-requests").files)

Bash

$ sudo updatedb
$ locate faster_than_requests

Paste the results here.

@norgecantero
Copy link
Author

admin@ip-172-26-12-164:~$ locate faster_than_requests
/usr/local/lib/python3.8/site-packages/faster_than_requests-0.9.9-py3.8.egg-info
/usr/local/lib/python3.8/site-packages/faster_than_requests-0.9.9-py3.8.egg-info/PKG-INFO
/usr/local/lib/python3.8/site-packages/faster_than_requests-0.9.9-py3.8.egg-info/SOURCES.txt
/usr/local/lib/python3.8/site-packages/faster_than_requests-0.9.9-py3.8.egg-info/dependency_links.txt
/usr/local/lib/python3.8/site-packages/faster_than_requests-0.9.9-py3.8.egg-info/installed-files.txt
/usr/local/lib/python3.8/site-packages/faster_than_requests-0.9.9-py3.8.egg-info/requires.txt
/usr/local/lib/python3.8/site-packages/faster_than_requests-0.9.9-py3.8.egg-info/top_level.txt

@norgecantero
Copy link
Author

How i can resolve this issue?

@juancarlospaco
Copy link
Owner

We are working on fixing this, is the Python toolchain for installation acting weird,
not our code, but should be possible to workaround it, I am working like right now.

If is really an urgency, you can always Git clone and Compile, is also on the documentation too.
:)

@norgecantero
Copy link
Author

norgecantero commented Jun 4, 2020

Thank you very much for your fast response.
Please let me know when you fix the issue.

@juancarlospaco
Copy link
Owner

Fixed.
Tested on Windows and Linux.

@RobDeepLearning
Copy link

RobDeepLearning commented Jun 10, 2020

Hello Juan Carlos,

I encounter the same issue as above, both on my Linux and Mac machines:
/usr/project/.git/logs/refs/heads/use_faster_than_requests
/usr/project/.git/refs/heads/use_faster_than_requests
/usr/PycharmProjects/Pip_VirtualEnv/lib/python3.7/site-packages/faster_than_requests-0.9.9-py3.7.egg-info
/usr/PycharmProjects/Pip_VirtualEnv/lib/python3.7/site-packages/faster_than_requests-0.9.9-py3.7.egg-info/PKG-INFO
/usr/PycharmProjects/Pip_VirtualEnv/lib/python3.7/site-packages/faster_than_requests-0.9.9-py3.7.egg-info/SOURCES.txt
/usr/PycharmProjects/Pip_VirtualEnv/lib/python3.7/site-packages/faster_than_requests-0.9.9-py3.7.egg-info/dependency_links.txt
/usr/PycharmProjects/Pip_VirtualEnv/lib/python3.7/site-packages/faster_than_requests-0.9.9-py3.7.egg-info/installed-files.txt
/usr/PycharmProjects/Pip_VirtualEnv/lib/python3.7/site-packages/faster_than_requests-0.9.9-py3.7.egg-info/requires.txt
/usr/PycharmProjects/Pip_VirtualEnv/lib/python3.7/site-packages/faster_than_requests-0.9.9-py3.7.egg-info/top_level.txt

@juancarlospaco
Copy link
Owner

juancarlospaco commented Jun 10, 2020

Old version 0.9.9, the latest is 1.0.
Also upgrade your Python to the latest, latest is 3.8.
Also upgrade your pip, probably old too.
Do not install it from inside an IDE, install from pip from terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants