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.

Install on ubuntu 16.04

See original GitHub issue

Hello, thank you for doing great job!

Testing on xubuntu 16.04, however shows that .deb pkg required for virtualenv:

app1@jm:~/prj-ex$ hatch env dk
Traceback (most recent call last):
  File "/usr/local/bin/hatch", line 11, in <module>
    sys.exit(hatch())
  File "/home/app1/.local/lib/python3.5/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/app1/.local/lib/python3.5/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/app1/.local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/app1/.local/lib/python3.5/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/app1/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/hatch/cli.py", line 1194, in env
    create_venv(venv_dir, pypath, verbose=verbose)
  File "/usr/local/lib/python3.5/dist-packages/hatch/venv.py", line 69, in create_venv
    subprocess.run(command, shell=NEED_SUBPROCESS_SHELL)
  File "/usr/lib/python3.5/subprocess.py", line 693, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'virtualenv'
app1@jm:~/prj-ex$ virtualenv
The program 'virtualenv' is currently not installed. You can install it by typing:
sudo apt install virtualenv
app1@jm:~/prj-ex$

What is a good way to add this depency to setup.py?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
skudasovcommented, Sep 8, 2017

It’s working with installed package, no doubt. But if this tool gonna replace all the things needed in python, maybe understandable exception gonna help, for users that doesn’t know anythyng about python tools, or maybe it’s just a waste of time.

0reactions
ofekcommented, Sep 10, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Ubuntu Server 16.04
Install Ubuntu Server 16.04 · 1. Overview · 2. Requirements · 3. Boot from DVD · 4. Boot from USB flash drive ·...
Read more >
How to Install Ubuntu Linux Server 16.04 LTS - TechOnTheNet
To begin the installation, insert the installation media into your computer and set the computer to boot from it. When the computer has...
Read more >
Install Ubuntu 16.04 - With Screenshots - ITzGeek
You can either choose to install updates and other third-party software while installing Ubuntu 16.04 or leave as it is since it requires...
Read more >
Fresh Ubuntu 16.04 LTS Installation and Review - Unixmen
Prerequisite to Install Ubuntu 16.04 · 2 GHZ dual core Processor · 2 GB RAM · 25 GB Free Hard Disk Space ·...
Read more >
Steps to Install Ubuntu 16.04 LTS (Xenial Xerus) with ...
Step:1 Download Ubuntu 16.04 LTS ISO file. · Step:2 Select 'Install Ubuntu' to start installation. · Step:3 · Step:4 Choose 'something else' option ......
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