You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/juantascon/tvcmd/; cd tvcmd
./setup.py install > /dev/null
package init file 'tvcmd/lib/__init__.py' not found (or not a regular file)
package init file 'tvcmd/sources/__init__.py' not found (or not a regular file)
zip_safe flag not set; analyzing archive contents...
When I try to launch tvcmd after such install:
Traceback (most recent call last):
File "/home/user/.virtualenvs/tvcmd/bin/tvcmd", line 4, in <module>
__import__('pkg_resources').run_script('tvcmd==1.2.1', 'tvcmd')
File "/home/user/.virtualenvs/tvcmd/lib/python3.5/site-packages/pkg_resources/__init__.py", line 742, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/user/.virtualenvs/tvcmd/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1504, in run_script
exec(script_code, namespace, namespace)
File "/home/user/.virtualenvs/tvcmd/lib/python3.5/site-packages/tvcmd-1.2.1-py3.5.egg/EGG-INFO/scripts/tvcmd", line 72, in <module>
File "/home/user/.virtualenvs/tvcmd/lib/python3.5/site-packages/tvcmd-1.2.1-py3.5.egg/EGG-INFO/scripts/tvcmd", line 28, in main
File "/home/user/.virtualenvs/tvcmd/lib/python3.5/site-packages/tvcmd-1.2.1-py3.5.egg/tvcmd/shell.py", line 2, in <module>
File "/home/user/.virtualenvs/tvcmd/lib/python3.5/site-packages/tvcmd-1.2.1-py3.5.egg/tvcmd/commands.py", line 2, in <module>
File "/home/user/.virtualenvs/tvcmd/lib/python3.5/site-packages/tvcmd-1.2.1-py3.5.egg/tvcmd/manager.py", line 2, in <module>
ImportError: No module named 'tvcmd.sources'
tvcmd installs incorrectly with
setup.py
Steps:
mkvirtualenv -p python3 tvcmd
git clone https://github.com/juantascon/tvcmd/; cd tvcmd
./setup.py install > /dev/null
When I try to launch
tvcmd
after such install:When I create the blank missing files
and launch
./setup.py install
again,tvcmd
is working properly.The text was updated successfully, but these errors were encountered: