No such file or directory: 'pew' on Travis CI
See original GitHub issuehttps://travis-ci.org/madhavajay/nd889/builds/251710323
pipenv used to work on Travis CI, but now its failing with error:
Creating a virtualenv for this project...
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.6.1/bin/pipenv", line 11, in <module>
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1043, in invoke
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/cli.py", line 779, in cli
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/cli.py", line 161, in ensure_project
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/cli.py", line 154, in ensure_virtualenv
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/cli.py", line 140, in ensure_virtualenv
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/cli.py", line 394, in do_create_virtualenv
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 258, in run
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/delegator.py", line 150, in run
File "/home/travis/virtualenv/python3.6.1/lib/python3.6/site-packages/pipenv/vendor/pexpect/popen_spawn.py", line 45, in __init__
File "/opt/python/3.6.1/lib/python3.6/subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "/opt/python/3.6.1/lib/python3.6/subprocess.py", line 1326, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'pew'
The command "pipenv --three" failed and exited with 1 during .
Your build has been stopped.
I tried adding pip install pew, but it didn’t fix it.
My file is .travis.yml file is
language: python
python:
- 3.6
install:
- pip install pipenv pew
- pipenv --three
- pipenv install git+https://github.com/hmmlearn/hmmlearn.git
- pipenv install
script:
- pipenv run pytest
- pipenv run mypy 1_sudoku --ignore-missing-imports
My Pipfile is
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
[packages]
mypy = "*"
pytest = "*"
pylint = "*"
termcolor = "*"
jupyter = "*"
numpy = "*"
matplotlib = "*"
scipy = "*"
scikit-learn = "*"
pandas = "*"
arpa = "*"
sympy = "*"
h5py = "*"
requests = "*"
opencv-python = "*"
tqdm = "*"
tensorflow-gpu = "*"
Keras = "*"
Pillow = "*"
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Developers - No such file or directory: 'pew' on Travis CI -
pipenv used to work on Travis CI, but now its failing with error: Creating a virtualenv for this project... Traceback (most recent call...
Read more >"No such file or directory" on script - Travis CI Community
Hi there, I have the following repository that I'm trying to build on Travis, It has a “script” folder that contains a “cibuild”...
Read more >travis-ci : error during the build (No such file or directory)
OK, I found the solution. I had to add the search.json into the jekyll site.keep_files . First to do is to create a...
Read more >Common Build Problems - Travis CI Docs
Another reason could be that the repo setting Clone or import is set to OFF. In this case, no information from the repository...
Read more >[Example code]-How to fix sound playing over itself in pygame
pew = pygame.mixer.Sound("YOUR PEW SOUND FILE HERE") pew.play() ... How to fix Error: [Errno 2] No such file or directory: 'C:\\Program ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great, glad you got things working @madhavajay! We’ll look into handling this better in a future release.
@madhavajay, I believe a travis.yml like this should give you what you’re looking for.