Comments (4)
@jafingerhut there is a PR open to address this: #193
The issue is caused by this line:
Line 25 in bb28a88
While the syntax is correct, support for the
file:
attribute in install_requires
was added recently to setuptools. It requires a toolchain more recent than what you'd get by default in Ubuntu 20.04 or even Ubuntu 22.04.
I am waiting for the contributor to address my comment about updating the README before merging the PR.
I would still recommend using pip install .
to install ptf, but it will not help in this case, unless you install a recent-enough version of pip (more recent than what you would get by installing python3-pip
):
ptf/.github/workflows/build.yml
Lines 36 to 39 in bb28a88
from ptf.
Lots of more details here: https://docs.google.com/spreadsheets/d/12qip0oKFVK1vPXdC7-VtnRYit-BxKdfsZJPJrDB_usI/edit?usp=sharing
As of the 2023-Jun-19 version of this ptf repo, sudo pip install .
installs successfully on several versions of Ubuntu and Fedora, but strangely it fails on Ubuntu 22.04 (but succeeds on Ubuntu 20.04 and 23.04). Ubuntu 22.04 seems to be the odd one out for some reason.
from ptf.
@jafingerhut your doc is not public
We are still waiting on #197 in order to fix this issue
from ptf.
Sorry about that. Should be public to anyone with the link now, and I've updated the link in the comment above in case it changed as a result.
from ptf.
Related Issues (20)
- Renew Travis licencse HOT 4
- Documentation regading Python 3
- `format_failure` throws an error because of unexpanded tuple
- Can PTF be distributed by pypi.org (pip)? HOT 5
- Field mrtime in IGMP packet has different name in Scapy: mrcode HOT 4
- Mask has problem with headers with conditional fields (like VXLAN) HOT 1
- Python module imp is deprecated in favor of importlib HOT 3
- Unify test packet payload and allow for manual control HOT 1
- Enhance test results logging HOT 1
- "TypeError: ord() expected string of length 1, but int found" thrown in get_mac function in netutils.py
- dhcp_discover_packet fills incorrect client mac address in Discover packet
- Openflow license details throws 404 HOT 1
- PI nanomsg hangs if the corresponding switch crashes HOT 2
- how can i solve this problem HOT 1
- `ptf --version` should return the correct value
- Fix DeprecationWarning and replace `imp` with `importlib` HOT 1
- Drop support for Python 2.7 HOT 2
- Remove debian packaging rules
- Suggestions for eventually updating where Python3 packages are installed via pip? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ptf.