I am trying to upgrade vactorized_graph.py using below command which gives me an error
C:\Python35>python tf_upgrade.py --infile vectorized_graph.py --outfile
vectorized_graph_1.py
Traceback (most recent call last):
File "tf_upgrade.py", line 21, in <module>
from tf0to1.core import Tensorflow0To1Transformer
ImportError: No module named 'tf0to1'
and when I try to install module tf0to1, I get below error.
C:\Python35\Scripts>pip3 install tf0to1
Collecting tf0to1
Could not find a version that satisfies the requirement tf0to1 (from
versions: )
No matching distribution found for tf0to1
(I have already installed module redbaron)
Any suggestion?
Related
When i run a python program, it shows the error message
sam#MSI:~/circuit-training$ python3 -m circuit_training.learning.ppo_reverb_server --root_dir=${ROOT_DIR} --port=${REVERB_PORT}
Traceback (most recent call last):
from circuit_training.learning import ppo_reverb_server_lib
File "/home/sam/circuit-training/circuit_training/learning/ppo_reverb_server_lib.py", line 20, in
import reverb
ModuleNotFoundError: No module named 'reverb'
To solve it, I install the packages by using pip install reverb, and it shows
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: reverb in /home/sam/.local/lib/python3.8/site-packages (2.0.1)
It seems like i already have this package, but when i import reverb, it still saying that ModuleNotFoundError: No module named 'reverb'
Is it because import cannot find the package path?
I installed python-interface package via pip: pip install python-interface with the following output:
Requirement already satisfied: python-interface in c:\users\amar budhiraja\.conda\envs\keras\lib\site-packages (1.6.0)
Requirement already satisfied: six in c:\users\amar budhiraja\.conda\envs\keras\lib\site-packages (from python-interface) (1.12.0)
I then try to call it using the following import statement: from interface import implements, Interface but it results in the following import error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'interface'
Can someone point me to what I might be missing? I did restart my terminal after the installation of the package.
I am trying to install Jarvis ai from https://github.com/sukeesh/Jarvis (I know it is not meant to be installed on windows 10. but I try it anyway)
It said no module named colorama, so I typed pip install python-colorama. Then it said
Could not find a version that satisfies the requirement python-colorama (from versions: )
No matching disribution found for python-colorama
I tried to install it using ubuntu, but different problem occurs: it said
Specify python version(2/3)(Default-3)3
Selected python version 3
Running virtualenv with interpreter /usr/bin/python3
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 22, in <module>
import distutils.spawn
ModuleNotFoundError: No module named 'distutils.spawn'
So its like asking 2 question in one. On windows it is
C:\Users\badarsyah\Jarvis>pip install python-colorama
Collecting python-colorama
Could not find a version that satisfies the requirement python-colorama (from versions: )
No matching distribution found for python-colorama
But on ubuntu 18.04
aiki#LAPTOP-886AEJJG:~/Jarvis$ ./setup.sh
Specify python version(2/3)(Default-3)3
Selected python version 3
Running virtualenv with interpreter /usr/bin/python3
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 22, in <module>
import distutils.spawn
ModuleNotFoundError: No module named 'distutils.spawn'
I hope anyone can help, but please read the GitHub first so you can understand what im trying to do.
I managed to solve this problem by simply update pip with
python -m pip install -U pip
then ran again the install command.
I am trying to install OpenSSL for Python on windows using command line.
I have tried running the below command:
pip install OpenSSL
I got the following error:
Could not find a version that satisfies the requirement openssl (from versions: )
No matching distribution found for openssl
I also tried doing it as below:
pip install pyopenssl
This succeeded but, when I try running my python script which has the below line, it shows an error:
from OpenSSL import crypto, SSL
Error:
Traceback (most recent call last):
File "C:\Users\ajayv\AppData\Local\Programs\Python\Python36-32\Scripts\ENV\Scripts\PDB Latest 1250\Endpoints\X.509.py", line 1, in <module>
import OpenSSL
ModuleNotFoundError: No module named 'OpenSSL'
Am I missing something? Please let me know.
tried the following command in the terminal,
$ pip3 install notify2
Collecting notify2
Using cached notify2-0.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/fr/hgx7qkc14dsglj7724_9m5780000gn/T/pip-build-0aoqwq0g/notify2/setup.py", line 2, in <module>
import notify2
File "/private/var/folders/fr/hgx7qkc14dsglj7724_9m5780000gn/T/pip-build-0aoqwq0g/notify2/notify2.py", line 38, in <module>
import dbus
ImportError: No module named 'dbus'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/fr/hgx7qkc14dsglj7724_9m5780000gn/T/pip-build-0aoqwq0g/notify2/
So, it seems like I need to install dbus module first. So, I tried
$ pip3 install dbus
Collecting dbus
Could not find a version that satisfies the requirement dbus (from versions: )
No matching distribution found for bus
tried which pip
$ which pip
/Library/Frameworks/Python.framework/Versions/3.5/bin/pip
And does anyone know what shall I do?
You need to install dbus using brew install dbus and then pip install dbus-python